Skip to main content

blob_containers_immutability_policy

Overview

Nameblob_containers_immutability_policy
TypeResource
Idazure.storage.blob_containers_immutability_policy

Fields

NameDatatypeDescription
etagstringResource Etag.
propertiesobjectThe properties of an ImmutabilityPolicy of a blob container.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, containerName, immutabilityPolicyName, resourceGroupName, subscriptionIdGets the existing immutability policy along with the corresponding ETag in response headers and body.
create_or_updateINSERTaccountName, containerName, immutabilityPolicyName, resourceGroupName, subscriptionId, data__propertiesCreates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
deleteDELETEIf-Match, accountName, containerName, immutabilityPolicyName, resourceGroupName, subscriptionIdAborts 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.