{
  "$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-schema.json",
  "title": "AgentPool",
  "description": "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/AgentPool",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/ManagedClusterAgentPoolProfileProperties",
      "description": "Properties of an agent pool.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "AgentPoolArtifactStreamingProfile": {
      "type": "object",
      "description": "Artifact streaming profile for the agent pool.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. To use this feature, container images must also enable artifact streaming on ACR. If not specified, the default is false."
        }
      }
    },
    "AgentPoolGatewayProfile": {
      "type": "object",
      "description": "Profile of the managed cluster gateway agent pool.",
      "properties": {
        "publicIPPrefixSize": {
          "type": "integer",
          "format": "int32",
          "description": "The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.",
          "default": 31,
          "minimum": 28,
          "maximum": 31
        }
      }
    },
    "AgentPoolMode": {
      "type": "string",
      "description": "The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools",
      "enum": [
        "System",
        "User",
        "Gateway"
      ],
      "x-ms-enum": {
        "name": "AgentPoolMode",
        "modelAsString": true,
        "values": [
          {
            "name": "System",
            "value": "System",
            "description": "System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory."
          },
          {
            "name": "User",
            "value": "User",
            "description": "User agent pools are primarily for hosting your application pods."
          },
          {
            "name": "Gateway",
            "value": "Gateway",
            "description": "Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway."
          }
        ]
      }
    },
    "AgentPoolNetworkProfile": {
      "type": "object",
      "description": "Network settings of an agent pool.",
      "properties": {
        "nodePublicIPTags": {
          "type": "array",
          "description": "IPTags of instance-level public IPs.",
          "items": {
            "$ref": "#/$defs/IPTag"
          },
          "x-ms-identifiers": []
        },
        "allowedHostPorts": {
          "type": "array",
          "description": "The port ranges that are allowed to access. The specified ranges are allowed to overlap.",
          "items": {
            "$ref": "#/$defs/PortRange"
          },
          "x-ms-identifiers": []
        },
        "applicationSecurityGroups": {
          "type": "array",
          "description": "The IDs of the application security groups which agent pool will associate when created.",
          "items": {
            "type": "string",
            "format": "arm-id",
            "description": "A type definition that refers the id to an Azure Resource Manager resource.",
            "x-ms-arm-id-details": {
              "allowedResources": [
                {
                  "type": "Microsoft.Network/applicationSecurityGroups"
                }
              ]
            }
          }
        },
        "dranet": {
          "$ref": "#/$defs/DRANETProfile",
          "description": "DRANET settings of an agent pool."
        }
      }
    },
    "AgentPoolSSHAccess": {
      "type": "string",
      "description": "SSH access method of an agent pool.",
      "enum": [
        "LocalUser",
        "Disabled",
        "EntraId"
      ],
      "x-ms-enum": {
        "name": "AgentPoolSSHAccess",
        "modelAsString": true,
        "values": [
          {
            "name": "LocalUser",
            "value": "LocalUser",
            "description": "Can SSH onto the node as a local user using private key."
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "SSH service will be turned off on the node."
          },
          {
            "name": "EntraId",
            "value": "EntraId",
            "description": "SSH to node with EntraId integration. More information can be found under https://aka.ms/aks/ssh/aad"
          }
        ]
      }
    },
    "AgentPoolSecurityProfile": {
      "type": "object",
      "description": "The security settings of an agent pool.",
      "properties": {
        "enableVTPM": {
          "type": "boolean",
          "description": "vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false."
        },
        "enableSecureBoot": {
          "type": "boolean",
          "description": "Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch.  If not specified, the default is false."
        },
        "sshAccess": {
          "$ref": "#/$defs/AgentPoolSSHAccess",
          "description": "SSH access method of an agent pool."
        }
      }
    },
    "AgentPoolStatus": {
      "type": "object",
      "description": "Contains read-only information about the Agent Pool.",
      "properties": {
        "provisioningError": {
          "$ref": "#/$defs/ErrorDetail",
          "description": "The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.",
          "readOnly": true
        }
      }
    },
    "AgentPoolType": {
      "type": "string",
      "description": "The type of Agent Pool.",
      "enum": [
        "VirtualMachineScaleSets",
        "AvailabilitySet",
        "VirtualMachines"
      ],
      "x-ms-enum": {
        "name": "AgentPoolType",
        "modelAsString": true,
        "values": [
          {
            "name": "VirtualMachineScaleSets",
            "value": "VirtualMachineScaleSets",
            "description": "Create an Agent Pool backed by a Virtual Machine Scale Set."
          },
          {
            "name": "AvailabilitySet",
            "value": "AvailabilitySet",
            "description": "Use of this is strongly discouraged."
          },
          {
            "name": "VirtualMachines",
            "value": "VirtualMachines",
            "description": "Create an Agent Pool backed by a Single Instance VM orchestration mode."
          }
        ]
      }
    },
    "AgentPoolUpgradeSettings": {
      "type": "object",
      "description": "Settings for upgrading an agentpool",
      "properties": {
        "maxSurge": {
          "type": "string",
          "description": "The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster"
        },
        "maxUnavailable": {
          "type": "string",
          "description": "The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster"
        },
        "drainTimeoutInMinutes": {
          "type": "integer",
          "format": "int32",
          "description": "The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.",
          "minimum": 1,
          "maximum": 1440
        },
        "nodeSoakDurationInMinutes": {
          "type": "integer",
          "format": "int32",
          "description": "The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.",
          "minimum": 0,
          "maximum": 30
        },
        "undrainableNodeBehavior": {
          "$ref": "#/$defs/UndrainableNodeBehavior",
          "description": "Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes."
        }
      }
    },
    "AgentPoolWindowsProfile": {
      "type": "object",
      "description": "The Windows agent pool's specific profile.",
      "properties": {
        "disableOutboundNat": {
          "type": "boolean",
          "description": "Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled."
        }
      }
    },
    "AutoScaleProfile": {
      "type": "object",
      "description": "Specifications on auto-scaling.",
      "properties": {
        "size": {
          "type": "string",
          "description": "VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'."
        },
        "minCount": {
          "type": "integer",
          "format": "int32",
          "description": "The minimum number of nodes of the specified sizes."
        },
        "maxCount": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of nodes of the specified sizes."
        }
      }
    },
    "Code": {
      "type": "string",
      "description": "Tells whether the cluster is Running or Stopped",
      "enum": [
        "Running",
        "Stopped"
      ],
      "x-ms-enum": {
        "name": "Code",
        "modelAsString": true,
        "values": [
          {
            "name": "Running",
            "value": "Running",
            "description": "The cluster is running."
          },
          {
            "name": "Stopped",
            "value": "Stopped",
            "description": "The cluster is stopped."
          }
        ]
      }
    },
    "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."
        }
      }
    },
    "DRANETMode": {
      "type": "string",
      "description": "The DRANET mode for the agent pool.",
      "enum": [
        "Unmanaged",
        "Managed"
      ],
      "x-ms-enum": {
        "name": "DRANETMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Unmanaged",
            "value": "Unmanaged",
            "description": "DRANET is not managed by AKS."
          },
          {
            "name": "Managed",
            "value": "Managed",
            "description": "DRANET is managed by AKS."
          }
        ]
      }
    },
    "DRANETProfile": {
      "type": "object",
      "description": "DRANET settings of an agent pool.",
      "properties": {
        "mode": {
          "$ref": "#/$defs/DRANETMode",
          "description": "The DRANET mode for the agent pool."
        }
      }
    },
    "ErrorDetail": {
      "type": "object",
      "description": "The error detail.",
      "properties": {
        "code": {
          "type": "string",
          "description": "The error code.",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "The error message.",
          "readOnly": true
        },
        "target": {
          "type": "string",
          "description": "The error target.",
          "readOnly": true
        },
        "details": {
          "type": "array",
          "description": "The error details.",
          "items": {
            "$ref": "#/$defs/ErrorDetail"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "message",
            "target"
          ]
        },
        "additionalInfo": {
          "type": "array",
          "description": "The error additional info.",
          "items": {
            "$ref": "#/$defs/ErrorAdditionalInfo"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "GPUDriver": {
      "type": "string",
      "description": "Whether to install GPU drivers. When it's not specified, default is Install.",
      "enum": [
        "Install",
        "None"
      ],
      "x-ms-enum": {
        "name": "GPUDriver",
        "modelAsString": true,
        "values": [
          {
            "name": "Install",
            "value": "Install",
            "description": "Install driver."
          },
          {
            "name": "None",
            "value": "None",
            "description": "Skip driver install."
          }
        ]
      }
    },
    "GPUInstanceProfile": {
      "type": "string",
      "description": "GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.",
      "enum": [
        "MIG1g",
        "MIG2g",
        "MIG3g",
        "MIG4g",
        "MIG7g"
      ],
      "x-ms-enum": {
        "name": "GPUInstanceProfile",
        "modelAsString": true,
        "values": [
          {
            "name": "MIG1g",
            "value": "MIG1g",
            "description": "MIG 1g GPU instance profile."
          },
          {
            "name": "MIG2g",
            "value": "MIG2g",
            "description": "MIG 2g GPU instance profile."
          },
          {
            "name": "MIG3g",
            "value": "MIG3g",
            "description": "MIG 3g GPU instance profile."
          },
          {
            "name": "MIG4g",
            "value": "MIG4g",
            "description": "MIG 4g GPU instance profile."
          },
          {
            "name": "MIG7g",
            "value": "MIG7g",
            "description": "MIG 7g GPU instance profile."
          }
        ]
      }
    },
    "GPUProfile": {
      "type": "object",
      "description": "GPU settings for the Agent Pool.",
      "properties": {
        "driver": {
          "$ref": "#/$defs/GPUDriver",
          "description": "Whether to install GPU drivers. When it's not specified, default is Install."
        },
        "nvidia": {
          "$ref": "#/$defs/NvidiaGPUProfile",
          "description": "NVIDIA-specific GPU settings."
        }
      }
    },
    "IPTag": {
      "type": "object",
      "description": "Contains the IPTag associated with the object.",
      "properties": {
        "ipTagType": {
          "type": "string",
          "description": "The IP tag type. Example: RoutingPreference."
        },
        "tag": {
          "type": "string",
          "description": "The value of the IP tag associated with the public IP. Example: Internet."
        }
      }
    },
    "KubeletConfig": {
      "type": "object",
      "description": "Kubelet configurations of agent nodes. See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.",
      "properties": {
        "cpuManagerPolicy": {
          "type": "string",
          "description": "The CPU Manager policy to use. The default is 'none'. See [Kubernetes CPU management policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more information. Allowed values are 'none' and 'static'."
        },
        "cpuCfsQuota": {
          "type": "boolean",
          "description": "If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true."
        },
        "cpuCfsQuotaPeriod": {
          "type": "string",
          "description": "The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'."
        },
        "imageGcHighThreshold": {
          "type": "integer",
          "format": "int32",
          "description": "The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%"
        },
        "imageGcLowThreshold": {
          "type": "integer",
          "format": "int32",
          "description": "The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%"
        },
        "topologyManagerPolicy": {
          "type": "string",
          "description": "The Topology Manager policy to use. For more information see [Kubernetes Topology Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'."
        },
        "allowedUnsafeSysctls": {
          "type": "array",
          "description": "Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).",
          "items": {
            "type": "string"
          }
        },
        "failSwapOn": {
          "type": "boolean",
          "description": "If set to true it will make the Kubelet fail to start if swap is enabled on the node."
        },
        "containerLogMaxSizeMB": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum size (e.g. 10Mi) of container log file before it is rotated."
        },
        "containerLogMaxFiles": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of container log files that can be present for a container. The number must be ≥ 2.",
          "minimum": 2
        },
        "podMaxPids": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of processes per pod."
        }
      }
    },
    "KubeletDiskType": {
      "type": "string",
      "description": "Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.",
      "enum": [
        "OS",
        "Temporary"
      ],
      "x-ms-enum": {
        "name": "KubeletDiskType",
        "modelAsString": true,
        "values": [
          {
            "name": "OS",
            "value": "OS",
            "description": "Kubelet will use the OS disk for its data."
          },
          {
            "name": "Temporary",
            "value": "Temporary",
            "description": "Kubelet will use the temporary disk for its data."
          }
        ]
      }
    },
    "LinuxOSConfig": {
      "type": "object",
      "description": "OS configurations of Linux agent nodes. See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.",
      "properties": {
        "sysctls": {
          "$ref": "#/$defs/SysctlConfig",
          "description": "Sysctl settings for Linux agent nodes."
        },
        "transparentHugePageEnabled": {
          "type": "string",
          "description": "Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge)."
        },
        "transparentHugePageDefrag": {
          "type": "string",
          "description": "Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see [Transparent Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge)."
        },
        "swapFileSizeMB": {
          "type": "integer",
          "format": "int32",
          "description": "The size in MB of a swap file that will be created on each node."
        }
      }
    },
    "LocalDNSOverride": {
      "type": "object",
      "description": "Overrides for localDNS profile.",
      "properties": {
        "queryLogging": {
          "type": "string",
          "description": "Log level for DNS queries in localDNS.",
          "default": "Error",
          "enum": [
            "Error",
            "Log"
          ],
          "x-ms-enum": {
            "name": "LocalDNSQueryLogging",
            "modelAsString": true,
            "values": [
              {
                "name": "Error",
                "value": "Error",
                "description": "Enables error logging in localDNS. See [errors plugin](https://coredns.io/plugins/errors) for more information."
              },
              {
                "name": "Log",
                "value": "Log",
                "description": "Enables query logging in localDNS. See [log plugin](https://coredns.io/plugins/log) for more information."
              }
            ]
          }
        },
        "protocol": {
          "type": "string",
          "description": "Enforce TCP or prefer UDP protocol for connections from localDNS to upstream DNS server.",
          "default": "PreferUDP",
          "enum": [
            "PreferUDP",
            "ForceTCP"
          ],
          "x-ms-enum": {
            "name": "LocalDNSProtocol",
            "modelAsString": true,
            "values": [
              {
                "name": "PreferUDP",
                "value": "PreferUDP",
                "description": "Prefer UDP protocol for connections from localDNS to upstream DNS server."
              },
              {
                "name": "ForceTCP",
                "value": "ForceTCP",
                "description": "Enforce TCP protocol for connections from localDNS to upstream DNS server."
              }
            ]
          }
        },
        "forwardDestination": {
          "type": "string",
          "description": "Destination server for DNS queries to be forwarded from localDNS.",
          "default": "ClusterCoreDNS",
          "enum": [
            "ClusterCoreDNS",
            "VnetDNS"
          ],
          "x-ms-enum": {
            "name": "LocalDNSForwardDestination",
            "modelAsString": true,
            "values": [
              {
                "name": "ClusterCoreDNS",
                "value": "ClusterCoreDNS",
                "description": "Forward DNS queries from localDNS to cluster CoreDNS."
              },
              {
                "name": "VnetDNS",
                "value": "VnetDNS",
                "description": "Forward DNS queries from localDNS to DNS server configured in the VNET. A VNET can have multiple DNS servers configured."
              }
            ]
          }
        },
        "forwardPolicy": {
          "type": "string",
          "description": "Forward policy for selecting upstream DNS server. See [forward plugin](https://coredns.io/plugins/forward) for more information.",
          "default": "Sequential",
          "enum": [
            "Sequential",
            "RoundRobin",
            "Random"
          ],
          "x-ms-enum": {
            "name": "LocalDNSForwardPolicy",
            "modelAsString": true,
            "values": [
              {
                "name": "Sequential",
                "value": "Sequential",
                "description": "Implements sequential upstream DNS server selection. See [forward plugin](https://coredns.io/plugins/forward) for more information."
              },
              {
                "name": "RoundRobin",
                "value": "RoundRobin",
                "description": "Implements round robin upstream DNS server selection. See [forward plugin](https://coredns.io/plugins/forward) for more information."
              },
              {
                "name": "Random",
                "value": "Random",
                "description": "Implements random upstream DNS server selection. See [forward plugin](https://coredns.io/plugins/forward) for more information."
              }
            ]
          }
        },
        "maxConcurrent": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum number of concurrent queries. See [forward plugin](https://coredns.io/plugins/forward) for more information.",
          "default": 1000
        },
        "cacheDurationInSeconds": {
          "type": "integer",
          "format": "int32",
          "description": "Cache max TTL in seconds. See [cache plugin](https://coredns.io/plugins/cache) for more information.",
          "default": 3600
        },
        "serveStaleDurationInSeconds": {
          "type": "integer",
          "format": "int32",
          "description": "Serve stale duration in seconds. See [cache plugin](https://coredns.io/plugins/cache) for more information.",
          "default": 3600
        },
        "serveStale": {
          "type": "string",
          "description": "Policy for serving stale data. See [cache plugin](https://coredns.io/plugins/cache) for more information.",
          "default": "Immediate",
          "enum": [
            "Verify",
            "Immediate",
            "Disable"
          ],
          "x-ms-enum": {
            "name": "LocalDNSServeStale",
            "modelAsString": true,
            "values": [
              {
                "name": "Verify",
                "value": "Verify",
                "description": "Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See [cache plugin](https://coredns.io/plugins/cache) for more information."
              },
              {
                "name": "Immediate",
                "value": "Immediate",
                "description": "Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See [cache plugin](https://coredns.io/plugins/cache) for more information."
              },
              {
                "name": "Disable",
                "value": "Disable",
                "description": "Disable serving stale data."
              }
            ]
          }
        }
      }
    },
    "LocalDNSProfile": {
      "type": "object",
      "description": "Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.",
      "properties": {
        "mode": {
          "type": "string",
          "description": "Mode of enablement for localDNS.",
          "default": "Preferred",
          "enum": [
            "Preferred",
            "Required",
            "Disabled"
          ],
          "x-ms-enum": {
            "name": "LocalDNSMode",
            "modelAsString": true,
            "values": [
              {
                "name": "Preferred",
                "value": "Preferred",
                "description": "If the current orchestrator version supports this feature, prefer enabling localDNS."
              },
              {
                "name": "Required",
                "value": "Required",
                "description": "Enable localDNS."
              },
              {
                "name": "Disabled",
                "value": "Disabled",
                "description": "Disable localDNS."
              }
            ]
          }
        },
        "state": {
          "$ref": "#/$defs/LocalDNSState",
          "description": "System-generated state of localDNS.",
          "readOnly": true
        },
        "vnetDNSOverrides": {
          "type": "object",
          "description": "VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).",
          "additionalProperties": {
            "$ref": "#/$defs/LocalDNSOverride"
          }
        },
        "kubeDNSOverrides": {
          "type": "object",
          "description": "KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).",
          "additionalProperties": {
            "$ref": "#/$defs/LocalDNSOverride"
          }
        }
      }
    },
    "LocalDNSState": {
      "type": "string",
      "description": "System-generated state of localDNS.",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "LocalDNSState",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "localDNS is enabled."
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "localDNS is disabled."
          }
        ]
      }
    },
    "ManagedClusterAgentPoolProfileProperties": {
      "type": "object",
      "description": "Properties for the container service agent pool profile.",
      "properties": {
        "eTag": {
          "type": "string",
          "description": "Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.",
          "readOnly": true
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1."
        },
        "vmSize": {
          "type": "string",
          "description": "The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions"
        },
        "osDiskSizeGB": {
          "type": "integer",
          "format": "int32",
          "description": "OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.",
          "minimum": 0,
          "maximum": 2048
        },
        "osDiskType": {
          "$ref": "#/$defs/OSDiskType",
          "description": "The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os)."
        },
        "kubeletDiskType": {
          "$ref": "#/$defs/KubeletDiskType",
          "description": "Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage."
        },
        "workloadRuntime": {
          "$ref": "#/$defs/WorkloadRuntime",
          "description": "Determines the type of workload a node can run."
        },
        "messageOfTheDay": {
          "type": "string",
          "description": "Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script)."
        },
        "vnetSubnetID": {
          "type": "string",
          "format": "arm-id",
          "description": "The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Network/virtualNetworks/subnets"
              }
            ]
          }
        },
        "podSubnetID": {
          "type": "string",
          "format": "arm-id",
          "description": "The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Network/virtualNetworks/subnets"
              }
            ]
          }
        },
        "podIPAllocationMode": {
          "$ref": "#/$defs/PodIPAllocationMode",
          "description": "Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'."
        },
        "maxPods": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of pods that can run on a node."
        },
        "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."
              }
            ]
          }
        },
        "osSKU": {
          "$ref": "#/$defs/OSSKU",
          "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."
        },
        "maxCount": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of nodes for auto-scaling"
        },
        "minCount": {
          "type": "integer",
          "format": "int32",
          "description": "The minimum number of nodes for auto-scaling"
        },
        "enableAutoScaling": {
          "type": "boolean",
          "description": "Whether to enable auto-scaler"
        },
        "scaleDownMode": {
          "$ref": "#/$defs/ScaleDownMode",
          "description": "The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete."
        },
        "type": {
          "$ref": "#/$defs/AgentPoolType",
          "description": "The type of Agent Pool."
        },
        "mode": {
          "$ref": "#/$defs/AgentPoolMode",
          "description": "The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools"
        },
        "orchestratorVersion": {
          "type": "string",
          "description": "The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool)."
        },
        "currentOrchestratorVersion": {
          "type": "string",
          "description": "The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.",
          "readOnly": true
        },
        "nodeImageVersion": {
          "type": "string",
          "description": "The version of the node image. Setting this value triggers an agentPool rollback.\nOnly values from `recentlyUsedVersions` are allowed."
        },
        "upgradeSettings": {
          "$ref": "#/$defs/AgentPoolUpgradeSettings",
          "description": "Settings for upgrading the agentpool"
        },
        "provisioningState": {
          "type": "string",
          "description": "The current deployment or provisioning state.",
          "readOnly": true
        },
        "powerState": {
          "$ref": "#/$defs/PowerState",
          "description": "Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded"
        },
        "availabilityZones": {
          "type": "array",
          "description": "The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.",
          "items": {
            "type": "string"
          }
        },
        "enableNodePublicIP": {
          "type": "boolean",
          "description": "Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false."
        },
        "nodePublicIPPrefixID": {
          "type": "string",
          "format": "arm-id",
          "description": "The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Network/publicIPPrefixes"
              }
            ]
          }
        },
        "scaleSetPriority": {
          "type": "string",
          "description": "The Virtual Machine Scale Set priority.",
          "default": "Regular",
          "enum": [
            "Spot",
            "Regular"
          ],
          "x-ms-enum": {
            "name": "ScaleSetPriority",
            "modelAsString": true,
            "values": [
              {
                "name": "Spot",
                "value": "Spot",
                "description": "Spot priority VMs will be used. There is no SLA for spot nodes. See [spot on AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) for more information."
              },
              {
                "name": "Regular",
                "value": "Regular",
                "description": "Regular VMs will be used."
              }
            ]
          }
        },
        "scaleSetEvictionPolicy": {
          "type": "string",
          "description": "The Virtual Machine Scale Set eviction policy. The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)",
          "default": "Delete",
          "enum": [
            "Delete",
            "Deallocate"
          ],
          "x-ms-enum": {
            "name": "ScaleSetEvictionPolicy",
            "modelAsString": true,
            "values": [
              {
                "name": "Delete",
                "value": "Delete",
                "description": "Nodes in the underlying Scale Set of the node pool are deleted when they're evicted."
              },
              {
                "name": "Deallocate",
                "value": "Deallocate",
                "description": "Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading."
              }
            ]
          }
        },
        "spotMaxPrice": {
          "type": "number",
          "format": "float",
          "description": "The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)",
          "default": -1
        },
        "tags": {
          "type": "object",
          "description": "The tags to be persisted on the agent pool virtual machine scale set.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "nodeLabels": {
          "type": "object",
          "description": "The node labels to be persisted across all nodes in agent pool.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "nodeTaints": {
          "type": "array",
          "description": "The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.",
          "items": {
            "type": "string"
          }
        },
        "proximityPlacementGroupID": {
          "type": "string",
          "format": "arm-id",
          "description": "The ID for Proximity Placement Group.",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Compute/proximityPlacementGroups"
              }
            ]
          }
        },
        "kubeletConfig": {
          "$ref": "#/$defs/KubeletConfig",
          "description": "The Kubelet configuration on the agent pool nodes."
        },
        "linuxOSConfig": {
          "$ref": "#/$defs/LinuxOSConfig",
          "description": "The OS configuration of Linux agent nodes."
        },
        "enableEncryptionAtHost": {
          "type": "boolean",
          "description": "Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption"
        },
        "enableUltraSSD": {
          "type": "boolean",
          "description": "Whether to enable UltraSSD"
        },
        "enableFIPS": {
          "type": "boolean",
          "description": "Whether to use a FIPS-enabled OS. See [Add a FIPS-enabled node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more details."
        },
        "gpuInstanceProfile": {
          "$ref": "#/$defs/GPUInstanceProfile",
          "description": "GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU."
        },
        "creationData": {
          "$ref": "#/$defs/CreationData",
          "description": "CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot."
        },
        "capacityReservationGroupID": {
          "type": "string",
          "format": "arm-id",
          "description": "The fully qualified resource ID of the Capacity Reservation Group to provide virtual machines from a reserved group of Virtual Machines. This is of the form: '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Compute/capacityreservationgroups/{capacityReservationGroupName}' Customers use it to create an agentpool with a specified CRG. For more information see [Capacity Reservation](https://learn.microsoft.com/en-us/azure/virtual-machines/capacity-reservation-overview)",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Compute/CapacityReservationGroups"
              }
            ]
          }
        },
        "hostGroupID": {
          "type": "string",
          "format": "arm-id",
          "description": "The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.Compute/hostGroups"
              }
            ]
          }
        },
        "networkProfile": {
          "$ref": "#/$defs/AgentPoolNetworkProfile",
          "description": "Network-related settings of an agent pool."
        },
        "windowsProfile": {
          "$ref": "#/$defs/AgentPoolWindowsProfile",
          "description": "The Windows agent pool's specific profile."
        },
        "securityProfile": {
          "$ref": "#/$defs/AgentPoolSecurityProfile",
          "description": "The security settings of an agent pool."
        },
        "gpuProfile": {
          "$ref": "#/$defs/GPUProfile",
          "description": "GPU settings for the Agent Pool."
        },
        "gatewayProfile": {
          "$ref": "#/$defs/AgentPoolGatewayProfile",
          "description": "Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway."
        },
        "artifactStreamingProfile": {
          "$ref": "#/$defs/AgentPoolArtifactStreamingProfile",
          "description": "Configuration for using artifact streaming on AKS."
        },
        "virtualMachinesProfile": {
          "$ref": "#/$defs/VirtualMachinesProfile",
          "description": "Specifications on VirtualMachines agent pool."
        },
        "virtualMachineNodesStatus": {
          "type": "array",
          "description": "The status of nodes in a VirtualMachines agent pool.",
          "items": {
            "$ref": "#/$defs/VirtualMachineNodes"
          },
          "x-ms-identifiers": []
        },
        "status": {
          "$ref": "#/$defs/AgentPoolStatus",
          "description": "Contains read-only information about the Agent Pool."
        },
        "localDNSProfile": {
          "$ref": "#/$defs/LocalDNSProfile",
          "description": "Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns."
        }
      }
    },
    "ManagementMode": {
      "type": "string",
      "description": "The Managed GPU experience installs additional components, such as the Data Center GPU Manager (DCGM) metrics for monitoring, on top of the GPU driver for you. For more details of what is installed, check out aka.ms/aks/managed-gpu.",
      "enum": [
        "Unmanaged",
        "Managed"
      ],
      "x-ms-enum": {
        "name": "ManagementMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Unmanaged",
            "value": "Unmanaged",
            "description": "Managed GPU experience is disabled for NVIDIA GPUs."
          },
          {
            "name": "Managed",
            "value": "Managed",
            "description": "Managed GPU experience is enabled for NVIDIA GPUs."
          }
        ]
      }
    },
    "ManualScaleProfile": {
      "type": "object",
      "description": "Specifications on number of machines.",
      "properties": {
        "size": {
          "type": "string",
          "description": "VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'."
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of nodes."
        }
      }
    },
    "NvidiaGPUProfile": {
      "type": "object",
      "description": "NVIDIA-specific GPU settings",
      "properties": {
        "managementMode": {
          "$ref": "#/$defs/ManagementMode",
          "description": "The Managed GPU experience installs additional components, such as the Data Center GPU Manager (DCGM) metrics for monitoring, on top of the GPU driver for you. For more details of what is installed, check out aka.ms/aks/managed-gpu."
        }
      }
    },
    "OSDiskType": {
      "type": "string",
      "description": "The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).",
      "enum": [
        "Managed",
        "Ephemeral"
      ],
      "x-ms-enum": {
        "name": "OSDiskType",
        "modelAsString": true,
        "values": [
          {
            "name": "Managed",
            "value": "Managed",
            "description": "Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency."
          },
          {
            "name": "Ephemeral",
            "value": "Ephemeral",
            "description": "Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades."
          }
        ]
      }
    },
    "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"
          }
        ]
      }
    },
    "PodIPAllocationMode": {
      "type": "string",
      "description": "Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.",
      "enum": [
        "DynamicIndividual",
        "StaticBlock"
      ],
      "x-ms-enum": {
        "name": "PodIPAllocationMode",
        "modelAsString": true,
        "values": [
          {
            "name": "DynamicIndividual",
            "value": "DynamicIndividual",
            "description": "Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode"
          },
          {
            "name": "StaticBlock",
            "value": "StaticBlock",
            "description": "Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger"
          }
        ]
      }
    },
    "PortRange": {
      "type": "object",
      "description": "The port range.",
      "properties": {
        "portStart": {
          "type": "integer",
          "format": "int32",
          "description": "The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.",
          "minimum": 1,
          "maximum": 65535
        },
        "portEnd": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.",
          "minimum": 1,
          "maximum": 65535
        },
        "protocol": {
          "$ref": "#/$defs/Protocol",
          "description": "The network protocol of the port."
        }
      }
    },
    "PowerState": {
      "type": "object",
      "description": "Describes the Power State of the cluster",
      "properties": {
        "code": {
          "$ref": "#/$defs/Code",
          "description": "Tells whether the cluster is Running or Stopped"
        }
      }
    },
    "Protocol": {
      "type": "string",
      "description": "The network protocol of the port.",
      "enum": [
        "TCP",
        "UDP"
      ],
      "x-ms-enum": {
        "name": "Protocol",
        "modelAsString": true,
        "values": [
          {
            "name": "TCP",
            "value": "TCP",
            "description": "TCP protocol."
          },
          {
            "name": "UDP",
            "value": "UDP",
            "description": "UDP protocol."
          }
        ]
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "ScaleDownMode": {
      "type": "string",
      "description": "Describes how VMs are added to or removed from Agent Pools. See [billing states](https://docs.microsoft.com/azure/virtual-machines/states-billing).",
      "enum": [
        "Delete",
        "Deallocate"
      ],
      "x-ms-enum": {
        "name": "ScaleDownMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Delete",
            "value": "Delete",
            "description": "Create new instances during scale up and remove instances during scale down."
          },
          {
            "name": "Deallocate",
            "value": "Deallocate",
            "description": "Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down."
          }
        ]
      }
    },
    "ScaleProfile": {
      "type": "object",
      "description": "Specifications on how to scale a VirtualMachines agent pool.",
      "properties": {
        "manual": {
          "type": "array",
          "description": "Specifications on how to scale the VirtualMachines agent pool to a fixed size.",
          "items": {
            "$ref": "#/$defs/ManualScaleProfile"
          },
          "x-ms-identifiers": []
        },
        "autoscale": {
          "type": "array",
          "description": "Specifications on how to auto-scale the VirtualMachines agent pool within a predefined size range.\nEach profile targets a specific VM SKU and is evaluated independently.\nScaling decisions across profiles are governed by the cluster autoscaler expander,\nconfigurable via `ManagedCluster.properties.autoScalerProfile.expander`.",
          "items": {
            "$ref": "#/$defs/AutoScaleProfile"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "SysctlConfig": {
      "type": "object",
      "description": "Sysctl settings for Linux agent nodes.",
      "properties": {
        "netCoreSomaxconn": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.core.somaxconn."
        },
        "netCoreNetdevMaxBacklog": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.core.netdev_max_backlog."
        },
        "netCoreRmemDefault": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.core.rmem_default."
        },
        "netCoreRmemMax": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.core.rmem_max."
        },
        "netCoreWmemDefault": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.core.wmem_default."
        },
        "netCoreWmemMax": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.core.wmem_max."
        },
        "netCoreOptmemMax": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.core.optmem_max."
        },
        "netIpv4TcpMaxSynBacklog": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.tcp_max_syn_backlog."
        },
        "netIpv4TcpMaxTwBuckets": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.tcp_max_tw_buckets."
        },
        "netIpv4TcpFinTimeout": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.tcp_fin_timeout."
        },
        "netIpv4TcpKeepaliveTime": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.tcp_keepalive_time."
        },
        "netIpv4TcpKeepaliveProbes": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.tcp_keepalive_probes."
        },
        "netIpv4TcpkeepaliveIntvl": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.tcp_keepalive_intvl.",
          "minimum": 10,
          "maximum": 90
        },
        "netIpv4TcpTwReuse": {
          "type": "boolean",
          "description": "Sysctl setting net.ipv4.tcp_tw_reuse."
        },
        "netIpv4IpLocalPortRange": {
          "type": "string",
          "description": "Sysctl setting net.ipv4.ip_local_port_range."
        },
        "netIpv4NeighDefaultGcThresh1": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh1."
        },
        "netIpv4NeighDefaultGcThresh2": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh2."
        },
        "netIpv4NeighDefaultGcThresh3": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh3."
        },
        "netNetfilterNfConntrackMax": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.netfilter.nf_conntrack_max.",
          "minimum": 131072,
          "maximum": 2097152
        },
        "netNetfilterNfConntrackBuckets": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting net.netfilter.nf_conntrack_buckets.",
          "minimum": 65536,
          "maximum": 524288
        },
        "fsInotifyMaxUserWatches": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting fs.inotify.max_user_watches."
        },
        "fsFileMax": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting fs.file-max."
        },
        "fsAioMaxNr": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting fs.aio-max-nr."
        },
        "fsNrOpen": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting fs.nr_open."
        },
        "kernelThreadsMax": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting kernel.threads-max."
        },
        "vmMaxMapCount": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting vm.max_map_count."
        },
        "vmSwappiness": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting vm.swappiness."
        },
        "vmVfsCachePressure": {
          "type": "integer",
          "format": "int32",
          "description": "Sysctl setting vm.vfs_cache_pressure."
        }
      }
    },
    "UndrainableNodeBehavior": {
      "type": "string",
      "description": "Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.",
      "enum": [
        "Cordon",
        "Schedule"
      ],
      "x-ms-enum": {
        "name": "UndrainableNodeBehavior",
        "modelAsString": true,
        "values": [
          {
            "name": "Cordon",
            "value": "Cordon",
            "description": "AKS will cordon the blocked nodes and replace them with surge nodes during upgrade. The blocked nodes will be cordoned and replaced by surge nodes. The blocked nodes will have label 'kubernetes.azure.com/upgrade-status:Quarantined'. A surge node will be retained for each blocked node. A best-effort attempt will be made to delete all other surge nodes. If there are enough surge nodes to replace blocked nodes, then the upgrade operation and the managed cluster will be in failed state. Otherwise, the upgrade operation and the managed cluster will be in canceled state."
          },
          {
            "name": "Schedule",
            "value": "Schedule",
            "description": "AKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes."
          }
        ]
      }
    },
    "VirtualMachineNodes": {
      "type": "object",
      "description": "Current status on a group of nodes of the same vm size.",
      "properties": {
        "size": {
          "type": "string",
          "description": "The VM size of the agents used to host this group of nodes."
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of nodes."
        }
      }
    },
    "VirtualMachinesProfile": {
      "type": "object",
      "description": "Specifications on VirtualMachines agent pool.",
      "properties": {
        "scale": {
          "$ref": "#/$defs/ScaleProfile",
          "description": "Specifications on how to scale a VirtualMachines agent pool."
        }
      }
    },
    "WorkloadRuntime": {
      "type": "string",
      "description": "Determines the type of workload a node can run.",
      "enum": [
        "OCIContainer",
        "WasmWasi",
        "KataVmIsolation"
      ],
      "x-ms-enum": {
        "name": "WorkloadRuntime",
        "modelAsString": true,
        "values": [
          {
            "name": "OCIContainer",
            "value": "OCIContainer",
            "description": "Nodes will use Kubelet to run standard OCI container workloads."
          },
          {
            "name": "WasmWasi",
            "value": "WasmWasi",
            "description": "Nodes will use Krustlet to run WASM workloads using the WASI provider (Preview)."
          },
          {
            "name": "KataVmIsolation",
            "value": "KataVmIsolation",
            "description": "Nodes can use (Kata + Cloud Hypervisor + Hyper-V) to enable Nested VM-based pods. Due to the use Hyper-V, AKS node OS itself is a nested VM (the root OS) of Hyper-V. Thus it can only be used with VM series that support Nested Virtualization such as Dv3 series."
          }
        ]
      }
    }
  }
}