Documentation ¶
Index ¶
- func PossibleValuesForImmutabilityPolicyState() []string
- func PossibleValuesForImmutabilityPolicyUpdateType() []string
- func PossibleValuesForLeaseContainerRequestAction() []string
- func PossibleValuesForLeaseDuration() []string
- func PossibleValuesForLeaseState() []string
- func PossibleValuesForLeaseStatus() []string
- func PossibleValuesForListContainersInclude() []string
- func PossibleValuesForMigrationState() []string
- func PossibleValuesForPublicAccess() []string
- type BlobContainer
- type BlobContainersClient
- func (c BlobContainersClient) ClearLegalHold(ctx context.Context, id commonids.StorageContainerId, input LegalHold) (result ClearLegalHoldOperationResponse, err error)
- func (c BlobContainersClient) Create(ctx context.Context, id commonids.StorageContainerId, input BlobContainer) (result CreateOperationResponse, err error)
- func (c BlobContainersClient) CreateOrUpdateImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, input ImmutabilityPolicy, ...) (result CreateOrUpdateImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) Delete(ctx context.Context, id commonids.StorageContainerId) (result DeleteOperationResponse, err error)
- func (c BlobContainersClient) DeleteImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, ...) (result DeleteImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) ExtendImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, input ImmutabilityPolicy, ...) (result ExtendImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) Get(ctx context.Context, id commonids.StorageContainerId) (result GetOperationResponse, err error)
- func (c BlobContainersClient) GetImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, ...) (result GetImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) Lease(ctx context.Context, id commonids.StorageContainerId, ...) (result LeaseOperationResponse, err error)
- func (c BlobContainersClient) List(ctx context.Context, id commonids.StorageAccountId, ...) (result ListOperationResponse, err error)
- func (c BlobContainersClient) ListComplete(ctx context.Context, id commonids.StorageAccountId, ...) (ListCompleteResult, error)
- func (c BlobContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, ...) (result ListCompleteResult, err error)
- func (c BlobContainersClient) LockImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, ...) (result LockImmutabilityPolicyOperationResponse, err error)
- func (c BlobContainersClient) ObjectLevelWorm(ctx context.Context, id commonids.StorageContainerId) (result ObjectLevelWormOperationResponse, err error)
- func (c BlobContainersClient) ObjectLevelWormThenPoll(ctx context.Context, id commonids.StorageContainerId) error
- func (c BlobContainersClient) SetLegalHold(ctx context.Context, id commonids.StorageContainerId, input LegalHold) (result SetLegalHoldOperationResponse, err error)
- func (c BlobContainersClient) Update(ctx context.Context, id commonids.StorageContainerId, input BlobContainer) (result UpdateOperationResponse, err error)
- type ClearLegalHoldOperationResponse
- 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 ImmutabilityPolicyProperties
- type ImmutabilityPolicyProperty
- type ImmutabilityPolicyState
- type ImmutabilityPolicyUpdateType
- type ImmutableStorageWithVersioning
- type LeaseContainerRequest
- type LeaseContainerRequestAction
- type LeaseContainerResponse
- type LeaseDuration
- type LeaseOperationResponse
- type LeaseState
- type LeaseStatus
- type LegalHold
- type LegalHoldProperties
- type ListCompleteResult
- type ListContainerItem
- type ListContainerItemOperationPredicate
- type ListContainersInclude
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type LockImmutabilityPolicyOperationOptions
- type LockImmutabilityPolicyOperationResponse
- type MigrationState
- type ObjectLevelWormOperationResponse
- type ProtectedAppendWritesHistory
- type PublicAccess
- type SetLegalHoldOperationResponse
- type TagProperty
- type UpdateHistoryProperty
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForImmutabilityPolicyState ¶
func PossibleValuesForImmutabilityPolicyState() []string
func PossibleValuesForImmutabilityPolicyUpdateType ¶
func PossibleValuesForImmutabilityPolicyUpdateType() []string
func PossibleValuesForLeaseContainerRequestAction ¶
func PossibleValuesForLeaseContainerRequestAction() []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
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 *resourcemanager.Client
}
func NewBlobContainersClientWithBaseURI ¶
func NewBlobContainersClientWithBaseURI(sdkApi sdkEnv.Api) (*BlobContainersClient, error)
func (BlobContainersClient) ClearLegalHold ¶
func (c BlobContainersClient) ClearLegalHold(ctx context.Context, id commonids.StorageContainerId, input LegalHold) (result ClearLegalHoldOperationResponse, err error)
ClearLegalHold ...
func (BlobContainersClient) Create ¶
func (c BlobContainersClient) Create(ctx context.Context, id commonids.StorageContainerId, input BlobContainer) (result CreateOperationResponse, err error)
Create ...
func (BlobContainersClient) CreateOrUpdateImmutabilityPolicy ¶
func (c BlobContainersClient) CreateOrUpdateImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, input ImmutabilityPolicy, options CreateOrUpdateImmutabilityPolicyOperationOptions) (result CreateOrUpdateImmutabilityPolicyOperationResponse, err error)
CreateOrUpdateImmutabilityPolicy ...
func (BlobContainersClient) Delete ¶
func (c BlobContainersClient) Delete(ctx context.Context, id commonids.StorageContainerId) (result DeleteOperationResponse, err error)
Delete ...
func (BlobContainersClient) DeleteImmutabilityPolicy ¶
func (c BlobContainersClient) DeleteImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, options DeleteImmutabilityPolicyOperationOptions) (result DeleteImmutabilityPolicyOperationResponse, err error)
DeleteImmutabilityPolicy ...
func (BlobContainersClient) ExtendImmutabilityPolicy ¶
func (c BlobContainersClient) ExtendImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, input ImmutabilityPolicy, options ExtendImmutabilityPolicyOperationOptions) (result ExtendImmutabilityPolicyOperationResponse, err error)
ExtendImmutabilityPolicy ...
func (BlobContainersClient) Get ¶
func (c BlobContainersClient) Get(ctx context.Context, id commonids.StorageContainerId) (result GetOperationResponse, err error)
Get ...
func (BlobContainersClient) GetImmutabilityPolicy ¶
func (c BlobContainersClient) GetImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, options GetImmutabilityPolicyOperationOptions) (result GetImmutabilityPolicyOperationResponse, err error)
GetImmutabilityPolicy ...
func (BlobContainersClient) Lease ¶
func (c BlobContainersClient) Lease(ctx context.Context, id commonids.StorageContainerId, input LeaseContainerRequest) (result LeaseOperationResponse, err error)
Lease ...
func (BlobContainersClient) List ¶
func (c BlobContainersClient) List(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (BlobContainersClient) ListComplete ¶
func (c BlobContainersClient) ListComplete(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BlobContainersClient) ListCompleteMatchingPredicate ¶
func (c BlobContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions, predicate ListContainerItemOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BlobContainersClient) LockImmutabilityPolicy ¶
func (c BlobContainersClient) LockImmutabilityPolicy(ctx context.Context, id commonids.StorageContainerId, options LockImmutabilityPolicyOperationOptions) (result LockImmutabilityPolicyOperationResponse, err error)
LockImmutabilityPolicy ...
func (BlobContainersClient) ObjectLevelWorm ¶
func (c BlobContainersClient) ObjectLevelWorm(ctx context.Context, id commonids.StorageContainerId) (result ObjectLevelWormOperationResponse, err error)
ObjectLevelWorm ...
func (BlobContainersClient) ObjectLevelWormThenPoll ¶
func (c BlobContainersClient) ObjectLevelWormThenPoll(ctx context.Context, id commonids.StorageContainerId) error
ObjectLevelWormThenPoll performs ObjectLevelWorm then polls until it's completed
func (BlobContainersClient) SetLegalHold ¶
func (c BlobContainersClient) SetLegalHold(ctx context.Context, id commonids.StorageContainerId, input LegalHold) (result SetLegalHoldOperationResponse, err error)
SetLegalHold ...
func (BlobContainersClient) Update ¶
func (c BlobContainersClient) Update(ctx context.Context, id commonids.StorageContainerId, input BlobContainer) (result UpdateOperationResponse, err error)
Update ...
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"` EnableNfsV3AllSquash *bool `json:"enableNfsV3AllSquash,omitempty"` EnableNfsV3RootSquash *bool `json:"enableNfsV3RootSquash,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 OData *odata.OData Model *BlobContainer }
type CreateOrUpdateImmutabilityPolicyOperationOptions ¶
type CreateOrUpdateImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateImmutabilityPolicyOperationOptions ¶
func DefaultCreateOrUpdateImmutabilityPolicyOperationOptions() CreateOrUpdateImmutabilityPolicyOperationOptions
func (CreateOrUpdateImmutabilityPolicyOperationOptions) ToHeaders ¶
func (o CreateOrUpdateImmutabilityPolicyOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateImmutabilityPolicyOperationOptions) ToOData ¶
func (o CreateOrUpdateImmutabilityPolicyOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateImmutabilityPolicyOperationOptions) ToQuery ¶
func (o CreateOrUpdateImmutabilityPolicyOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateImmutabilityPolicyOperationResponse ¶
type CreateOrUpdateImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ImmutabilityPolicy }
type DeleteImmutabilityPolicyOperationOptions ¶
type DeleteImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultDeleteImmutabilityPolicyOperationOptions ¶
func DefaultDeleteImmutabilityPolicyOperationOptions() DeleteImmutabilityPolicyOperationOptions
func (DeleteImmutabilityPolicyOperationOptions) ToHeaders ¶
func (o DeleteImmutabilityPolicyOperationOptions) ToHeaders() *client.Headers
func (DeleteImmutabilityPolicyOperationOptions) ToOData ¶
func (o DeleteImmutabilityPolicyOperationOptions) ToOData() *odata.Query
func (DeleteImmutabilityPolicyOperationOptions) ToQuery ¶
func (o DeleteImmutabilityPolicyOperationOptions) ToQuery() *client.QueryParams
type DeleteImmutabilityPolicyOperationResponse ¶
type DeleteImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ImmutabilityPolicy }
type DeleteOperationResponse ¶
type ExtendImmutabilityPolicyOperationOptions ¶
type ExtendImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultExtendImmutabilityPolicyOperationOptions ¶
func DefaultExtendImmutabilityPolicyOperationOptions() ExtendImmutabilityPolicyOperationOptions
func (ExtendImmutabilityPolicyOperationOptions) ToHeaders ¶
func (o ExtendImmutabilityPolicyOperationOptions) ToHeaders() *client.Headers
func (ExtendImmutabilityPolicyOperationOptions) ToOData ¶
func (o ExtendImmutabilityPolicyOperationOptions) ToOData() *odata.Query
func (ExtendImmutabilityPolicyOperationOptions) ToQuery ¶
func (o ExtendImmutabilityPolicyOperationOptions) ToQuery() *client.QueryParams
type ExtendImmutabilityPolicyOperationResponse ¶
type ExtendImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ImmutabilityPolicy }
type GetImmutabilityPolicyOperationOptions ¶
type GetImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultGetImmutabilityPolicyOperationOptions ¶
func DefaultGetImmutabilityPolicyOperationOptions() GetImmutabilityPolicyOperationOptions
func (GetImmutabilityPolicyOperationOptions) ToHeaders ¶
func (o GetImmutabilityPolicyOperationOptions) ToHeaders() *client.Headers
func (GetImmutabilityPolicyOperationOptions) ToOData ¶
func (o GetImmutabilityPolicyOperationOptions) ToOData() *odata.Query
func (GetImmutabilityPolicyOperationOptions) ToQuery ¶
func (o GetImmutabilityPolicyOperationOptions) ToQuery() *client.QueryParams
type GetImmutabilityPolicyOperationResponse ¶
type GetImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ImmutabilityPolicy }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 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"` AllowProtectedAppendWritesAll *bool `json:"allowProtectedAppendWritesAll,omitempty"` ImmutabilityPeriodSinceCreationInDays *int64 `json:"immutabilityPeriodSinceCreationInDays,omitempty"` State *ImmutabilityPolicyState `json:"state,omitempty"` }
type ImmutabilityPolicyState ¶
type ImmutabilityPolicyState string
const ( ImmutabilityPolicyStateLocked ImmutabilityPolicyState = "Locked" ImmutabilityPolicyStateUnlocked ImmutabilityPolicyState = "Unlocked" )
func (*ImmutabilityPolicyState) UnmarshalJSON ¶
func (s *ImmutabilityPolicyState) UnmarshalJSON(bytes []byte) error
type ImmutabilityPolicyUpdateType ¶
type ImmutabilityPolicyUpdateType string
const ( ImmutabilityPolicyUpdateTypeExtend ImmutabilityPolicyUpdateType = "extend" ImmutabilityPolicyUpdateTypeLock ImmutabilityPolicyUpdateType = "lock" ImmutabilityPolicyUpdateTypePut ImmutabilityPolicyUpdateType = "put" )
func (*ImmutabilityPolicyUpdateType) UnmarshalJSON ¶
func (s *ImmutabilityPolicyUpdateType) UnmarshalJSON(bytes []byte) error
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 LeaseContainerRequest struct { Action LeaseContainerRequestAction `json:"action"` BreakPeriod *int64 `json:"breakPeriod,omitempty"` LeaseDuration *int64 `json:"leaseDuration,omitempty"` LeaseId *string `json:"leaseId,omitempty"` ProposedLeaseId *string `json:"proposedLeaseId,omitempty"` }
type LeaseContainerRequestAction ¶
type LeaseContainerRequestAction string
const ( LeaseContainerRequestActionAcquire LeaseContainerRequestAction = "Acquire" LeaseContainerRequestActionBreak LeaseContainerRequestAction = "Break" LeaseContainerRequestActionChange LeaseContainerRequestAction = "Change" LeaseContainerRequestActionRelease LeaseContainerRequestAction = "Release" LeaseContainerRequestActionRenew LeaseContainerRequestAction = "Renew" )
func (*LeaseContainerRequestAction) UnmarshalJSON ¶
func (s *LeaseContainerRequestAction) UnmarshalJSON(bytes []byte) error
type LeaseContainerResponse ¶
type LeaseDuration ¶
type LeaseDuration string
const ( LeaseDurationFixed LeaseDuration = "Fixed" LeaseDurationInfinite LeaseDuration = "Infinite" )
func (*LeaseDuration) UnmarshalJSON ¶
func (s *LeaseDuration) UnmarshalJSON(bytes []byte) error
type LeaseOperationResponse ¶
type LeaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LeaseContainerResponse }
type LeaseState ¶
type LeaseState string
const ( LeaseStateAvailable LeaseState = "Available" LeaseStateBreaking LeaseState = "Breaking" LeaseStateBroken LeaseState = "Broken" LeaseStateExpired LeaseState = "Expired" LeaseStateLeased LeaseState = "Leased" )
func (*LeaseState) UnmarshalJSON ¶
func (s *LeaseState) UnmarshalJSON(bytes []byte) error
type LeaseStatus ¶
type LeaseStatus string
const ( LeaseStatusLocked LeaseStatus = "Locked" LeaseStatusUnlocked LeaseStatus = "Unlocked" )
func (*LeaseStatus) UnmarshalJSON ¶
func (s *LeaseStatus) UnmarshalJSON(bytes []byte) error
type LegalHoldProperties ¶
type LegalHoldProperties struct { HasLegalHold *bool `json:"hasLegalHold,omitempty"` ProtectedAppendWritesHistory *ProtectedAppendWritesHistory `json:"protectedAppendWritesHistory,omitempty"` Tags *[]TagProperty `json:"tags,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response 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"
)
func (*ListContainersInclude) UnmarshalJSON ¶
func (s *ListContainersInclude) UnmarshalJSON(bytes []byte) error
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct { Filter *string Include *ListContainersInclude Maxpagesize *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ListContainerItem }
type LockImmutabilityPolicyOperationOptions ¶
type LockImmutabilityPolicyOperationOptions struct {
IfMatch *string
}
func DefaultLockImmutabilityPolicyOperationOptions ¶
func DefaultLockImmutabilityPolicyOperationOptions() LockImmutabilityPolicyOperationOptions
func (LockImmutabilityPolicyOperationOptions) ToHeaders ¶
func (o LockImmutabilityPolicyOperationOptions) ToHeaders() *client.Headers
func (LockImmutabilityPolicyOperationOptions) ToOData ¶
func (o LockImmutabilityPolicyOperationOptions) ToOData() *odata.Query
func (LockImmutabilityPolicyOperationOptions) ToQuery ¶
func (o LockImmutabilityPolicyOperationOptions) ToQuery() *client.QueryParams
type LockImmutabilityPolicyOperationResponse ¶
type LockImmutabilityPolicyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ImmutabilityPolicy }
type MigrationState ¶
type MigrationState string
const ( MigrationStateCompleted MigrationState = "Completed" MigrationStateInProgress MigrationState = "InProgress" )
func (*MigrationState) UnmarshalJSON ¶
func (s *MigrationState) UnmarshalJSON(bytes []byte) error
type ProtectedAppendWritesHistory ¶
type ProtectedAppendWritesHistory struct { AllowProtectedAppendWritesAll *bool `json:"allowProtectedAppendWritesAll,omitempty"` Timestamp *string `json:"timestamp,omitempty"` }
func (*ProtectedAppendWritesHistory) GetTimestampAsTime ¶
func (o *ProtectedAppendWritesHistory) GetTimestampAsTime() (*time.Time, error)
func (*ProtectedAppendWritesHistory) SetTimestampAsTime ¶
func (o *ProtectedAppendWritesHistory) SetTimestampAsTime(input time.Time)
type PublicAccess ¶
type PublicAccess string
const ( PublicAccessBlob PublicAccess = "Blob" PublicAccessContainer PublicAccess = "Container" PublicAccessNone PublicAccess = "None" )
func (*PublicAccess) UnmarshalJSON ¶
func (s *PublicAccess) UnmarshalJSON(bytes []byte) error
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 { AllowProtectedAppendWrites *bool `json:"allowProtectedAppendWrites,omitempty"` AllowProtectedAppendWritesAll *bool `json:"allowProtectedAppendWritesAll,omitempty"` 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 OData *odata.OData Model *BlobContainer }
Source Files ¶
- client.go
- constants.go
- method_clearlegalhold.go
- method_create.go
- method_createorupdateimmutabilitypolicy.go
- method_delete.go
- method_deleteimmutabilitypolicy.go
- method_extendimmutabilitypolicy.go
- method_get.go
- method_getimmutabilitypolicy.go
- method_lease.go
- method_list.go
- method_lockimmutabilitypolicy.go
- method_objectlevelworm.go
- method_setlegalhold.go
- method_update.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_protectedappendwriteshistory.go
- model_tagproperty.go
- model_updatehistoryproperty.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.