Azure Storage Account · JSON Structure

Azure Storage Account Immutability Policy Property Structure

The properties of an ImmutabilityPolicy of a blob container.

Type: object Properties: 2 Required: 1
AzureBlob StorageCloud StorageFile StorageMicrosoftStorage

ImmutabilityPolicyProperty is a JSON Structure definition published by Azure Storage Account, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

immutabilityPeriodSinceCreationInDays state

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-storage-account/refs/heads/main/json-structure/azure-storage-account-immutability-policy-property-structure.json",
  "description": "The properties of an ImmutabilityPolicy of a blob container.",
  "properties": {
    "immutabilityPeriodSinceCreationInDays": {
      "description": "The immutability period for the blobs in the container since the policy creation, in days.",
      "type": "integer"
    },
    "state": {
      "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.",
      "enum": [
        "Locked",
        "Unlocked"
      ],
      "readOnly": true,
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "ImmutabilityPolicyState"
      }
    }
  },
  "type": "object",
  "required": [
    "immutabilityPeriodSinceCreationInDays"
  ],
  "name": "ImmutabilityPolicyProperty"
}