Dela via


BlobContainersOperationsExtensions Class

Definition

Extension methods for BlobContainersOperations.

public static class BlobContainersOperationsExtensions
type BlobContainersOperationsExtensions = class
Public Module BlobContainersOperationsExtensions
Inheritance
BlobContainersOperationsExtensions

Methods

BeginObjectLevelWorm(IBlobContainersOperations, String, String, String)

This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.

BeginObjectLevelWormAsync(IBlobContainersOperations, String, String, String, CancellationToken)

This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.

ClearLegalHold(IBlobContainersOperations, String, String, String, IList<String>, Nullable<Boolean>)

Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.

ClearLegalHoldAsync(IBlobContainersOperations, String, String, String, IList<String>, Nullable<Boolean>, CancellationToken)

Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.

Create(IBlobContainersOperations, String, String, String, BlobContainer)

Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.

CreateAsync(IBlobContainersOperations, String, String, String, BlobContainer, CancellationToken)

Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.

CreateOrUpdateImmutabilityPolicy(IBlobContainersOperations, String, String, String, ImmutabilityPolicy, String)

Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.

CreateOrUpdateImmutabilityPolicyAsync(IBlobContainersOperations, String, String, String, ImmutabilityPolicy, String, CancellationToken)

Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.

Delete(IBlobContainersOperations, String, String, String)

Deletes specified container under its account.

DeleteAsync(IBlobContainersOperations, String, String, String, CancellationToken)

Deletes specified container under its account.

DeleteImmutabilityPolicy(IBlobContainersOperations, String, String, String, String)

Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.

DeleteImmutabilityPolicyAsync(IBlobContainersOperations, String, String, String, String, CancellationToken)

Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.

ExtendImmutabilityPolicy(IBlobContainersOperations, String, String, String, String, ImmutabilityPolicy)

Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.

ExtendImmutabilityPolicyAsync(IBlobContainersOperations, String, String, String, String, ImmutabilityPolicy, CancellationToken)

Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.

Get(IBlobContainersOperations, String, String, String)

Gets properties of a specified container.

GetAsync(IBlobContainersOperations, String, String, String, CancellationToken)

Gets properties of a specified container.

GetImmutabilityPolicy(IBlobContainersOperations, String, String, String, String)

Gets the existing immutability policy along with the corresponding ETag in response headers and body.

GetImmutabilityPolicyAsync(IBlobContainersOperations, String, String, String, String, CancellationToken)

Gets the existing immutability policy along with the corresponding ETag in response headers and body.

Lease(IBlobContainersOperations, String, String, String, LeaseContainerRequest)

The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.

LeaseAsync(IBlobContainersOperations, String, String, String, LeaseContainerRequest, CancellationToken)

The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.

List(IBlobContainersOperations, String, String, String, String, String)

Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.

ListAsync(IBlobContainersOperations, String, String, String, String, String, CancellationToken)

Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.

ListNext(IBlobContainersOperations, String)

Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.

ListNextAsync(IBlobContainersOperations, String, CancellationToken)

Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.

LockImmutabilityPolicy(IBlobContainersOperations, String, String, String, String)

Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.

LockImmutabilityPolicyAsync(IBlobContainersOperations, String, String, String, String, CancellationToken)

Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.

ObjectLevelWorm(IBlobContainersOperations, String, String, String)

This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.

ObjectLevelWormAsync(IBlobContainersOperations, String, String, String, CancellationToken)

This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.

SetLegalHold(IBlobContainersOperations, String, String, String, IList<String>, Nullable<Boolean>)

Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.

SetLegalHoldAsync(IBlobContainersOperations, String, String, String, IList<String>, Nullable<Boolean>, CancellationToken)

Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.

Update(IBlobContainersOperations, String, String, String, BlobContainer)

Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist.

UpdateAsync(IBlobContainersOperations, String, String, String, BlobContainer, CancellationToken)

Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist.

Applies to