Azure Storage Account · JSON Structure

Azure Storage Account Management Policy Rule Structure

An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.

Type: object Properties: 4 Required: 3
AzureBlob StorageCloud StorageFile StorageMicrosoftStorage

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

Properties

definition enabled name type

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-management-policy-rule-structure.json",
  "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.",
  "properties": {
    "definition": {
      "$ref": "#/definitions/ManagementPolicyDefinition",
      "description": "An object that defines the Lifecycle rule."
    },
    "enabled": {
      "description": "Rule is enabled if set to true.",
      "type": "boolean"
    },
    "name": {
      "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.",
      "type": "string"
    },
    "type": {
      "description": "The valid value is Lifecycle",
      "enum": [
        "Lifecycle"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "type"
      }
    }
  },
  "type": "object",
  "required": [
    "name",
    "type",
    "definition"
  ],
  "name": "ManagementPolicyRule"
}