ArmNetworkCloudModelFactory.KubernetesClusterNode 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.
Initializes a new instance of KubernetesClusterNode.
public static Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterNode KubernetesClusterNode (string agentPoolId = default, string availabilityZone = default, string bareMetalMachineId = default, long? cpuCores = default, Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterNodeDetailedStatus? detailedStatus = default, string detailedStatusMessage = default, long? diskSizeGB = default, string image = default, string kubernetesVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> labels = default, long? memorySizeGB = default, Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentPoolMode? mode = default, string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.NetworkAttachment> networkAttachments = default, Azure.ResourceManager.NetworkCloud.Models.KubernetesNodePowerState? powerState = default, Azure.ResourceManager.NetworkCloud.Models.KubernetesNodeRole? role = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> taints = default, string vmSkuName = default);
static member KubernetesClusterNode : string * string * string * Nullable<int64> * Nullable<Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterNodeDetailedStatus> * string * Nullable<int64> * string * string * seq<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> * Nullable<int64> * Nullable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudAgentPoolMode> * string * seq<Azure.ResourceManager.NetworkCloud.Models.NetworkAttachment> * Nullable<Azure.ResourceManager.NetworkCloud.Models.KubernetesNodePowerState> * Nullable<Azure.ResourceManager.NetworkCloud.Models.KubernetesNodeRole> * seq<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel> * string -> Azure.ResourceManager.NetworkCloud.Models.KubernetesClusterNode
Public Shared Function KubernetesClusterNode (Optional agentPoolId As String = Nothing, Optional availabilityZone As String = Nothing, Optional bareMetalMachineId As String = Nothing, Optional cpuCores As Nullable(Of Long) = Nothing, Optional detailedStatus As Nullable(Of KubernetesClusterNodeDetailedStatus) = Nothing, Optional detailedStatusMessage As String = Nothing, Optional diskSizeGB As Nullable(Of Long) = Nothing, Optional image As String = Nothing, Optional kubernetesVersion As String = Nothing, Optional labels As IEnumerable(Of KubernetesLabel) = Nothing, Optional memorySizeGB As Nullable(Of Long) = Nothing, Optional mode As Nullable(Of NetworkCloudAgentPoolMode) = Nothing, Optional name As String = Nothing, Optional networkAttachments As IEnumerable(Of NetworkAttachment) = Nothing, Optional powerState As Nullable(Of KubernetesNodePowerState) = Nothing, Optional role As Nullable(Of KubernetesNodeRole) = Nothing, Optional taints As IEnumerable(Of KubernetesLabel) = Nothing, Optional vmSkuName As String = Nothing) As KubernetesClusterNode
Parameters
- agentPoolId
- String
The resource ID of the agent pool that this node belongs to. This value is not represented on control plane nodes.
- availabilityZone
- String
The availability zone this node is running within.
- bareMetalMachineId
- String
The resource ID of the bare metal machine that hosts this node.
The number of CPU cores configured for this node, derived from the VM SKU specified.
- detailedStatus
- Nullable<KubernetesClusterNodeDetailedStatus>
The detailed state of this node.
- detailedStatusMessage
- String
The descriptive message about the current detailed status.
- image
- String
The machine image used to deploy this node.
- kubernetesVersion
- String
The currently running version of Kubernetes and bundled features running on this node.
- labels
- IEnumerable<KubernetesLabel>
The list of labels on this node that have been assigned to the agent pool containing this node.
The amount of memory configured for this node, derived from the vm SKU specified.
The mode of the agent pool containing this node. Not applicable for control plane nodes.
- name
- String
The name of this node, as realized in the Kubernetes cluster.
- networkAttachments
- IEnumerable<NetworkAttachment>
The NetworkAttachments made to this node.
- powerState
- Nullable<KubernetesNodePowerState>
The power state of this node.
- role
- Nullable<KubernetesNodeRole>
The role of this node in the cluster.
- taints
- IEnumerable<KubernetesLabel>
The list of taints that have been assigned to the agent pool containing this node.
- vmSkuName
- String
The VM SKU name that was used to create this cluster node.
Returns
A new KubernetesClusterNode instance for mocking.
Applies to
Azure SDK for .NET