Freigeben über


KubernetesReference Class

Definition

Kubernetes reference.

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

Constructors

KubernetesReference(String, String)

Initializes a new instance of KubernetesReference.

Properties

ApiGroup

APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

Kind

Kind is the type of resource being referenced.

Name

Name is the name of resource being referenced.

Namespace

Namespace is the namespace of the resource being referenced. This field is required when the resource has a namespace.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KubernetesReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KubernetesReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KubernetesReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KubernetesReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KubernetesReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to