共用方式為


CdnNameAvailabilityContent Class

Definition

Input of CheckNameAvailability API.

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

Constructors

CdnNameAvailabilityContent(String, CdnResourceType)

Initializes a new instance of CdnNameAvailabilityContent.

Properties

Name

The resource name to validate.

ResourceType

The type of the resource whose name is to be validated.

Explicit Interface Implementations

IJsonModel<CdnNameAvailabilityContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CdnNameAvailabilityContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CdnNameAvailabilityContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CdnNameAvailabilityContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CdnNameAvailabilityContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to