Skip to main content

blob_containers

Overview

Nameblob_containers
TypeResource
Idazure.storage.blob_containers

Fields

NameDatatypeDescription
etagstringResource Etag.
propertiesobjectThe properties of a container.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, containerName, resourceGroupName, subscriptionIdGets properties of a specified container.
listSELECTaccountName, resourceGroupName, subscriptionIdLists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
createINSERTaccountName, containerName, resourceGroupName, subscriptionIdCreates 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.
deleteDELETEaccountName, containerName, resourceGroupName, subscriptionIdDeletes specified container under its account.
_listEXECaccountName, resourceGroupName, subscriptionIdLists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
clear_legal_holdEXECaccountName, containerName, resourceGroupName, subscriptionId, data__tagsClears 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.
extend_immutability_policyEXECIf-Match, accountName, containerName, resourceGroupName, subscriptionId, data__propertiesExtends 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.
leaseEXECaccountName, containerName, resourceGroupName, subscriptionId, data__actionThe 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.
lock_immutability_policyEXECIf-Match, accountName, containerName, resourceGroupName, subscriptionIdSets 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.
object_level_wormEXECaccountName, containerName, resourceGroupName, subscriptionIdThis 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.
set_legal_holdEXECaccountName, containerName, resourceGroupName, subscriptionId, data__tagsSets 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.
updateEXECaccountName, containerName, resourceGroupName, subscriptionIdUpdates 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.