ManagedClusterAgentPoolProfile Constructors

Definition

Overloads

ManagedClusterAgentPoolProfile()

Initializes a new instance of the ManagedClusterAgentPoolProfile class.

ManagedClusterAgentPoolProfile(String, Nullable<Int32>, ContainerServiceVMSizeTypes, Nullable<Int32>, OSDiskType, KubeletDiskType, String, String, Nullable<Int32>, OSType, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, AgentPoolType, AgentPoolMode, String, String, AgentPoolUpgradeSettings, String, PowerState, IList<String>, Nullable<Boolean>, ScaleSetPriority, ScaleSetEvictionPolicy, Nullable<Double>, IDictionary<String, String>, IDictionary<String,String>, IList<String>, String, KubeletConfig, LinuxOSConfig, Nullable<Boolean>)

Initializes a new instance of the ManagedClusterAgentPoolProfile class.

ManagedClusterAgentPoolProfile()

Initializes a new instance of the ManagedClusterAgentPoolProfile class.

public ManagedClusterAgentPoolProfile ();
Public Sub New ()

Applies to

ManagedClusterAgentPoolProfile(String, Nullable<Int32>, ContainerServiceVMSizeTypes, Nullable<Int32>, OSDiskType, KubeletDiskType, String, String, Nullable<Int32>, OSType, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, AgentPoolType, AgentPoolMode, String, String, AgentPoolUpgradeSettings, String, PowerState, IList<String>, Nullable<Boolean>, ScaleSetPriority, ScaleSetEvictionPolicy, Nullable<Double>, IDictionary<String, String>, IDictionary<String,String>, IList<String>, String, KubeletConfig, LinuxOSConfig, Nullable<Boolean>)

Initializes a new instance of the ManagedClusterAgentPoolProfile class.

public ManagedClusterAgentPoolProfile (string name, int? count = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.ContainerServiceVMSizeTypes vmSize = default, int? osDiskSizeGB = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.OSDiskType osDiskType = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletDiskType kubeletDiskType = default, string vnetSubnetID = default, string podSubnetID = default, int? maxPods = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.OSType osType = default, int? maxCount = default, int? minCount = default, bool? enableAutoScaling = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolType type = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolMode mode = default, string orchestratorVersion = default, string nodeImageVersion = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolUpgradeSettings upgradeSettings = default, string provisioningState = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.PowerState powerState = default, System.Collections.Generic.IList<string> availabilityZones = default, bool? enableNodePublicIP = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.ScaleSetPriority scaleSetPriority = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.ScaleSetEvictionPolicy scaleSetEvictionPolicy = default, double? spotMaxPrice = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> nodeLabels = default, System.Collections.Generic.IList<string> nodeTaints = default, string proximityPlacementGroupID = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletConfig kubeletConfig = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.LinuxOSConfig linuxOSConfig = default, bool? enableEncryptionAtHost = default);
new Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterAgentPoolProfile : string * Nullable<int> * Microsoft.Azure.Management.ContainerService.Fluent.Models.ContainerServiceVMSizeTypes * Nullable<int> * Microsoft.Azure.Management.ContainerService.Fluent.Models.OSDiskType * Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletDiskType * string * string * Nullable<int> * Microsoft.Azure.Management.ContainerService.Fluent.Models.OSType * Nullable<int> * Nullable<int> * Nullable<bool> * Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolType * Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolMode * string * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolUpgradeSettings * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.PowerState * System.Collections.Generic.IList<string> * Nullable<bool> * Microsoft.Azure.Management.ContainerService.Fluent.Models.ScaleSetPriority * Microsoft.Azure.Management.ContainerService.Fluent.Models.ScaleSetEvictionPolicy * Nullable<double> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletConfig * Microsoft.Azure.Management.ContainerService.Fluent.Models.LinuxOSConfig * Nullable<bool> -> Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterAgentPoolProfile
Public Sub New (name As String, Optional count As Nullable(Of Integer) = Nothing, Optional vmSize As ContainerServiceVMSizeTypes = Nothing, Optional osDiskSizeGB As Nullable(Of Integer) = Nothing, Optional osDiskType As OSDiskType = Nothing, Optional kubeletDiskType As KubeletDiskType = Nothing, Optional vnetSubnetID As String = Nothing, Optional podSubnetID As String = Nothing, Optional maxPods As Nullable(Of Integer) = Nothing, Optional osType As OSType = Nothing, Optional maxCount As Nullable(Of Integer) = Nothing, Optional minCount As Nullable(Of Integer) = Nothing, Optional enableAutoScaling As Nullable(Of Boolean) = Nothing, Optional type As AgentPoolType = Nothing, Optional mode As AgentPoolMode = Nothing, Optional orchestratorVersion As String = Nothing, Optional nodeImageVersion As String = Nothing, Optional upgradeSettings As AgentPoolUpgradeSettings = Nothing, Optional provisioningState As String = Nothing, Optional powerState As PowerState = Nothing, Optional availabilityZones As IList(Of String) = Nothing, Optional enableNodePublicIP As Nullable(Of Boolean) = Nothing, Optional scaleSetPriority As ScaleSetPriority = Nothing, Optional scaleSetEvictionPolicy As ScaleSetEvictionPolicy = Nothing, Optional spotMaxPrice As Nullable(Of Double) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional nodeLabels As IDictionary(Of String, String) = Nothing, Optional nodeTaints As IList(Of String) = Nothing, Optional proximityPlacementGroupID As String = Nothing, Optional kubeletConfig As KubeletConfig = Nothing, Optional linuxOSConfig As LinuxOSConfig = Nothing, Optional enableEncryptionAtHost As Nullable(Of Boolean) = Nothing)

