Microsoft Azure · Schema

RetentionPolicy

The retention policy.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
Enabled boolean Indicates whether a retention policy is enabled.
Days integer The number of days that metrics or logging data should be retained.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-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.",
  "properties": {
    "Enabled": {
      "type": "boolean",
      "description": "Indicates whether a retention policy is enabled.",
      "example": true
    },
    "Days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365,
      "description": "The number of days that metrics or logging data should be retained.",
      "example": 10
    }
  }
}