다음을 통해 공유


SqlNameAvailabilityResponse Class

Definition

The result of a name availability check.

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

Properties

IsAvailable

True if the name is available, otherwise false.

Message

A message explaining why the name is unavailable. Will be undefined if the name is available.

Name

The name whose availability was checked.

Reason

The reason code explaining why the name is unavailable. Will be undefined if the name is available.

Explicit Interface Implementations

IJsonModel<SqlNameAvailabilityResponse>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SqlNameAvailabilityResponse>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlNameAvailabilityResponse>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlNameAvailabilityResponse>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SqlNameAvailabilityResponse>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to