HighAvailability Class
High availability properties of a server.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
HighAvailability(*, mode: str | HighAvailabilityMode | None = None, standby_availability_zone: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
mode
Required
|
The HA mode for the server. Possible values include: "Disabled", "ZoneRedundant". |
standby_availability_zone
Required
|
availability zone information of the standby. |
Keyword-Only Parameters
Name | Description |
---|---|
mode
Required
|
|
standby_availability_zone
Required
|
|
Variables
Name | Description |
---|---|
state
|
str or
ServerHAState
A state of a HA server that is visible to user. Possible values include: "NotEnabled", "CreatingStandby", "ReplicatingData", "FailingOver", "Healthy", "RemovingStandby". |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python