Dela via


PostgreSqlFlexibleServerRestartParameter Class

Definition

Represents server restart parameters.

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

Constructors

PostgreSqlFlexibleServerRestartParameter()

Initializes a new instance of PostgreSqlFlexibleServerRestartParameter.

Properties

FailoverMode

Failover mode.

RestartWithFailover

Indicates whether to restart the server with failover.

Explicit Interface Implementations

IJsonModel<PostgreSqlFlexibleServerRestartParameter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlFlexibleServerRestartParameter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlFlexibleServerRestartParameter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlFlexibleServerRestartParameter>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlFlexibleServerRestartParameter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to