{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-akscluster-list-result-schema.json",
  "title": "AKSClusterListResult",
  "description": "The response of a AKSCluster list operation.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-aksclusteroperations-api-openapi.yml#/components/schemas/AKSClusterListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The AKSCluster items on this page",
      "items": {
        "$ref": "#/$defs/AKSCluster"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AKSCluster": {
      "type": "object",
      "description": "ARM model of AKS Cluster.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AKSClusterProperties",
          "description": "The resource-specific properties for this resource.",
          "x-ms-client-flatten": true,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "eTag": {
          "type": "string",
          "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "AKSClusterProperties": {
      "type": "object",
      "description": "ARM model of AKS Cluster Properties.",
      "allOf": [
        {
          "$ref": "#/$defs/Cluster"
        }
      ]
    },
    "Cluster": {
      "type": "object",
      "description": "Data model of Cluster.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Gets name.",
          "readOnly": true
        },
        "nodePools": {
          "type": "array",
          "description": "Gets list of node pools.",
          "items": {
            "$ref": "#/$defs/NodePool"
          },
          "readOnly": true
        },
        "region": {
          "type": "string",
          "description": "Gets region.",
          "readOnly": true
        },
        "userNodePoolCount": {
          "type": "integer",
          "format": "int32",
          "description": "Gets user node pool count.",
          "readOnly": true
        },
        "userNodeCount": {
          "type": "integer",
          "format": "int32",
          "description": "Gets user node count.",
          "readOnly": true
        },
        "systemNodePoolCount": {
          "type": "integer",
          "format": "int32",
          "description": "Gets system node pool count.",
          "readOnly": true
        },
        "systemNodeCount": {
          "type": "integer",
          "format": "int32",
          "description": "Gets system node count.",
          "readOnly": true
        },
        "podCount": {
          "type": "integer",
          "format": "int32",
          "description": "Gets pod count.",
          "readOnly": true
        },
        "monthlyCost": {
          "type": "number",
          "format": "float",
          "description": "Gets monthly cost.",
          "readOnly": true
        }
      },
      "required": [
        "name",
        "nodePools",
        "region",
        "userNodePoolCount",
        "userNodeCount",
        "systemNodePoolCount",
        "systemNodeCount",
        "podCount",
        "monthlyCost"
      ]
    },
    "NodePool": {
      "type": "object",
      "description": "Data model of Node Pool.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Gets id.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Gets name.",
          "readOnly": true
        },
        "clusterName": {
          "type": "string",
          "description": "Gets cluster name.",
          "readOnly": true
        },
        "mode": {
          "$ref": "#/$defs/NodePoolMode",
          "description": "Gets mode.",
          "readOnly": true
        },
        "osType": {
          "$ref": "#/$defs/OSType",
          "description": "Gets os type.",
          "readOnly": true
        },
        "armSkuName": {
          "type": "string",
          "description": "Gets arm sku name.",
          "readOnly": true
        },
        "nodeCount": {
          "type": "integer",
          "format": "int32",
          "description": "Gets node count.",
          "readOnly": true
        },
        "podCount": {
          "type": "integer",
          "format": "int32",
          "description": "Gets pod count.",
          "readOnly": true
        },
        "monthlyCost": {
          "type": "number",
          "format": "float",
          "description": "Gets monthly cost.",
          "readOnly": true
        },
        "podApproxMonthlyCost": {
          "type": "number",
          "format": "float",
          "description": "Gets pod approximate monthly cost.",
          "readOnly": true
        }
      },
      "required": [
        "id",
        "name",
        "clusterName",
        "mode",
        "osType",
        "armSkuName",
        "nodeCount",
        "podCount",
        "monthlyCost",
        "podApproxMonthlyCost"
      ]
    },
    "NodePoolMode": {
      "type": "string",
      "description": "Node Pool Mode.",
      "enum": [
        "User",
        "System"
      ],
      "x-ms-enum": {
        "name": "NodePoolMode",
        "modelAsString": true,
        "values": [
          {
            "name": "User",
            "value": "User",
            "description": "Indicates User node pool."
          },
          {
            "name": "System",
            "value": "System",
            "description": "Indicates System node pool."
          }
        ]
      }
    },
    "OSType": {
      "type": "string",
      "description": "Operating System Type.",
      "enum": [
        "Linux",
        "Windows"
      ],
      "x-ms-enum": {
        "name": "OSType",
        "modelAsString": true,
        "values": [
          {
            "name": "Linux",
            "value": "Linux",
            "description": "Linux OS Type."
          },
          {
            "name": "Windows",
            "value": "Windows",
            "description": "Windows OS Type."
          }
        ]
      }
    }
  }
}