BlobContainersClient Interface

public interface BlobContainersClient

An instance of this class provides access to all the operations defined in BlobContainersClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginObjectLevelWorm(String resourceGroupName, String accountName, String containerName)

This operation migrates a blob container from container level WORM to object level immutability enabled container.

abstract SyncPoller<PollResult<Void>,Void> beginObjectLevelWorm(String resourceGroupName, String accountName, String containerName, Context context)

This operation migrates a blob container from container level WORM to object level immutability enabled container.

abstract PollerFlux<PollResult<Void>,Void> beginObjectLevelWormAsync(String resourceGroupName, String accountName, String containerName)

This operation migrates a blob container from container level WORM to object level immutability enabled container.

abstract LegalHoldInner clearLegalHold(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

Clears legal hold tags.

abstract Mono<LegalHoldInner> clearLegalHoldAsync(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

Clears legal hold tags.

abstract Response<LegalHoldInner> clearLegalHoldWithResponse(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold, Context context)

Clears legal hold tags.

abstract Mono<Response<LegalHoldInner>> clearLegalHoldWithResponseAsync(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

Clears legal hold tags.

abstract BlobContainerInner create(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer)

Creates a new container under the specified account as described by request body.

abstract Mono<BlobContainerInner> createAsync(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer)

Creates a new container under the specified account as described by request body.

abstract ImmutabilityPolicyInner createOrUpdateImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)

Creates or updates an unlocked immutability policy.

abstract Mono<ImmutabilityPolicyInner> createOrUpdateImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName)

Creates or updates an unlocked immutability policy.

abstract BlobContainersCreateOrUpdateImmutabilityPolicyResponse createOrUpdateImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, ImmutabilityPolicyInner parameters, Context context)

Creates or updates an unlocked immutability policy.

abstract Mono<BlobContainersCreateOrUpdateImmutabilityPolicyResponse> createOrUpdateImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch, ImmutabilityPolicyInner parameters)

Creates or updates an unlocked immutability policy.

abstract Response<BlobContainerInner> createWithResponse(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer, Context context)

Creates a new container under the specified account as described by request body.

abstract Mono<Response<BlobContainerInner>> createWithResponseAsync(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer)

Creates a new container under the specified account as described by request body.

abstract void delete(String resourceGroupName, String accountName, String containerName)

Deletes specified container under its account.

abstract Mono<Void> deleteAsync(String resourceGroupName, String accountName, String containerName)

Deletes specified container under its account.

abstract ImmutabilityPolicyInner deleteImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, String ifMatch)

Aborts an unlocked immutability policy.

abstract Mono<ImmutabilityPolicyInner> deleteImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

Aborts an unlocked immutability policy.

abstract BlobContainersDeleteImmutabilityPolicyResponse deleteImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, Context context)

Aborts an unlocked immutability policy.

abstract Mono<BlobContainersDeleteImmutabilityPolicyResponse> deleteImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

Aborts an unlocked immutability policy.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String containerName, Context context)

Deletes specified container under its account.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName, String containerName)

Deletes specified container under its account.

abstract ImmutabilityPolicyInner extendImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, String ifMatch)

Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy.

abstract Mono<ImmutabilityPolicyInner> extendImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy.

abstract BlobContainersExtendImmutabilityPolicyResponse extendImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, ImmutabilityPolicyInner parameters, Context context)

Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy.

abstract Mono<BlobContainersExtendImmutabilityPolicyResponse> extendImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch, ImmutabilityPolicyInner parameters)

Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy.

abstract BlobContainerInner get(String resourceGroupName, String accountName, String containerName)

Gets properties of a specified container.

abstract Mono<BlobContainerInner> getAsync(String resourceGroupName, String accountName, String containerName)

Gets properties of a specified container.

abstract ImmutabilityPolicyInner getImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)

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

abstract Mono<ImmutabilityPolicyInner> getImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName)

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

abstract BlobContainersGetImmutabilityPolicyResponse getImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, Context context)

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

abstract Mono<BlobContainersGetImmutabilityPolicyResponse> getImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

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

abstract Response<BlobContainerInner> getWithResponse(String resourceGroupName, String accountName, String containerName, Context context)

Gets properties of a specified container.

abstract Mono<Response<BlobContainerInner>> getWithResponseAsync(String resourceGroupName, String accountName, String containerName)

Gets properties of a specified container.

abstract LeaseContainerResponseInner lease(String resourceGroupName, String accountName, String containerName)

The Lease Container operation establishes and manages a lock on a container for delete operations.

