InitialAgentPoolConfiguration 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.
InitialAgentPoolConfiguration specifies the configuration of a pool of virtual machines that are initially defined with a Kubernetes cluster.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.InitialAgentPoolConfigurationTypeConverter))]
public class InitialAgentPoolConfiguration : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IInitialAgentPoolConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.InitialAgentPoolConfigurationTypeConverter))>]
type InitialAgentPoolConfiguration = class
interface IInitialAgentPoolConfiguration
interface IJsonSerializable
Public Class InitialAgentPoolConfiguration
Implements IInitialAgentPoolConfiguration
- Inheritance
-
InitialAgentPoolConfiguration
- Attributes
- Implements
Constructors
InitialAgentPoolConfiguration() |
Creates an new InitialAgentPoolConfiguration 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. |
Name |
The name that will be used for the agent pool resource representing this 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 InitialAgentPoolConfiguration. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of InitialAgentPoolConfiguration. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IInitialAgentPoolConfiguration. |
FromJsonString(String) |
Creates a new instance of InitialAgentPoolConfiguration, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of InitialAgentPoolConfiguration into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |