Condividi tramite


PostgreSqlNameAvailabilityResult Class

Definition

Represents a resource name availability.

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

Properties

IsNameAvailable

Indicates whether the resource name is available.

Message

Error Message.

Reason

Reason for name being unavailable.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to