Condividi tramite


FailoverGroup Class

A failover group.

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

Constructor

FailoverGroup(*, tags: dict[str, str] | None = None, read_write_endpoint: _models.FailoverGroupReadWriteEndpoint | None = None, read_only_endpoint: _models.FailoverGroupReadOnlyEndpoint | None = None, partner_servers: list['_models.PartnerInfo'] | None = None, databases: list[str] | None = None, secondary_type: str | _models.FailoverGroupDatabasesSecondaryType | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
read_write_endpoint

Read-write endpoint of the failover group instance.

Default value: None
read_only_endpoint

Read-only endpoint of the failover group instance.

Default value: None
partner_servers

List of partner server information for the failover group.

Default value: None
databases

List of databases in the failover group.

Default value: None
secondary_type

Databases secondary type on partner server. Known values are: "Geo" and "Standby".

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

read_write_endpoint

Read-write endpoint of the failover group instance.

read_only_endpoint

Read-only endpoint of the failover group instance.

replication_role

Local replication role of the failover group instance. Known values are: "Primary" and "Secondary".

replication_state
str

Replication state of the failover group instance.

partner_servers

List of partner server information for the failover group.

databases

List of databases in the failover group.

secondary_type

Databases secondary type on partner server. Known values are: "Geo" and "Standby".