Dela via


BlobContainersOperationsExtensions Class

Definition

Extension methods for BlobContainersOperations.

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

Methods

ClearLegalHoldAsync(IBlobContainersOperations, String, String, String, IList<String>, 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.

CreateAsync(IBlobContainersOperations, String, String, String, Nullable<PublicAccess>, IDictionary<String,String>, 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.

CreateOrUpdateImmutabilityPolicyAsync(IBlobContainersOperations, String, String, String, Int32, String, CancellationToken)

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

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

Deletes specified container under its account.

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, only way is to delete the container after deleting all blobs inside the container.

ExtendImmutabilityPolicyAsync(IBlobContainersOperations, String, String, String, String, Int32, 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.

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

Gets properties of a specified container.

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

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

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.

ListAsync(IBlobContainersOperations, String, String, CancellationToken)

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

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.

SetLegalHoldAsync(IBlobContainersOperations, String, String, String, IList<String>, 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.

UpdateAsync(IBlobContainersOperations, String, String, String, Nullable<PublicAccess>, IDictionary<String,String>, 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