{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-log-analytics/json-schema/azure-log-analytics-available-service-tier-schema.json",
  "title": "AvailableServiceTier",
  "description": "Service Tier details.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-log-analytics-availableservicetiers-api-openapi.yml#/components/schemas/AvailableServiceTier",
  "type": "object",
  "properties": {
    "serviceTier": {
      "$ref": "#/$defs/SkuNameEnum",
      "description": "The name of the Service Tier.",
      "readOnly": true
    },
    "enabled": {
      "type": "boolean",
      "description": "True if the Service Tier is enabled for the workspace.",
      "readOnly": true
    },
    "minimumRetention": {
      "type": "integer",
      "format": "int64",
      "description": "The minimum retention for the Service Tier, in days.",
      "readOnly": true
    },
    "maximumRetention": {
      "type": "integer",
      "format": "int64",
      "description": "The maximum retention for the Service Tier, in days.",
      "readOnly": true
    },
    "defaultRetention": {
      "type": "integer",
      "format": "int64",
      "description": "The default retention for the Service Tier, in days.",
      "readOnly": true
    },
    "capacityReservationLevel": {
      "type": "integer",
      "format": "int64",
      "description": "The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier.",
      "readOnly": true
    },
    "lastSkuUpdate": {
      "type": "string",
      "description": "Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier.",
      "readOnly": true
    }
  },
  "$defs": {
    "SkuNameEnum": {
      "type": "string",
      "description": "The name of the Service Tier.",
      "enum": [
        "Free",
        "Standard",
        "Premium",
        "PerNode",
        "PerGB2018",
        "Standalone",
        "CapacityReservation"
      ],
      "x-ms-enum": {
        "name": "SkuNameEnum",
        "modelAsString": true,
        "values": [
          {
            "name": "Free",
            "value": "Free",
            "description": "Free"
          },
          {
            "name": "Standard",
            "value": "Standard",
            "description": "Standard"
          },
          {
            "name": "Premium",
            "value": "Premium",
            "description": "Premium"
          },
          {
            "name": "PerNode",
            "value": "PerNode",
            "description": "PerNode"
          },
          {
            "name": "PerGB2018",
            "value": "PerGB2018",
            "description": "PerGB2018"
          },
          {
            "name": "Standalone",
            "value": "Standalone",
            "description": "Standalone"
          },
          {
            "name": "CapacityReservation",
            "value": "CapacityReservation",
            "description": "CapacityReservation"
          }
        ]
      }
    }
  }
}