共用方式為


HostNameAvailabilityContent Class

Definition

Input of CheckHostNameAvailability API.

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

Constructors

HostNameAvailabilityContent(String)

Initializes a new instance of HostNameAvailabilityContent.

Properties

HostName

The host name to validate.

Explicit Interface Implementations

IJsonModel<HostNameAvailabilityContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HostNameAvailabilityContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HostNameAvailabilityContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HostNameAvailabilityContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HostNameAvailabilityContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to