AgentPoolProperties Class

Definition

AgentPoolProperties represents the properties of the Kubernetes cluster agent pool.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.AgentPoolPropertiesTypeConverter))]
public class AgentPoolProperties : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IAgentPoolProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.AgentPoolPropertiesTypeConverter))>]
type AgentPoolProperties = class
    interface IAgentPoolProperties
    interface IJsonSerializable
Public Class AgentPoolProperties
Implements IAgentPoolProperties
Inheritance
AgentPoolProperties
Attributes
Implements

Constructors

AgentPoolProperties()

Creates an new AgentPoolProperties instance.

Properties

AdministratorConfigurationAdminUsername

The user name for the administrator that will be applied to the operating systems that run Kubernetes nodes. If not supplied, a user name will be chosen by the service.

AdministratorConfigurationSshPublicKey

The SSH configuration for the operating systems that run the nodes in the Kubernetes cluster. In some cases, specification of public keys may be required to produce a working environment.

AgentOptionHugepagesCount

The number of hugepages to allocate.

AgentOptionHugepagesSize

The size of the hugepages to allocate.

AttachedNetworkConfigurationL2Network

The list of Layer 2 Networks and related configuration for attachment.

AttachedNetworkConfigurationL3Network

The list of Layer 3 Networks and related configuration for attachment.

AttachedNetworkConfigurationTrunkedNetwork

The list of Trunked Networks and related configuration for attachment.

AvailabilityZone

The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.

Count

The number of virtual machines that use this configuration.

DetailedStatus

The current status of the agent pool.

DetailedStatusMessage

The descriptive message about the current detailed status.

KubernetesVersion

The Kubernetes version running in this agent pool.

Label

The labels applied to the nodes in this agent pool.

Mode

The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.

ProvisioningState

The provisioning state of the agent pool.

Taint

The taints applied to the nodes in this agent pool.

UpgradeSettingMaxSurge

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

VMSkuName

The name of the VM SKU that determines the size of resources allocated for node VMs.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AgentPoolProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AgentPoolProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IAgentPoolProperties.

FromJsonString(String)

Creates a new instance of AgentPoolProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AgentPoolProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to