Azure Blob Storage · Schema

RetentionPolicy

The retention policy configuration.

AzureBlobsCloud StorageMicrosoftObject StorageStorage

Properties

Name Type Description
Enabled boolean Whether the retention policy is enabled
Days integer Number of days data is retained
View JSON Schema on GitHub

JSON Schema

azure-blob-storage-retentionpolicy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RetentionPolicy",
  "title": "RetentionPolicy",
  "type": "object",
  "description": "The retention policy configuration.",
  "properties": {
    "Enabled": {
      "type": "boolean",
      "description": "Whether the retention policy is enabled"
    },
    "Days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365,
      "description": "Number of days data is retained"
    }
  }
}