Share via


EndpointNameAvailabilityResult Class

Definition

Output of check name availability API.

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

Properties

AvailableHostname

Returns the available hostname generated based on the AutoGeneratedDomainNameLabelScope when the name is available, otherwise it returns empty string.

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<EndpointNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EndpointNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EndpointNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EndpointNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EndpointNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to