Partilhar via


KubernetesLabel Class

Definition

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

public class KubernetesLabel
public class KubernetesLabel : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.KubernetesLabel>
type KubernetesLabel = class
type KubernetesLabel = class
    interface IJsonModel<KubernetesLabel>
    interface IPersistableModel<KubernetesLabel>
Public Class KubernetesLabel
Public Class KubernetesLabel
Implements IJsonModel(Of KubernetesLabel), IPersistableModel(Of KubernetesLabel)
Inheritance
KubernetesLabel
Implements

Constructors

KubernetesLabel(String, String)

Initializes a new instance of KubernetesLabel.

Properties

Key

The name of the label or taint.

Value

The value of the label or taint.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KubernetesLabel>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<KubernetesLabel>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KubernetesLabel>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KubernetesLabel>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<KubernetesLabel>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to