abstract Mono<LeaseContainerResponseInner> leaseAsync(String resourceGroupName, String accountName, String containerName)

The Lease Container operation establishes and manages a lock on a container for delete operations.

abstract Response<LeaseContainerResponseInner> leaseWithResponse(String resourceGroupName, String accountName, String containerName, LeaseContainerRequest parameters, Context context)

The Lease Container operation establishes and manages a lock on a container for delete operations.

abstract Mono<Response<LeaseContainerResponseInner>> leaseWithResponseAsync(String resourceGroupName, String accountName, String containerName, LeaseContainerRequest parameters)

The Lease Container operation establishes and manages a lock on a container for delete operations.

abstract PagedIterable<ListContainerItemInner> list(String resourceGroupName, String accountName)

Lists all containers and does not support a prefix like data plane.

abstract PagedIterable<ListContainerItemInner> list(String resourceGroupName, String accountName, String maxpagesize, String filter, ListContainersInclude include, Context context)

Lists all containers and does not support a prefix like data plane.

abstract PagedFlux<ListContainerItemInner> listAsync(String resourceGroupName, String accountName)

Lists all containers and does not support a prefix like data plane.

abstract PagedFlux<ListContainerItemInner> listAsync(String resourceGroupName, String accountName, String maxpagesize, String filter, ListContainersInclude include)

Lists all containers and does not support a prefix like data plane.

abstract ImmutabilityPolicyInner lockImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, String ifMatch)

Sets the ImmutabilityPolicy to Locked state.

abstract Mono<ImmutabilityPolicyInner> lockImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

Sets the ImmutabilityPolicy to Locked state.

abstract BlobContainersLockImmutabilityPolicyResponse lockImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, Context context)

Sets the ImmutabilityPolicy to Locked state.

abstract Mono<BlobContainersLockImmutabilityPolicyResponse> lockImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

Sets the ImmutabilityPolicy to Locked state.

abstract void objectLevelWorm(String resourceGroupName, String accountName, String containerName)

This operation migrates a blob container from container level WORM to object level immutability enabled container.

abstract void objectLevelWorm(String resourceGroupName, String accountName, String containerName, Context context)

This operation migrates a blob container from container level WORM to object level immutability enabled container.

abstract Mono<Void> objectLevelWormAsync(String resourceGroupName, String accountName, String containerName)

This operation migrates a blob container from container level WORM to object level immutability enabled container.

abstract Mono<Response<Flux<ByteBuffer>>> objectLevelWormWithResponseAsync(String resourceGroupName, String accountName, String containerName)

This operation migrates a blob container from container level WORM to object level immutability enabled container.

