Azure Storage Accounts · JSON Structure

Azure Storage Accounts Immutability Policy Property Structure

The properties of an ImmutabilityPolicy of a blob container.

Type: object Properties: 2 Required: 1
AzureBlob StorageCloud StorageFile StorageQueue StorageStorageTable Storage

ImmutabilityPolicyProperty is a JSON Structure definition published by Azure Storage Accounts, 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-accounts/refs/heads/main/json-structure/azure-storage-accounts-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"
}