Share via


PostgreSqlFlexibleServerHighAvailability Class

Definition

High availability properties of a server.

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

Constructors

PostgreSqlFlexibleServerHighAvailability()

Initializes a new instance of PostgreSqlFlexibleServerHighAvailability.

Properties

Mode

The HA mode for the server.

StandbyAvailabilityZone

availability zone information of the standby.

State

A state of a HA server that is visible to user.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PostgreSqlFlexibleServerHighAvailability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlFlexibleServerHighAvailability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlFlexibleServerHighAvailability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlFlexibleServerHighAvailability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlFlexibleServerHighAvailability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to