abstract LegalHoldInner setLegalHold(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

Sets legal hold tags.

abstract Mono<LegalHoldInner> setLegalHoldAsync(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

Sets legal hold tags.

abstract Response<LegalHoldInner> setLegalHoldWithResponse(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold, Context context)

Sets legal hold tags.

abstract Mono<Response<LegalHoldInner>> setLegalHoldWithResponseAsync(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

Sets legal hold tags.

abstract BlobContainerInner update(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer)

Updates container properties as specified in request body.

abstract Mono<BlobContainerInner> updateAsync(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer)

Updates container properties as specified in request body.

abstract Response<BlobContainerInner> updateWithResponse(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer, Context context)

Updates container properties as specified in request body.

abstract Mono<Response<BlobContainerInner>> updateWithResponseAsync(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer)

Updates container properties as specified in request body.

Method Details

beginObjectLevelWorm

public abstract SyncPoller,Void> beginObjectLevelWorm(String resourceGroupName, String accountName, String containerName)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginObjectLevelWorm

public abstract SyncPoller,Void> beginObjectLevelWorm(String resourceGroupName, String accountName, String containerName, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginObjectLevelWormAsync

public abstract PollerFlux,Void> beginObjectLevelWormAsync(String resourceGroupName, String accountName, String containerName)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

clearLegalHold

public abstract LegalHoldInner clearLegalHold(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
legalHold - The LegalHold property that will be clear from a blob container.

Returns:

the LegalHold property of a blob container.

clearLegalHoldAsync

public abstract Mono clearLegalHoldAsync(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
legalHold - The LegalHold property that will be clear from a blob container.

Returns:

the LegalHold property of a blob container on successful completion of Mono.

clearLegalHoldWithResponse

public abstract Response clearLegalHoldWithResponse(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
legalHold - The LegalHold property that will be clear from a blob container.
context - The context to associate with this operation.

Returns:

the LegalHold property of a blob container along with Response<T>.

clearLegalHoldWithResponseAsync

public abstract Mono> clearLegalHoldWithResponseAsync(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
legalHold - The LegalHold property that will be clear from a blob container.

Returns:

the LegalHold property of a blob container along with Response<T> on successful completion of Mono.

create

public abstract BlobContainerInner create(String resourceGroupName, String accountName, String containerName, BlobContainerInner 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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
blobContainer - Properties of the blob container to create.

Returns:

properties of the blob container, including Id, resource name, resource type, Etag.

createAsync

public abstract Mono createAsync(String resourceGroupName, String accountName, String containerName, BlobContainerInner 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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
blobContainer - Properties of the blob container to create.

Returns:

properties of the blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

createOrUpdateImmutabilityPolicy

public abstract ImmutabilityPolicyInner createOrUpdateImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

createOrUpdateImmutabilityPolicyAsync

public abstract Mono createOrUpdateImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

createOrUpdateImmutabilityPolicyWithResponse

public abstract BlobContainersCreateOrUpdateImmutabilityPolicyResponse createOrUpdateImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, ImmutabilityPolicyInner parameters, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.
parameters - The ImmutabilityPolicy Properties that will be created or updated to a blob container.
context - The context to associate with this operation.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

createOrUpdateImmutabilityPolicyWithResponseAsync

public abstract Mono createOrUpdateImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch, ImmutabilityPolicyInner parameters)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.
parameters - The ImmutabilityPolicy Properties that will be created or updated to a blob container.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

createWithResponse

public abstract Response createWithResponse(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
blobContainer - Properties of the blob container to create.
context - The context to associate with this operation.

Returns:

properties of the blob container, including Id, resource name, resource type, Etag along with Response<T>.

createWithResponseAsync

public abstract Mono> createWithResponseAsync(String resourceGroupName, String accountName, String containerName, BlobContainerInner 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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
blobContainer - Properties of the blob container to create.

Returns:

properties of the blob container, including Id, resource name, resource type, Etag along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String accountName, String containerName)

Deletes specified container under its account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String accountName, String containerName)

Deletes specified container under its account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

A Mono that completes when a successful response is received.

deleteImmutabilityPolicy

public abstract ImmutabilityPolicyInner deleteImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, String ifMatch)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

deleteImmutabilityPolicyAsync

public abstract Mono deleteImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

deleteImmutabilityPolicyWithResponse

public abstract BlobContainersDeleteImmutabilityPolicyResponse deleteImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.
context - The context to associate with this operation.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

deleteImmutabilityPolicyWithResponseAsync

public abstract Mono deleteImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String accountName, String containerName, Context context)

Deletes specified container under its account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, String containerName)

Deletes specified container under its account.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the Response<T> on successful completion of Mono.

extendImmutabilityPolicy

public abstract ImmutabilityPolicyInner extendImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, String ifMatch)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

extendImmutabilityPolicyAsync

public abstract Mono extendImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

extendImmutabilityPolicyWithResponse

public abstract BlobContainersExtendImmutabilityPolicyResponse extendImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, ImmutabilityPolicyInner parameters, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.
parameters - The ImmutabilityPolicy Properties that will be extended for a blob container.
context - The context to associate with this operation.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

extendImmutabilityPolicyWithResponseAsync

public abstract Mono extendImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch, ImmutabilityPolicyInner parameters)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.
parameters - The ImmutabilityPolicy Properties that will be extended for a blob container.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

get

public abstract BlobContainerInner get(String resourceGroupName, String accountName, String containerName)

Gets properties of a specified container.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

properties of a specified container.

getAsync

public abstract Mono getAsync(String resourceGroupName, String accountName, String containerName)

Gets properties of a specified container.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

properties of a specified container on successful completion of Mono.

getImmutabilityPolicy

public abstract ImmutabilityPolicyInner getImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

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

getImmutabilityPolicyAsync

public abstract Mono getImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the existing immutability policy along with the corresponding ETag in response headers and body on successful completion of Mono.

getImmutabilityPolicyWithResponse

public abstract BlobContainersGetImmutabilityPolicyResponse getImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.
context - The context to associate with this operation.

Returns:

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

getImmutabilityPolicyWithResponseAsync

public abstract Mono getImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the existing immutability policy along with the corresponding ETag in response headers and body on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String accountName, String containerName, Context context)

Gets properties of a specified container.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
context - The context to associate with this operation.

Returns:

properties of a specified container along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String accountName, String containerName)

Gets properties of a specified container.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

properties of a specified container along with Response<T> on successful completion of Mono.

lease

public abstract LeaseContainerResponseInner lease(String resourceGroupName, String accountName, String containerName)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

lease Container response schema.

leaseAsync

public abstract Mono leaseAsync(String resourceGroupName, String accountName, String containerName)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

lease Container response schema on successful completion of Mono.

leaseWithResponse

public abstract Response leaseWithResponse(String resourceGroupName, String accountName, String containerName, LeaseContainerRequest parameters, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
parameters - Lease Container request body.
context - The context to associate with this operation.

Returns:

lease Container response schema along with Response<T>.

leaseWithResponseAsync

public abstract Mono> leaseWithResponseAsync(String resourceGroupName, String accountName, String containerName, LeaseContainerRequest parameters)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
parameters - Lease Container request body.

Returns:

lease Container response schema along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String accountName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

Returns:

response schema as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String accountName, String maxpagesize, String filter, ListContainersInclude include, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
maxpagesize - Optional. Specified maximum number of containers that can be included in the list.
filter - Optional. When specified, only container names starting with the filter will be listed.
include - Optional, used to include the properties for soft deleted blob containers.
context - The context to associate with this operation.

Returns:

response schema as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String accountName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

Returns:

response schema as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String accountName, String maxpagesize, String filter, ListContainersInclude include)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
maxpagesize - Optional. Specified maximum number of containers that can be included in the list.
filter - Optional. When specified, only container names starting with the filter will be listed.
include - Optional, used to include the properties for soft deleted blob containers.

Returns:

response schema as paginated response with PagedFlux<T>.

lockImmutabilityPolicy

public abstract ImmutabilityPolicyInner lockImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, String ifMatch)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

lockImmutabilityPolicyAsync

public abstract Mono lockImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

lockImmutabilityPolicyWithResponse

public abstract BlobContainersLockImmutabilityPolicyResponse lockImmutabilityPolicyWithResponse(String resourceGroupName, String accountName, String containerName, String ifMatch, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.
context - The context to associate with this operation.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.

lockImmutabilityPolicyWithResponseAsync

public abstract Mono lockImmutabilityPolicyWithResponseAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
ifMatch - The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.

Returns:

the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

objectLevelWorm

public abstract void objectLevelWorm(String resourceGroupName, String accountName, String containerName)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

objectLevelWorm

public abstract void objectLevelWorm(String resourceGroupName, String accountName, String containerName, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
context - The context to associate with this operation.

objectLevelWormAsync

public abstract Mono objectLevelWormAsync(String resourceGroupName, String accountName, String containerName)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

A Mono that completes when a successful response is received.

objectLevelWormWithResponseAsync

public abstract Mono>> objectLevelWormWithResponseAsync(String resourceGroupName, String accountName, String containerName)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.

Returns:

the Response<T> on successful completion of Mono.

setLegalHold

public abstract LegalHoldInner setLegalHold(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
legalHold - The LegalHold property that will be set to a blob container.

Returns:

the LegalHold property of a blob container.

setLegalHoldAsync

public abstract Mono setLegalHoldAsync(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
legalHold - The LegalHold property that will be set to a blob container.

Returns:

the LegalHold property of a blob container on successful completion of Mono.

setLegalHoldWithResponse

public abstract Response setLegalHoldWithResponse(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
legalHold - The LegalHold property that will be set to a blob container.
context - The context to associate with this operation.

Returns:

the LegalHold property of a blob container along with Response<T>.

setLegalHoldWithResponseAsync

public abstract Mono> setLegalHoldWithResponseAsync(String resourceGroupName, String accountName, String containerName, LegalHoldInner legalHold)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
legalHold - The LegalHold property that will be set to a blob container.

Returns:

the LegalHold property of a blob container along with Response<T> on successful completion of Mono.

update

public abstract BlobContainerInner update(String resourceGroupName, String accountName, String containerName, BlobContainerInner 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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
blobContainer - Properties to update for the blob container.

Returns:

properties of the blob container, including Id, resource name, resource type, Etag.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String accountName, String containerName, BlobContainerInner 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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
blobContainer - Properties to update for the blob container.

Returns:

properties of the blob container, including Id, resource name, resource type, Etag on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String accountName, String containerName, BlobContainerInner blobContainer, Context context)

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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
blobContainer - Properties to update for the blob container.
context - The context to associate with this operation.

Returns:

properties of the blob container, including Id, resource name, resource type, Etag along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String resourceGroupName, String accountName, String containerName, BlobContainerInner 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.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
containerName - The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
blobContainer - Properties to update for the blob container.

Returns:

properties of the blob container, including Id, resource name, resource type, Etag along with Response<T> on successful completion of Mono.

Applies to