BlobContainers Interface
public interface BlobContainers
Type representing BlobContainers.
Method Summary
Method Details
clearLegalHoldAsync
public abstract Observable
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:
defineContainer
public abstract BlobContainer.DefinitionStages.Blank defineContainer(String name)
Begins definition for a new Container resource.
Parameters:
Returns:
defineImmutabilityPolicy
public abstract ImmutabilityPolicy.DefinitionStages.Blank defineImmutabilityPolicy(String name)
Begins definition for a new ImmutabilityPolicy resource.
Parameters:
Returns:
deleteAsync
public abstract Completable deleteAsync(String resourceGroupName, String accountName, String containerName)
Deletes specified container under its account.
Parameters:
Returns:
deleteImmutabilityPolicyAsync
public abstract Completable 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, only way is to delete the container after deleting all blobs inside the container.
Parameters:
Returns:
extendImmutabilityPolicyAsync
public abstract Observable
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:
getAsync
public abstract Observable
Gets properties of a specified container.
Parameters:
Returns:
getImmutabilityPolicyAsync
public abstract Observable
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
Parameters:
Returns:
listAsync
public abstract Observable
Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
Parameters:
Returns:
lockImmutabilityPolicyAsync
public abstract Observable
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:
setLegalHoldAsync
public abstract Observable
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for