Dela via


MySqlFlexibleServerHighAvailability Class

Definition

High availability properties of a server.

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

Constructors

MySqlFlexibleServerHighAvailability()

Initializes a new instance of MySqlFlexibleServerHighAvailability.

Properties

Mode

High availability mode for a server.

StandbyAvailabilityZone

Availability zone of the standby server.

State

The state of server high availability.

Explicit Interface Implementations

IJsonModel<MySqlFlexibleServerHighAvailability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MySqlFlexibleServerHighAvailability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MySqlFlexibleServerHighAvailability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MySqlFlexibleServerHighAvailability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MySqlFlexibleServerHighAvailability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to