Documentation ¶
Index ¶
- func PossibleValuesForAction() []string
- func PossibleValuesForImmutabilityPolicyName() []string
- func PossibleValuesForImmutabilityPolicyState() []string
- func PossibleValuesForImmutabilityPolicyUpdateType() []string
- func PossibleValuesForLeaseDuration() []string
- func PossibleValuesForLeaseState() []string
- func PossibleValuesForLeaseStatus() []string
- func PossibleValuesForListContainersInclude() []string
- func PossibleValuesForMigrationState() []string
- func PossibleValuesForPublicAccess() []string
- func ValidateContainerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateImmutabilityPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type Action
- type BlobContainer
- type BlobContainersClient
- func (c BlobContainersClient) ClearLegalHold(ctx context.Context, id ContainerId, input LegalHold) (result ClearLegalHoldOperationResponse, err error)
- func (c BlobContainersClient) Create(ctx context.Context, id ContainerId, input BlobContainer) (result CreateOperationResponse, err error)
- func (c BlobContainersClient) CreateOrUpdateImmutabilityPolicy(ctx context.Context, id ImmutabilityPolicyId, input ImmutabilityPolicy, ...) (result CreateOrUpdateImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) Delete(ctx context.Context, id ContainerId) (result DeleteOperationResponse, err error)
- func (c BlobContainersClient) DeleteImmutabilityPolicy(ctx context.Context, id ImmutabilityPolicyId, ...) (result DeleteImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) ExtendImmutabilityPolicy(ctx context.Context, id ContainerId, input ImmutabilityPolicy, ...) (result ExtendImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) Get(ctx context.Context, id ContainerId) (result GetOperationResponse, err error)
- func (c BlobContainersClient) GetImmutabilityPolicy(ctx context.Context, id ImmutabilityPolicyId, ...) (result GetImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) Lease(ctx context.Context, id ContainerId, input LeaseContainerRequest) (result LeaseOperationResponse, err error)
- func (c BlobContainersClient) List(ctx context.Context, id StorageAccountId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c BlobContainersClient) ListComplete(ctx context.Context, id StorageAccountId, options ListOperationOptions) (ListCompleteResult, error)
- func (c BlobContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c BlobContainersClient) LockImmutabilityPolicy(ctx context.Context, id ContainerId, ...) (result LockImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) ObjectLevelWorm(ctx context.Context, id ContainerId) (result ObjectLevelWormOperationResponse, err error)
- func (c BlobContainersClient) ObjectLevelWormThenPoll(ctx context.Context, id ContainerId) error
- func (c BlobContainersClient) SetLegalHold(ctx context.Context, id ContainerId, input LegalHold) (result SetLegalHoldOperationResponse, err error)
- func (c BlobContainersClient) Update(ctx context.Context, id ContainerId, input BlobContainer) (result UpdateOperationResponse, err error)
- type ClearLegalHoldOperationResponse
- type ContainerId
- type ContainerProperties
- type CreateOperationResponse
- type CreateOrUpdateImmutabilityPolicyOperationOptions
- type CreateOrUpdateImmutabilityPolicyOperationResponse
- type DeleteImmutabilityPolicyOperationOptions
- type DeleteImmutabilityPolicyOperationResponse
- type DeleteOperationResponse
- type ExtendImmutabilityPolicyOperationOptions
- type ExtendImmutabilityPolicyOperationResponse
- type GetImmutabilityPolicyOperationOptions
- type GetImmutabilityPolicyOperationResponse
- type GetOperationResponse
- type ImmutabilityPolicy
- type ImmutabilityPolicyId
- type ImmutabilityPolicyName
- type ImmutabilityPolicyProperties
- type ImmutabilityPolicyProperty
- type ImmutabilityPolicyState
- type ImmutabilityPolicyUpdateType
- type ImmutableStorageWithVersioning
- type LeaseContainerRequest
- type LeaseContainerResponse
- type LeaseDuration
- type LeaseOperationResponse
- type LeaseState
- type LeaseStatus
- type LegalHold
- type LegalHoldProperties
- type ListCompleteResult
- type ListContainerItem
- type ListContainerItemOperationPredicate
- type ListContainersInclude
- type ListOperationOptions
- type ListOperationResponse
- type LockImmutabilityPolicyOperationOptions
- type LockImmutabilityPolicyOperationResponse
- type MigrationState
- type ObjectLevelWormOperationResponse
- type PublicAccess
- type SetLegalHoldOperationResponse
- type StorageAccountId
- type TagProperty
- type UpdateHistoryProperty
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAction ¶
func PossibleValuesForAction() []string
func PossibleValuesForImmutabilityPolicyName ¶
func PossibleValuesForImmutabilityPolicyName() []string
func PossibleValuesForImmutabilityPolicyState ¶
func PossibleValuesForImmutabilityPolicyState() []string
func PossibleValuesForImmutabilityPolicyUpdateType ¶
func PossibleValuesForImmutabilityPolicyUpdateType() []string
func PossibleValuesForLeaseDuration ¶
func PossibleValuesForLeaseDuration() []string
func PossibleValuesForLeaseState ¶
func PossibleValuesForLeaseState() []string
func PossibleValuesForLeaseStatus ¶
func PossibleValuesForLeaseStatus() []string
func PossibleValuesForListContainersInclude ¶
func PossibleValuesForListContainersInclude() []string
func PossibleValuesForMigrationState ¶
func PossibleValuesForMigrationState() []string
func PossibleValuesForPublicAccess ¶
func PossibleValuesForPublicAccess() []string
func ValidateContainerID ¶
ValidateContainerID checks that 'input' can be parsed as a Container ID
func ValidateImmutabilityPolicyID ¶
func ValidateImmutabilityPolicyID(input interface{}, key string) (warnings []string, errors []error)
ValidateImmutabilityPolicyID checks that 'input' can be parsed as a Immutability Policy ID
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
Types ¶
type BlobContainer ¶
type BlobContainer struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ContainerProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type BlobContainersClient ¶
type BlobContainersClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewBlobContainersClientWithBaseURI ¶
func NewBlobContainersClientWithBaseURI(endpoint string) BlobContainersClient
func (BlobContainersClient) ClearLegalHold ¶
func (c BlobContainersClient) ClearLegalHold(ctx context.Context, id ContainerId, input LegalHold) (result ClearLegalHoldOperationResponse, err error)
ClearLegalHold ...
func (BlobContainersClient) Create ¶
func (c BlobContainersClient) Create(ctx context.Context, id ContainerId, input BlobContainer) (result CreateOperationResponse, err error)
Create ...
func (BlobContainersClient) CreateOrUpdateImmutabilityPolicy ¶
func (c BlobContainersClient) CreateOrUpdateImmutabilityPolicy(ctx context.Context, id ImmutabilityPolicyId, input ImmutabilityPolicy, options CreateOrUpdateImmutabilityPolicyOperationOptions) (result CreateOrUpdateImmutabilityPolicyOperationResponse, err error)
CreateOrUpdateImmutabilityPolicy ...
func (BlobContainersClient) Delete ¶
func (c BlobContainersClient) Delete(ctx context.Context, id ContainerId) (result DeleteOperationResponse, err error)
Delete ...
func (BlobContainersClient) DeleteImmutabilityPolicy ¶
func (c BlobContainersClient) DeleteImmutabilityPolicy(ctx context.Context, id ImmutabilityPolicyId, options DeleteImmutabilityPolicyOperationOptions) (result DeleteImmutabilityPolicyOperationResponse, err error)
DeleteImmutabilityPolicy ...
func (BlobContainersClient) ExtendImmutabilityPolicy ¶
func (c BlobContainersClient) ExtendImmutabilityPolicy(ctx context.Context, id ContainerId, input ImmutabilityPolicy, options ExtendImmutabilityPolicyOperationOptions) (result ExtendImmutabilityPolicyOperationResponse, err error)
ExtendImmutabilityPolicy ...
func (BlobContainersClient) Get ¶
func (c BlobContainersClient) Get(ctx context.Context, id ContainerId) (result GetOperationResponse, err error)
Get ...
func (BlobContainersClient) GetImmutabilityPolicy ¶
func (c BlobContainersClient) GetImmutabilityPolicy(ctx context.Context, id ImmutabilityPolicyId, options GetImmutabilityPolicyOperationOptions) (result GetImmutabilityPolicyOperationResponse, err error)
GetImmutabilityPolicy ...
func (BlobContainersClient) Lease ¶
func (c BlobContainersClient) Lease(ctx context.Context, id ContainerId, input LeaseContainerRequest) (result LeaseOperationResponse, err error)
Lease ...
func (BlobContainersClient) List ¶
func (c BlobContainersClient) List(ctx context.Context, id StorageAccountId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (BlobContainersClient) ListComplete ¶
func (c BlobContainersClient) ListComplete(ctx context.Context, id StorageAccountId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (BlobContainersClient) ListCompleteMatchingPredicate ¶
func (c BlobContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, options ListOperationOptions, predicate ListContainerItemOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (BlobContainersClient) LockImmutabilityPolicy ¶
func (c BlobContainersClient) LockImmutabilityPolicy(ctx context.Context, id ContainerId, options LockImmutabilityPolicyOperationOptions) (result LockImmutabilityPolicyOperationResponse, err error)
LockImmutabilityPolicy ...
func (BlobContainersClient) ObjectLevelWorm ¶
func (c BlobContainersClient) ObjectLevelWorm(ctx context.Context, id ContainerId) (result ObjectLevelWormOperationResponse, err error)
ObjectLevelWorm ...
func (BlobContainersClient) ObjectLevelWormThenPoll ¶
func (c BlobContainersClient) ObjectLevelWormThenPoll(ctx context.Context, id ContainerId) error
ObjectLevelWormThenPoll performs ObjectLevelWorm then polls until it's completed
func (BlobContainersClient) SetLegalHold ¶
func (c BlobContainersClient) SetLegalHold(ctx context.Context, id ContainerId, input LegalHold) (result SetLegalHoldOperationResponse, err error)
SetLegalHold ...
func (BlobContainersClient) Update ¶
func (c BlobContainersClient) Update(ctx context.Context, id ContainerId, input BlobContainer) (result UpdateOperationResponse, err error)
Update ...
type ContainerId ¶
type ContainerId struct { SubscriptionId string ResourceGroupName string AccountName string ContainerName string }
ContainerId is a struct representing the Resource ID for a Container
func NewContainerID ¶
func NewContainerID(subscriptionId string, resourceGroupName string, accountName string, containerName string) ContainerId
NewContainerID returns a new ContainerId struct
func ParseContainerID ¶
func ParseContainerID(input string) (*ContainerId, error)
ParseContainerID parses 'input' into a ContainerId
func ParseContainerIDInsensitively ¶
func ParseContainerIDInsensitively(input string) (*ContainerId, error)
ParseContainerIDInsensitively parses 'input' case-insensitively into a ContainerId note: this method should only be used for API response data and not user input
func (ContainerId) Segments ¶
func (id ContainerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Container ID
func (ContainerId) String ¶
func (id ContainerId) String() string
String returns a human-readable description of this Container ID
type ContainerProperties ¶
type ContainerProperties struct { DefaultEncryptionScope *string `json:"defaultEncryptionScope,omitempty"` Deleted *bool `json:"deleted,omitempty"` DeletedTime *string `json:"deletedTime,omitempty"` DenyEncryptionScopeOverride *bool `json:"denyEncryptionScopeOverride,omitempty"` HasImmutabilityPolicy *bool `json:"hasImmutabilityPolicy,omitempty"` HasLegalHold *bool `json:"hasLegalHold,omitempty"` ImmutabilityPolicy *ImmutabilityPolicyProperties `json:"immutabilityPolicy,omitempty"` ImmutableStorageWithVersioning *ImmutableStorageWithVersioning `json:"immutableStorageWithVersioning,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` LeaseDuration *LeaseDuration `json:"leaseDuration,omitempty"` LeaseState *LeaseState `json:"leaseState,omitempty"` LeaseStatus *LeaseStatus `json:"leaseStatus,omitempty"` LegalHold *LegalHoldProperties `json:"legalHold,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` PublicAccess *PublicAccess `json:"publicAccess,omitempty"` RemainingRetentionDays *int64 `json:"remainingRetentionDays,omitempty"` Version *string `json:"version,omitempty"` }
func (*ContainerProperties) GetDeletedTimeAsTime ¶
func (o *ContainerProperties) GetDeletedTimeAsTime() (*time.Time, error)
func (*ContainerProperties) GetLastModifiedTimeAsTime ¶
func (o *ContainerProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*ContainerProperties) SetDeletedTimeAsTime ¶
func (o *ContainerProperties) SetDeletedTimeAsTime(input time.Time)
func (*ContainerProperties) SetLastModifiedTimeAsTime ¶
func (o *ContainerProperties) SetLastModifiedTimeAsTime(input time.Time)
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *BlobContainer }
type CreateOrUpdateImmutabilityPolicyOperationOptions ¶
type CreateOrUpdateImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateImmutabilityPolicyOperationOptions ¶
func DefaultCreateOrUpdateImmutabilityPolicyOperationOptions() CreateOrUpdateImmutabilityPolicyOperationOptions
type CreateOrUpdateImmutabilityPolicyOperationResponse ¶
type CreateOrUpdateImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response Model *ImmutabilityPolicy }
type DeleteImmutabilityPolicyOperationOptions ¶
type DeleteImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultDeleteImmutabilityPolicyOperationOptions ¶
func DefaultDeleteImmutabilityPolicyOperationOptions() DeleteImmutabilityPolicyOperationOptions
type DeleteImmutabilityPolicyOperationResponse ¶
type DeleteImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response Model *ImmutabilityPolicy }
type DeleteOperationResponse ¶
type ExtendImmutabilityPolicyOperationOptions ¶
type ExtendImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultExtendImmutabilityPolicyOperationOptions ¶
func DefaultExtendImmutabilityPolicyOperationOptions() ExtendImmutabilityPolicyOperationOptions
type ExtendImmutabilityPolicyOperationResponse ¶
type ExtendImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response Model *ImmutabilityPolicy }
type GetImmutabilityPolicyOperationOptions ¶
type GetImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultGetImmutabilityPolicyOperationOptions ¶
func DefaultGetImmutabilityPolicyOperationOptions() GetImmutabilityPolicyOperationOptions
type GetImmutabilityPolicyOperationResponse ¶
type GetImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response Model *ImmutabilityPolicy }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *BlobContainer }
type ImmutabilityPolicy ¶
type ImmutabilityPolicy struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ImmutabilityPolicyProperty `json:"properties"` Type *string `json:"type,omitempty"` }
type ImmutabilityPolicyId ¶
type ImmutabilityPolicyId struct { SubscriptionId string ResourceGroupName string AccountName string ContainerName string ImmutabilityPolicyName ImmutabilityPolicyName }
ImmutabilityPolicyId is a struct representing the Resource ID for a Immutability Policy
func NewImmutabilityPolicyID ¶
func NewImmutabilityPolicyID(subscriptionId string, resourceGroupName string, accountName string, containerName string, immutabilityPolicyName ImmutabilityPolicyName) ImmutabilityPolicyId
NewImmutabilityPolicyID returns a new ImmutabilityPolicyId struct
func ParseImmutabilityPolicyID ¶
func ParseImmutabilityPolicyID(input string) (*ImmutabilityPolicyId, error)
ParseImmutabilityPolicyID parses 'input' into a ImmutabilityPolicyId
func ParseImmutabilityPolicyIDInsensitively ¶
func ParseImmutabilityPolicyIDInsensitively(input string) (*ImmutabilityPolicyId, error)
ParseImmutabilityPolicyIDInsensitively parses 'input' case-insensitively into a ImmutabilityPolicyId note: this method should only be used for API response data and not user input
func (ImmutabilityPolicyId) ID ¶
func (id ImmutabilityPolicyId) ID() string
ID returns the formatted Immutability Policy ID
func (ImmutabilityPolicyId) Segments ¶
func (id ImmutabilityPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Immutability Policy ID
func (ImmutabilityPolicyId) String ¶
func (id ImmutabilityPolicyId) String() string
String returns a human-readable description of this Immutability Policy ID
type ImmutabilityPolicyName ¶
type ImmutabilityPolicyName string
const (
ImmutabilityPolicyNameDefault ImmutabilityPolicyName = "default"
)
type ImmutabilityPolicyProperties ¶
type ImmutabilityPolicyProperties struct { Etag *string `json:"etag,omitempty"` Properties *ImmutabilityPolicyProperty `json:"properties,omitempty"` UpdateHistory *[]UpdateHistoryProperty `json:"updateHistory,omitempty"` }
type ImmutabilityPolicyProperty ¶
type ImmutabilityPolicyProperty struct { AllowProtectedAppendWrites *bool `json:"allowProtectedAppendWrites,omitempty"` ImmutabilityPeriodSinceCreationInDays *int64 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` State *ImmutabilityPolicyState `json:"state,omitempty"` }
type ImmutabilityPolicyState ¶
type ImmutabilityPolicyState string
const ( ImmutabilityPolicyStateLocked ImmutabilityPolicyState = "Locked" ImmutabilityPolicyStateUnlocked ImmutabilityPolicyState = "Unlocked" )
type ImmutabilityPolicyUpdateType ¶
type ImmutabilityPolicyUpdateType string
const ( ImmutabilityPolicyUpdateTypeExtend ImmutabilityPolicyUpdateType = "extend" ImmutabilityPolicyUpdateTypeLock ImmutabilityPolicyUpdateType = "lock" ImmutabilityPolicyUpdateTypePut ImmutabilityPolicyUpdateType = "put" )
type ImmutableStorageWithVersioning ¶
type ImmutableStorageWithVersioning struct { Enabled *bool `json:"enabled,omitempty"` MigrationState *MigrationState `json:"migrationState,omitempty"` TimeStamp *string `json:"timeStamp,omitempty"` }
func (*ImmutableStorageWithVersioning) GetTimeStampAsTime ¶
func (o *ImmutableStorageWithVersioning) GetTimeStampAsTime() (*time.Time, error)
func (*ImmutableStorageWithVersioning) SetTimeStampAsTime ¶
func (o *ImmutableStorageWithVersioning) SetTimeStampAsTime(input time.Time)
type LeaseContainerRequest ¶
type LeaseContainerResponse ¶
type LeaseDuration ¶
type LeaseDuration string
const ( LeaseDurationFixed LeaseDuration = "Fixed" LeaseDurationInfinite LeaseDuration = "Infinite" )
type LeaseOperationResponse ¶
type LeaseOperationResponse struct { HttpResponse *http.Response Model *LeaseContainerResponse }
type LeaseState ¶
type LeaseState string
const ( LeaseStateAvailable LeaseState = "Available" LeaseStateBreaking LeaseState = "Breaking" LeaseStateBroken LeaseState = "Broken" LeaseStateExpired LeaseState = "Expired" LeaseStateLeased LeaseState = "Leased" )
type LeaseStatus ¶
type LeaseStatus string
const ( LeaseStatusLocked LeaseStatus = "Locked" LeaseStatusUnlocked LeaseStatus = "Unlocked" )
type LegalHoldProperties ¶
type LegalHoldProperties struct { HasLegalHold *bool `json:"hasLegalHold,omitempty"` Tags *[]TagProperty `json:"tags,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ListContainerItem
}
type ListContainerItem ¶
type ListContainerItem struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ContainerProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ListContainerItemOperationPredicate ¶
type ListContainerItemOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (ListContainerItemOperationPredicate) Matches ¶
func (p ListContainerItemOperationPredicate) Matches(input ListContainerItem) bool
type ListContainersInclude ¶
type ListContainersInclude string
const (
ListContainersIncludeDeleted ListContainersInclude = "deleted"
)
type ListOperationOptions ¶
type ListOperationOptions struct { Filter *string Include *ListContainersInclude Maxpagesize *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ListContainerItem // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type LockImmutabilityPolicyOperationOptions ¶
type LockImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultLockImmutabilityPolicyOperationOptions ¶
func DefaultLockImmutabilityPolicyOperationOptions() LockImmutabilityPolicyOperationOptions
type LockImmutabilityPolicyOperationResponse ¶
type LockImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response Model *ImmutabilityPolicy }
type MigrationState ¶
type MigrationState string
const ( MigrationStateCompleted MigrationState = "Completed" MigrationStateInProgress MigrationState = "InProgress" )
type ObjectLevelWormOperationResponse ¶
type ObjectLevelWormOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type PublicAccess ¶
type PublicAccess string
const ( PublicAccessBlob PublicAccess = "Blob" PublicAccessContainer PublicAccess = "Container" PublicAccessNone PublicAccess = "None" )
type StorageAccountId ¶
StorageAccountId is a struct representing the Resource ID for a Storage Account
func NewStorageAccountID ¶
func NewStorageAccountID(subscriptionId string, resourceGroupName string, accountName string) StorageAccountId
NewStorageAccountID returns a new StorageAccountId struct
func ParseStorageAccountID ¶
func ParseStorageAccountID(input string) (*StorageAccountId, error)
ParseStorageAccountID parses 'input' into a StorageAccountId
func ParseStorageAccountIDInsensitively ¶
func ParseStorageAccountIDInsensitively(input string) (*StorageAccountId, error)
ParseStorageAccountIDInsensitively parses 'input' case-insensitively into a StorageAccountId note: this method should only be used for API response data and not user input
func (StorageAccountId) ID ¶
func (id StorageAccountId) ID() string
ID returns the formatted Storage Account ID
func (StorageAccountId) Segments ¶
func (id StorageAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Account ID
func (StorageAccountId) String ¶
func (id StorageAccountId) String() string
String returns a human-readable description of this Storage Account ID
type TagProperty ¶
type TagProperty struct { ObjectIdentifier *string `json:"objectIdentifier,omitempty"` Tag *string `json:"tag,omitempty"` TenantId *string `json:"tenantId,omitempty"` Timestamp *string `json:"timestamp,omitempty"` Upn *string `json:"upn,omitempty"` }
func (*TagProperty) GetTimestampAsTime ¶
func (o *TagProperty) GetTimestampAsTime() (*time.Time, error)
func (*TagProperty) SetTimestampAsTime ¶
func (o *TagProperty) SetTimestampAsTime(input time.Time)
type UpdateHistoryProperty ¶
type UpdateHistoryProperty struct { ImmutabilityPeriodSinceCreationInDays *int64 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` ObjectIdentifier *string `json:"objectIdentifier,omitempty"` TenantId *string `json:"tenantId,omitempty"` Timestamp *string `json:"timestamp,omitempty"` Update *ImmutabilityPolicyUpdateType `json:"update,omitempty"` Upn *string `json:"upn,omitempty"` }
func (*UpdateHistoryProperty) GetTimestampAsTime ¶
func (o *UpdateHistoryProperty) GetTimestampAsTime() (*time.Time, error)
func (*UpdateHistoryProperty) SetTimestampAsTime ¶
func (o *UpdateHistoryProperty) SetTimestampAsTime(input time.Time)
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *BlobContainer }
Source Files ¶
- client.go
- constants.go
- id_container.go
- id_immutabilitypolicy.go
- id_storageaccount.go
- method_clearlegalhold_autorest.go
- method_create_autorest.go
- method_createorupdateimmutabilitypolicy_autorest.go
- method_delete_autorest.go
- method_deleteimmutabilitypolicy_autorest.go
- method_extendimmutabilitypolicy_autorest.go
- method_get_autorest.go
- method_getimmutabilitypolicy_autorest.go
- method_lease_autorest.go
- method_list_autorest.go
- method_lockimmutabilitypolicy_autorest.go
- method_objectlevelworm_autorest.go
- method_setlegalhold_autorest.go
- method_update_autorest.go
- model_blobcontainer.go
- model_containerproperties.go
- model_immutabilitypolicy.go
- model_immutabilitypolicyproperties.go
- model_immutabilitypolicyproperty.go
- model_immutablestoragewithversioning.go
- model_leasecontainerrequest.go
- model_leasecontainerresponse.go
- model_legalhold.go
- model_legalholdproperties.go
- model_listcontaineritem.go
- model_tagproperty.go
- model_updatehistoryproperty.go
- predicates.go
- version.go