EndpointNameAvailabilityContent Class

Definition

Input of CheckNameAvailability API.

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

Constructors

Name Description
EndpointNameAvailabilityContent(String, CdnResourceType)

Initializes a new instance of EndpointNameAvailabilityContent.

Properties

Name Description
AutoGeneratedDomainNameLabelScope

Indicates the endpoint name reuse scope. The default value is TenantReuse.

Name

The resource name to validate.

ResourceType

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

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<EndpointNameAvailabilityContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EndpointNameAvailabilityContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EndpointNameAvailabilityContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EndpointNameAvailabilityContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EndpointNameAvailabilityContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to