Freigeben über


KubernetesLabel Class

Definition

KubernetesLabel represents a single entry for a Kubernetes label or taint such as those used on a node or pod.

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

Constructors

KubernetesLabel()

Creates an new KubernetesLabel instance.

Properties

Key

The name of the label or taint.

Value

The value of the label or taint.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KubernetesLabel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KubernetesLabel.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of KubernetesLabel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to