BlobContainers Interface
public interface BlobContainers
Type representing BlobContainers.
Method Summary
Method Details
clearLegalHold
public abstract LegalHold clearLegalHold(String resourceGroupName, String accountName, String containerName, List
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:
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()
Begins definition for a new ImmutabilityPolicy resource.
Returns:
defineImmutabilityPolicy
@Deprecated
public abstract ImmutabilityPolicy.DefinitionStages.Blank defineImmutabilityPolicy(String name)
Deprecated
Begins definition for a new ImmutabilityPolicy resource.
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
@Deprecated
public abstract void deleteImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)
Deprecated
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:
deleteImmutabilityPolicy
public abstract void deleteImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, String eTagValue)
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:
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, only way is to delete the container after deleting all blobs inside the 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, only way is to delete the container after deleting all blobs inside the container.
Parameters:
Returns:
extendImmutabilityPolicy
@Deprecated
public abstract ImmutabilityPolicy extendImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, int immutabilityPeriodSinceCreationInDays, Boolean allowProtectedAppendWrites)
Deprecated
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:
extendImmutabilityPolicy
public abstract ImmutabilityPolicy extendImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, int immutabilityPeriodSinceCreationInDays, Boolean allowProtectedAppendWrites, String eTagValue)
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:
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:
get
public abstract BlobContainer 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 ImmutabilityPolicy 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:
getImmutabilityPolicyAsync
public abstract Mono
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
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:
lockImmutabilityPolicy
@Deprecated
public abstract ImmutabilityPolicy lockImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)
Deprecated
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:
lockImmutabilityPolicy
public abstract ImmutabilityPolicy lockImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, String eTagValue)
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:
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:
setLegalHold
public abstract LegalHold setLegalHold(String resourceGroupName, String accountName, String containerName, List
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:
Applies to
Azure SDK for Java