BlobContainersClient Interface
public interface BlobContainersClient
An instance of this class provides access to all the operations defined in BlobContainersClient.
Method Summary
Method Details
beginObjectLevelWorm
public abstract SyncPoller
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:
Returns:
beginObjectLevelWorm
public abstract SyncPoller
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:
Returns:
beginObjectLevelWormAsync
public abstract PollerFlux
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:
Returns:
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:
Returns:
clearLegalHoldAsync
public abstract Mono
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:
Returns:
clearLegalHoldWithResponse
public abstract Response
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:
Returns:
clearLegalHoldWithResponseAsync
public abstract Mono
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:
Returns:
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:
Returns:
createAsync
public abstract Mono
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:
Returns:
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:
Returns:
createOrUpdateImmutabilityPolicyAsync
public abstract Mono
Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
Parameters:
Returns:
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:
Returns:
createOrUpdateImmutabilityPolicyWithResponseAsync
public abstract Mono
Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
Parameters:
Returns:
createWithResponse
public abstract Response
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:
Returns:
createWithResponseAsync
public abstract Mono
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:
Returns:
delete
public abstract void delete(String resourceGroupName, String accountName, String containerName)
Deletes specified container under its account.
Parameters:
deleteAsync
public abstract Mono
Deletes specified container under its account.
Parameters:
Returns:
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:
Returns:
deleteImmutabilityPolicyAsync
public abstract Mono
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:
Returns:
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:
Returns:
deleteImmutabilityPolicyWithResponseAsync
public abstract Mono
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:
Returns:
deleteWithResponse
public abstract Response
Deletes specified container under its account.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
Deletes specified container under its account.
Parameters:
Returns:
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:
Returns:
extendImmutabilityPolicyAsync
public abstract Mono
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:
Returns:
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:
Returns:
extendImmutabilityPolicyWithResponseAsync
public abstract Mono
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:
Returns:
get
public abstract BlobContainerInner get(String resourceGroupName, String accountName, String containerName)
Gets properties of a specified container.
Parameters:
Returns:
getAsync
public abstract Mono
Gets properties of a specified container.
Parameters:
Returns:
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:
Returns:
getImmutabilityPolicyAsync
public abstract Mono
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
Parameters:
Returns:
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:
Returns:
getImmutabilityPolicyWithResponseAsync
public abstract Mono
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
Parameters:
Returns:
getWithResponse
public abstract Response
Gets properties of a specified container.
Parameters:
Returns:
getWithResponseAsync
public abstract Mono
Gets properties of a specified container.
Parameters:
Returns:
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:
Returns:
leaseAsync
public abstract Mono
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:
Returns:
leaseWithResponse
public abstract Response
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:
Returns:
leaseWithResponseAsync
public abstract Mono
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:
Returns:
list
public abstract PagedIterable
Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
Parameters:
Returns:
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:
Returns:
lockImmutabilityPolicyAsync
public abstract Mono
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:
Returns:
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:
Returns:
lockImmutabilityPolicyWithResponseAsync
public abstract Mono
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:
Returns:
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:
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:
objectLevelWormAsync
public abstract Mono
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:
Returns:
objectLevelWormWithResponseAsync
public abstract Mono
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:
Returns:
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:
Returns:
setLegalHoldAsync
public abstract Mono
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:
Returns:
setLegalHoldWithResponse
public abstract Response
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:
Returns:
setLegalHoldWithResponseAsync
public abstract Mono
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:
Returns:
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:
Returns:
updateAsync
public abstract Mono
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:
Returns:
updateWithResponse
public abstract Response
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:
Returns:
updateWithResponseAsync
public abstract Mono
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:
Returns:
Applies to
Azure SDK for Java