AgentPoolConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
AgentPoolConfiguration specifies the configuration of a pool of nodes.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.AgentPoolConfigurationTypeConverter))]
public class AgentPoolConfiguration : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IAgentPoolConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.AgentPoolConfigurationTypeConverter))>]
type AgentPoolConfiguration = class
interface IAgentPoolConfiguration
interface IJsonSerializable
Public Class AgentPoolConfiguration
Implements IAgentPoolConfiguration
- Inheritance
-
AgentPoolConfiguration
- Attributes
- Implements
Constructors
AgentPoolConfiguration() |
Creates an new AgentPoolConfiguration 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. |
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. |
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 AgentPoolConfiguration. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AgentPoolConfiguration. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IAgentPoolConfiguration. |
FromJsonString(String) |
Creates a new instance of AgentPoolConfiguration, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AgentPoolConfiguration into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |