Partager via


KubernetesClusterNode Class

Definition

KubernetesClusterNode represents the details of a node in a Kubernetes cluster.

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

Constructors

KubernetesClusterNode()

Creates an new KubernetesClusterNode instance.

Properties

AgentPoolId

The resource ID of the agent pool that this node belongs to. This value is not represented on control plane nodes.

AvailabilityZone

The availability zone this node is running within.

BareMetalMachineId

The resource ID of the bare metal machine that hosts this node.

CpuCore

The number of CPU cores configured for this node, derived from the VM SKU specified.

DetailedStatus

The detailed state of this node.

DetailedStatusMessage

The descriptive message about the current detailed status.

DiskSizeGb

The size of the disk configured for this node.

Image

The machine image used to deploy this node.

KubernetesVersion

The currently running version of Kubernetes and bundled features running on this node.

Label

The list of labels on this node that have been assigned to the agent pool containing this node.

MemorySizeGb

The amount of memory configured for this node, derived from the vm SKU specified.

Mode

The mode of the agent pool containing this node. Not applicable for control plane nodes.

Name

The name of this node, as realized in the Kubernetes cluster.

NetworkAttachment

The NetworkAttachments made to this node.

PowerState

The power state of this node.

Role

The role of this node in the cluster.

Taint

The list of taints that have been assigned to the agent pool containing this node.

VMSkuName

The VM SKU name that was used to create this cluster node.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KubernetesClusterNode.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KubernetesClusterNode.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of KubernetesClusterNode into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to