共用方式為


CdnNameAvailabilityResult Class

Definition

Output of check name availability API.

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

Properties

Message

The detailed error message describing why the name is not available.

NameAvailable

Indicates whether the name is available.

Reason

The reason why the name is not available.

Explicit Interface Implementations

IJsonModel<CdnNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CdnNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CdnNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CdnNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CdnNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to