GetAgentPoolResult

data class GetAgentPoolResult(val availabilityZones: List<String>? = null, val azureApiVersion: String, val capacityReservationGroupID: String? = null, val count: Int? = null, val creationData: CreationDataResponse? = null, val currentOrchestratorVersion: String, val eTag: String, val enableAutoScaling: Boolean? = null, val enableEncryptionAtHost: Boolean? = null, val enableFIPS: Boolean? = null, val enableNodePublicIP: Boolean? = null, val enableUltraSSD: Boolean? = null, val gpuInstanceProfile: String? = null, val hostGroupID: String? = null, val id: String, val kubeletConfig: KubeletConfigResponse? = null, val kubeletDiskType: String? = null, val linuxOSConfig: LinuxOSConfigResponse? = null, val maxCount: Int? = null, val maxPods: Int? = null, val messageOfTheDay: String? = null, val minCount: Int? = null, val mode: String? = null, val name: String, val networkProfile: AgentPoolNetworkProfileResponse? = null, val nodeImageVersion: String, val nodeLabels: Map<String, String>? = null, val nodePublicIPPrefixID: String? = null, val nodeTaints: List<String>? = null, val orchestratorVersion: String? = null, val osDiskSizeGB: Int? = null, val osDiskType: String? = null, val osSKU: String? = null, val osType: String? = null, val podSubnetID: String? = null, val powerState: PowerStateResponse? = null, val provisioningState: String, val proximityPlacementGroupID: String? = null, val scaleDownMode: String? = null, val scaleSetEvictionPolicy: String? = null, val scaleSetPriority: String? = null, val securityProfile: AgentPoolSecurityProfileResponse? = null, val spotMaxPrice: Double? = null, val tags: Map<String, String>? = null, val type: String, val upgradeSettings: AgentPoolUpgradeSettingsResponse? = null, val vmSize: String? = null, val vnetSubnetID: String? = null, val windowsProfile: AgentPoolWindowsProfileResponse? = null, val workloadRuntime: String? = null)

Agent Pool.

Constructors

Link copied to clipboard
constructor(availabilityZones: List<String>? = null, azureApiVersion: String, capacityReservationGroupID: String? = null, count: Int? = null, creationData: CreationDataResponse? = null, currentOrchestratorVersion: String, eTag: String, enableAutoScaling: Boolean? = null, enableEncryptionAtHost: Boolean? = null, enableFIPS: Boolean? = null, enableNodePublicIP: Boolean? = null, enableUltraSSD: Boolean? = null, gpuInstanceProfile: String? = null, hostGroupID: String? = null, id: String, kubeletConfig: KubeletConfigResponse? = null, kubeletDiskType: String? = null, linuxOSConfig: LinuxOSConfigResponse? = null, maxCount: Int? = null, maxPods: Int? = null, messageOfTheDay: String? = null, minCount: Int? = null, mode: String? = null, name: String, networkProfile: AgentPoolNetworkProfileResponse? = null, nodeImageVersion: String, nodeLabels: Map<String, String>? = null, nodePublicIPPrefixID: String? = null, nodeTaints: List<String>? = null, orchestratorVersion: String? = null, osDiskSizeGB: Int? = null, osDiskType: String? = null, osSKU: String? = null, osType: String? = null, podSubnetID: String? = null, powerState: PowerStateResponse? = null, provisioningState: String, proximityPlacementGroupID: String? = null, scaleDownMode: String? = null, scaleSetEvictionPolicy: String? = null, scaleSetPriority: String? = null, securityProfile: AgentPoolSecurityProfileResponse? = null, spotMaxPrice: Double? = null, tags: Map<String, String>? = null, type: String, upgradeSettings: AgentPoolUpgradeSettingsResponse? = null, vmSize: String? = null, vnetSubnetID: String? = null, windowsProfile: AgentPoolWindowsProfileResponse? = null, workloadRuntime: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

AKS will associate the specified agent pool with the Capacity Reservation Group.

Link copied to clipboard
val count: Int? = null

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.

Link copied to clipboard

CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.

Link copied to clipboard

If orchestratorVersion is a fully specified version , this field will be exactly equal to it. If orchestratorVersion is , this field will contain the full version being used.

Link copied to clipboard

Whether to enable auto-scaler

Link copied to clipboard

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

Link copied to clipboard
val enableFIPS: Boolean? = null

See Add a FIPS-enabled node pool for more details.

Link copied to clipboard

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. The default is false.

Link copied to clipboard
val enableUltraSSD: Boolean? = null

Whether to enable UltraSSD

Link copied to clipboard

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.

Link copied to clipboard

GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.

Link copied to clipboard
val hostGroupID: String? = null

This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.

Link copied to clipboard
val id: String

Resource ID.

Link copied to clipboard

The Kubelet configuration on the agent pool nodes.

Link copied to clipboard
val kubeletDiskType: String? = null

Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.

Link copied to clipboard

The OS configuration of Linux agent nodes.

Link copied to clipboard
val maxCount: Int? = null

The maximum number of nodes for auto-scaling

Link copied to clipboard
val maxPods: Int? = null

The maximum number of pods that can run on a node.

Link copied to clipboard
val messageOfTheDay: String? = null

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).

Link copied to clipboard
val minCount: Int? = null

The minimum number of nodes for auto-scaling

Link copied to clipboard
val mode: String? = null

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

Link copied to clipboard

The name of the resource that is unique within a resource group. This name can be used to access the resource.

Link copied to clipboard

Network-related settings of an agent pool.

Link copied to clipboard

The version of node image

Link copied to clipboard
val nodeLabels: Map<String, String>? = null

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

Link copied to clipboard

This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}

Link copied to clipboard
val nodeTaints: List<String>? = null

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

Link copied to clipboard

Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same 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.

Link copied to clipboard
val osDiskSizeGB: Int? = null

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.

Link copied to clipboard
val osDiskType: String? = null

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.

Link copied to clipboard
val osSKU: String? = null

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.

Link copied to clipboard
val osType: String? = null

The operating system type. The default is Linux.

Link copied to clipboard
val podSubnetID: String? = null

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}

Link copied to clipboard

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

Link copied to clipboard

The current deployment or provisioning state.

Link copied to clipboard

The ID for Proximity Placement Group.

Link copied to clipboard
val scaleDownMode: String? = null

This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.

Link copied to clipboard

This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.

Link copied to clipboard

The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.

Link copied to clipboard

The security settings of an agent pool.

Link copied to clipboard
val spotMaxPrice: Double? = null

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

Link copied to clipboard
val tags: Map<String, String>? = null

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

Link copied to clipboard

Resource type

Link copied to clipboard

Settings for upgrading the agentpool

Link copied to clipboard
val vmSize: String? = null

VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. If this field is not specified, AKS will attempt to find an appropriate VM SKU for your pool, based on quota and capacity. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions

Link copied to clipboard
val vnetSubnetID: String? = null

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}

Link copied to clipboard

The Windows agent pool's specific profile.

Link copied to clipboard
val workloadRuntime: String? = null

Determines the type of workload a node can run.