Microsoft.ContainerService managedClusters/agentPools 2019-02-01

The managedClusters/agentPools resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.ContainerService/managedClusters/agentPools resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.ContainerService/managedClusters/agentPools@2019-02-01' = {
  name: 'string'
  properties: {
    availabilityZones: [ 'string' ]
    count: int
    enableAutoScaling: bool
    maxCount: int
    maxPods: int
    minCount: int
    orchestratorVersion: 'string'
    osDiskSizeGB: int
    osType: 'string'
    type: 'string'
    vmSize: 'string'
    vnetSubnetID: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Properties for the container service agent pool profile. ManagedClusterAgentPoolProfileProperties


Name Description Value
availabilityZones (PREVIEW) Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType. string[]
count Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. int (required)
enableAutoScaling Whether to enable auto-scaler bool
maxCount Maximum number of nodes for auto-scaling int
maxPods Maximum number of pods that can run on a node. int
minCount Minimum number of nodes for auto-scaling int
orchestratorVersion Version of orchestrator specified when creating the managed cluster. string
osDiskSizeGB OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. int
osType OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. 'Linux'
type AgentPoolType represents types of an agent pool. VirtualMachineScaleSets type is still in PREVIEW. 'AvailabilitySet'
vmSize Size of agent VMs. 'Standard_A1'
vnetSubnetID VNet SubnetID specifies the VNet's subnet identifier. string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Deploy an AKS cluster for Azure ML

Deploy to Azure
This template allows you to deploy an entreprise compliant AKS cluster which can be attached to Azure ML