FailoverGroup Class
A failover group.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.sql.models._models_py3.ProxyResourceFailoverGroup
Constructor
FailoverGroup(*, tags: Dict[str, str] | None = None, read_write_endpoint: FailoverGroupReadWriteEndpoint | None = None, read_only_endpoint: FailoverGroupReadOnlyEndpoint | None = None, partner_servers: List[PartnerInfo] | None = None, databases: List[str] | None = None, **kwargs)
Parameters
Name | Description |
---|---|
tags
Required
|
A set of tags. Resource tags. |
read_write_endpoint
Required
|
Read-write endpoint of the failover group instance. |
read_only_endpoint
Required
|
Read-only endpoint of the failover group instance. |
partner_servers
Required
|
List of partner server information for the failover group. |
databases
Required
|
List of databases in the failover group. |
Keyword-Only Parameters
Name | Description |
---|---|
tags
Required
|
|
read_write_endpoint
Required
|
|
read_only_endpoint
Required
|
|
partner_servers
Required
|
|
databases
Required
|
|
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
location
|
Resource location. |
replication_role
|
Local replication role of the failover group instance. Possible values include: "Primary", "Secondary". |
replication_state
|
Replication state of the failover group instance. |
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Python