Share via


PostgreSqlCheckMigrationNameAvailabilityContent Class

Definition

Represents a migration name's availability.

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

Constructors

PostgreSqlCheckMigrationNameAvailabilityContent(String, ResourceType)

Initializes a new instance of PostgreSqlCheckMigrationNameAvailabilityContent.

Properties

IsNameAvailable

Indicates whether the resource name is available.

Message

Migration name availability message.

Name

The resource name to verify.

Reason

Migration name availability reason.

ResourceType

The type of the resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlCheckMigrationNameAvailabilityContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlCheckMigrationNameAvailabilityContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlCheckMigrationNameAvailabilityContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlCheckMigrationNameAvailabilityContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlCheckMigrationNameAvailabilityContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to