{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-kubernetes-service/json-schema/microsoft-azure-kubernetes-service-agent-pool-available-versions-schema.json",
  "title": "AgentPoolAvailableVersions",
  "description": "The list of available versions for an agent pool.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-kubernetes-service-agent-pools-api-openapi.yml#/components/schemas/AgentPoolAvailableVersions",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the agent pool version list.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "The name of the agent pool version list.",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "Type of the agent pool version list.",
      "readOnly": true
    },
    "properties": {
      "$ref": "#/$defs/AgentPoolAvailableVersionsProperties",
      "description": "Properties of agent pool available versions.",
      "x-ms-client-flatten": true
    }
  },
  "required": [
    "properties"
  ],
  "$defs": {
    "AgentPoolAvailableVersionsProperties": {
      "type": "object",
      "description": "The list of available agent pool versions.",
      "properties": {
        "agentPoolVersions": {
          "type": "array",
          "description": "List of versions available for agent pool.",
          "items": {
            "$ref": "#/$defs/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem": {
      "type": "object",
      "description": "Available version information for an agent pool.",
      "properties": {
        "default": {
          "type": "boolean",
          "description": "Whether this version is the default agent pool version."
        },
        "kubernetesVersion": {
          "type": "string",
          "description": "The Kubernetes version (major.minor.patch)."
        },
        "isPreview": {
          "type": "boolean",
          "description": "Whether Kubernetes version is currently in preview."
        }
      }
    }
  }
}