ArmNetworkCloudModelFactory.InitialAgentPoolConfiguration Method
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.
public static Azure.ResourceManager.NetworkCloud.Models.InitialAgentPoolConfiguration InitialAgentPoolConfiguration(Azure.ResourceManager.NetworkCloud.Models.AdministratorConfiguration administratorConfiguration = default, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentConfiguration agentOptions = default, Azure.ResourceManager.NetworkCloud.Models.AttachedNetworkConfiguration attachedNetworkConfiguration = default, System.Collections.Generic.IEnumerable<string> availabilityZones = default, long count = 0, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> labels = default, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentPoolMode mode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> taints = default, Azure.ResourceManager.NetworkCloud.Models.AgentPoolUpgradeSettings upgradeSettings = default, string vmSkuName = default, string name = default);
static member InitialAgentPoolConfiguration : Azure.ResourceManager.NetworkCloud.Models.AdministratorConfiguration * Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentConfiguration * Azure.ResourceManager.NetworkCloud.Models.AttachedNetworkConfiguration * seq<string> * int64 * seq<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> * Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentPoolMode * seq<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> * Azure.ResourceManager.NetworkCloud.Models.AgentPoolUpgradeSettings * string * string -> Azure.ResourceManager.NetworkCloud.Models.InitialAgentPoolConfiguration
Public Shared Function InitialAgentPoolConfiguration (Optional administratorConfiguration As AdministratorConfiguration = Nothing, Optional agentOptions As NetworkCloudAgentConfiguration = Nothing, Optional attachedNetworkConfiguration As AttachedNetworkConfiguration = Nothing, Optional availabilityZones As IEnumerable(Of String) = Nothing, Optional count As Long = 0, Optional labels As IEnumerable(Of KubernetesLabel) = Nothing, Optional mode As NetworkCloudAgentPoolMode = Nothing, Optional taints As IEnumerable(Of KubernetesLabel) = Nothing, Optional upgradeSettings As AgentPoolUpgradeSettings = Nothing, Optional vmSkuName As String = Nothing, Optional name As String = Nothing) As InitialAgentPoolConfiguration
Parameters
- administratorConfiguration
- AdministratorConfiguration
The administrator credentials to be used for the nodes in this agent pool.
- agentOptions
- NetworkCloudAgentConfiguration
The configurations that will be applied to each agent in this agent pool.
- attachedNetworkConfiguration
- AttachedNetworkConfiguration
The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.
- availabilityZones
- IEnumerable<String>
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
- Int64
The number of virtual machines that use this configuration.
- labels
- IEnumerable<KubernetesLabel>
The labels applied to the nodes in this agent pool.
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.
- taints
- IEnumerable<KubernetesLabel>
The taints applied to the nodes in this agent pool.
- upgradeSettings
- AgentPoolUpgradeSettings
The configuration of the agent pool.
- vmSkuName
- String
The name of the VM SKU that determines the size of resources allocated for node VMs.
- name
- String
The name that will be used for the agent pool resource representing this agent pool.
Returns
A new InitialAgentPoolConfiguration instance for mocking.