Udostępnij za pośrednictwem


ServerRestartParameter Constructors

Definition

Overloads

ServerRestartParameter()

Initializes a new instance of the ServerRestartParameter class.

ServerRestartParameter(String, Nullable<Int32>)

Initializes a new instance of the ServerRestartParameter class.

ServerRestartParameter()

Initializes a new instance of the ServerRestartParameter class.

public ServerRestartParameter ();
Public Sub New ()

Applies to

ServerRestartParameter(String, Nullable<Int32>)

Initializes a new instance of the ServerRestartParameter class.

public ServerRestartParameter (string restartWithFailover = default, int? maxFailoverSeconds = default);
new Microsoft.Azure.Management.MySQL.FlexibleServers.Models.ServerRestartParameter : string * Nullable<int> -> Microsoft.Azure.Management.MySQL.FlexibleServers.Models.ServerRestartParameter
Public Sub New (Optional restartWithFailover As String = Nothing, Optional maxFailoverSeconds As Nullable(Of Integer) = Nothing)

Parameters

restartWithFailover
String

Whether or not failover to standby server when restarting a server with high availability enabled. Possible values include: 'Enabled', 'Disabled'

maxFailoverSeconds
Nullable<Int32>

The maximum allowed failover time in seconds.

Applies to