다음을 통해 공유


ArmMySqlFlexibleServersModelFactory.MySqlFlexibleServerHighAvailability Method

Definition

Initializes a new instance of MySqlFlexibleServerHighAvailability.

public static Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerHighAvailability MySqlFlexibleServerHighAvailability (Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerHighAvailabilityMode? mode = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerHighAvailabilityState? state = default, string standbyAvailabilityZone = default);
static member MySqlFlexibleServerHighAvailability : Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerHighAvailabilityMode> * Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerHighAvailabilityState> * string -> Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerHighAvailability
Public Shared Function MySqlFlexibleServerHighAvailability (Optional mode As Nullable(Of MySqlFlexibleServerHighAvailabilityMode) = Nothing, Optional state As Nullable(Of MySqlFlexibleServerHighAvailabilityState) = Nothing, Optional standbyAvailabilityZone As String = Nothing) As MySqlFlexibleServerHighAvailability

Parameters

mode
Nullable<MySqlFlexibleServerHighAvailabilityMode>

High availability mode for a server.

state
Nullable<MySqlFlexibleServerHighAvailabilityState>

The state of server high availability.

standbyAvailabilityZone
String

Availability zone of the standby server.

Returns

A new MySqlFlexibleServerHighAvailability instance for mocking.

Applies to