HighAvailability Class

High availability properties of a server.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
HighAvailability

Constructor

HighAvailability(*, mode: Optional[Union[str, azure.mgmt.rdbms.postgresql_flexibleservers.models._postgre_sql_management_client_enums.HighAvailabilityMode]] = None, standby_availability_zone: Optional[str] = None, **kwargs)

Parameters

mode
str or HighAvailabilityMode
Required

The HA mode for the server. Possible values include: "Disabled", "ZoneRedundant".

standby_availability_zone
str
Required

availability zone information of the standby.

Variables

state
str or ServerHAState

A state of a HA server that is visible to user. Possible values include: "NotEnabled", "CreatingStandby", "ReplicatingData", "FailingOver", "Healthy", "RemovingStandby".