Azure Storage Account · JSON Structure

Azure Storage Account Legal Hold Structure

The LegalHold property of a blob container.

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

LegalHold 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

hasLegalHold tags

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-legal-hold-structure.json",
  "description": "The LegalHold property of a blob container.",
  "properties": {
    "hasLegalHold": {
      "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.",
      "readOnly": true,
      "type": "boolean"
    },
    "tags": {
      "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.",
      "items": {
        "maxLength": 23,
        "minLength": 3,
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object",
  "required": [
    "tags"
  ],
  "name": "LegalHold"
}