Share via


MySqlFlexibleServerRestartParameter Class

Definition

Server restart parameters.

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

Constructors

MySqlFlexibleServerRestartParameter()

Initializes a new instance of MySqlFlexibleServerRestartParameter.

Properties

MaxFailoverSeconds

The maximum allowed failover time in seconds.

RestartWithFailover

Whether or not failover to standby server when restarting a server with high availability enabled.

Explicit Interface Implementations

IJsonModel<MySqlFlexibleServerRestartParameter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MySqlFlexibleServerRestartParameter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MySqlFlexibleServerRestartParameter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MySqlFlexibleServerRestartParameter>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MySqlFlexibleServerRestartParameter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to