Share via


ResourceNameValidationContent Class

Definition

Name and Type of the Resource.

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

Constructors

ResourceNameValidationContent(String, ResourceType)

Initializes a new instance of ResourceNameValidationContent.

Properties

Name

Name of the resource.

ResourceType

The type of the resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ResourceNameValidationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceNameValidationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceNameValidationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceNameValidationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceNameValidationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to