Dela via


NamespacedName Class

Definition

Class to refer resources which contains namespace and name.

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

Constructors

NamespacedName()

Initializes a new instance of NamespacedName.

Properties

Name

Name of the resource.

Namespace

Namespace in which the resource exists.

Explicit Interface Implementations

IJsonModel<NamespacedName>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NamespacedName>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NamespacedName>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NamespacedName>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NamespacedName>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to