Parameters

name
String

Unique name of the agent pool profile in the context of the subscription and resource group.

count
Nullable<Int32>

Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value is 1.

vmSize
ContainerServiceVMSizeTypes

Size of agent VMs. Possible values include: 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2', 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r', 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2', 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6'

osDiskSizeGB
Nullable<Int32>

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.

osDiskType
OSDiskType

OS disk type to be used for machines in a given agent pool. Allowed values are 'Ephemeral' and 'Managed'. Defaults to 'Managed'. May not be changed after creation. Possible values include: 'Managed', 'Ephemeral'

kubeletDiskType
KubeletDiskType

KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS disk for data. Possible values include: 'OS'

vnetSubnetID
String

VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe pods

podSubnetID
String

Pod SubnetID specifies the VNet's subnet identifier for pods.

maxPods
Nullable<Int32>

Maximum number of pods that can run on a node.

osType
OSType

OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'

maxCount
Nullable<Int32>

Maximum number of nodes for auto-scaling

minCount
Nullable<Int32>

Minimum number of nodes for auto-scaling

enableAutoScaling
Nullable<Boolean>

Whether to enable auto-scaler

type
AgentPoolType

AgentPoolType represents types of an agent pool. Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet'

mode
AgentPoolMode

AgentPoolMode represents mode of an agent pool. Possible values include: 'System', 'User'

orchestratorVersion
String

Version of orchestrator specified when creating the managed cluster.

nodeImageVersion
String

Version of node image

upgradeSettings
AgentPoolUpgradeSettings

Settings for upgrading the agentpool

provisioningState
String

The current deployment or provisioning state, which only appears in the response.

powerState
PowerState

Describes whether the Agent Pool is Running or Stopped

availabilityZones
IList<String>

Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType.

enableNodePublicIP
Nullable<Boolean>

Enable public IP for nodes

scaleSetPriority
ScaleSetPriority

ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular. Possible values include: 'Spot', 'Regular'

scaleSetEvictionPolicy
ScaleSetEvictionPolicy

ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale set. Default to Delete. Possible values include: 'Delete', 'Deallocate'

spotMaxPrice
Nullable<Double>

SpotMaxPrice to be used to specify the maximum price you are willing to pay in US Dollars. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.

tags
IDictionary<String,String>

Agent pool tags to be persisted on the agent pool virtual machine scale set.

nodeLabels
IDictionary<String,String>

Agent pool node labels to be persisted across all nodes in agent pool.

nodeTaints
IList<String>

Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.

proximityPlacementGroupID
String

The ID for Proximity Placement Group.

kubeletConfig
KubeletConfig

KubeletConfig specifies the configuration of kubelet on agent nodes.

linuxOSConfig
LinuxOSConfig

LinuxOSConfig specifies the OS configuration of linux agent nodes.

enableEncryptionAtHost
Nullable<Boolean>

Whether to enable EncryptionAtHost

Applies to