{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-kubernetes-service/json-schema/microsoft-azure-kubernetes-service-snapshot-list-result-schema.json",
  "title": "SnapshotListResult",
  "description": "The response of a Snapshot list operation.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-kubernetes-service-snapshots-api-openapi.yml#/components/schemas/SnapshotListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The Snapshot items on this page",
      "items": {
        "$ref": "#/$defs/Snapshot"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "CreationData": {
      "type": "object",
      "description": "Data used when creating a target resource from a source resource.",
      "properties": {
        "sourceResourceId": {
          "type": "string",
          "format": "arm-id",
          "description": "This is the ARM ID of the source object to be used to create the target object."
        }
      }
    },
    "OSSKU": {
      "type": "string",
      "description": "Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.",
      "enum": [
        "Ubuntu",
        "AzureLinux",
        "AzureLinux3",
        "CBLMariner",
        "Windows2019",
        "Windows2022",
        "Ubuntu2204",
        "Windows2025",
        "Ubuntu2404",
        "AzureContainerLinux"
      ],
      "x-ms-enum": {
        "name": "OSSKU",
        "modelAsString": true,
        "values": [
          {
            "name": "Ubuntu",
            "value": "Ubuntu",
            "description": "Use Ubuntu as the OS for node images."
          },
          {
            "name": "AzureLinux",
            "value": "AzureLinux",
            "description": "Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information."
          },
          {
            "name": "AzureLinux3",
            "value": "AzureLinux3",
            "description": "Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version."
          },
          {
            "name": "CBLMariner",
            "value": "CBLMariner",
            "description": "Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead."
          },
          {
            "name": "Windows2019",
            "value": "Windows2019",
            "description": "Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa."
          },
          {
            "name": "Windows2022",
            "value": "Windows2022",
            "description": "Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa."
          },
          {
            "name": "Ubuntu2204",
            "value": "Ubuntu2204",
            "description": "Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions"
          },
          {
            "name": "Windows2025",
            "value": "Windows2025",
            "description": "Use Windows2025 as the OS for node images. Unsupported for system node pools. Windows2025 supports Windows2022 and Windows 2025 containers; it cannot run Windows2019 containers and vice versa."
          },
          {
            "name": "Ubuntu2404",
            "value": "Ubuntu2404",
            "description": "Use Ubuntu2404 as the OS for node images, however, Ubuntu 24.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see see https://aka.ms/aks/supported-ubuntu-versions"
          },
          {
            "name": "AzureContainerLinux",
            "value": "AzureContainerLinux",
            "description": "Use Azure Container Linux as the OS for node images. Azure Container Linux is a container-optimized, security-focused Linux OS built on Azure Linux, with an immutable filesystem. ACL is derived from the Flatcar Container Linux project, building on Flatcar's proven container-first, immutable design, while adding Azure Linux packages, servicing, and deep integration with the Azure and AKS lifecycle. For more information, see https://aka.ms/azurecontainerlinux"
          }
        ]
      }
    },
    "Snapshot": {
      "type": "object",
      "description": "A node pool snapshot resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/SnapshotProperties"
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource"
        }
      ]
    },
    "SnapshotProperties": {
      "type": "object",
      "description": "Properties used to configure a node pool snapshot.",
      "properties": {
        "creationData": {
          "$ref": "#/$defs/CreationData"
        },
        "snapshotType": {
          "type": "string",
          "description": "The type of a snapshot. The default is NodePool.",
          "default": "NodePool",
          "enum": [
            "NodePool"
          ],
          "x-ms-enum": {
            "name": "SnapshotType",
            "modelAsString": true,
            "values": [
              {
                "name": "NodePool",
                "value": "NodePool",
                "description": "The snapshot is a snapshot of a node pool."
              }
            ]
          }
        },
        "kubernetesVersion": {
          "type": "string",
          "description": "The version of Kubernetes.",
          "readOnly": true
        },
        "nodeImageVersion": {
          "type": "string",
          "description": "The version of node image.",
          "readOnly": true
        },
        "osType": {
          "type": "string",
          "description": "The operating system type. The default is Linux.",
          "default": "Linux",
          "enum": [
            "Linux",
            "Windows"
          ],
          "x-ms-enum": {
            "name": "OSType",
            "modelAsString": true,
            "values": [
              {
                "name": "Linux",
                "value": "Linux",
                "description": "Use Linux."
              },
              {
                "name": "Windows",
                "value": "Windows",
                "description": "Use Windows."
              }
            ]
          },
          "readOnly": true
        },
        "osSku": {
          "$ref": "#/$defs/OSSKU"
        },
        "vmSize": {
          "type": "string",
          "description": "The size of the VM.",
          "readOnly": true
        },
        "enableFIPS": {
          "type": "boolean",
          "description": "Whether to use a FIPS-enabled OS.",
          "readOnly": true
        }
      }
    }
  }
}