Sdílet prostřednictvím


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerHighAvailability Method

Definition

Initializes a new instance of PostgreSqlFlexibleServerHighAvailability.

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

Parameters

mode
Nullable<PostgreSqlFlexibleServerHighAvailabilityMode>

The HA mode for the server.

state
Nullable<PostgreSqlFlexibleServerHAState>

A state of a HA server that is visible to user.

standbyAvailabilityZone
String

availability zone information of the standby.

Returns

A new PostgreSqlFlexibleServerHighAvailability instance for mocking.

Applies to