DistributedAvailabilityGroupDatabase Class
Database specific information.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
DistributedAvailabilityGroupDatabase(*, database_name: str | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
database_name
|
The name of the database in link. Default value: None
|
Variables
| Name | Description |
|---|---|
|
database_name
|
The name of the database in link. |
|
instance_replica_id
|
Managed instance replica id. |
|
partner_replica_id
|
SQL server replica id. |
|
replica_state
|
Current link state. |
|
seeding_progress
|
Seeding progress. |
|
synchronization_health
|
Link health state. Known values are: "NOT_HEALTHY", "PARTIALLY_HEALTHY", and "HEALTHY". |
|
connected_state
|
Link connected state. Known values are: "DISCONNECTED" and "CONNECTED". |
|
last_received_lsn
|
Last received LSN. |
|
last_received_time
|
Last received LSN time. |
|
last_sent_lsn
|
Last sent LSN. |
|
last_sent_time
|
Last sent LSN time. |
|
last_commit_lsn
|
Last commit LSN. |
|
last_commit_time
|
Last commit LSN time. |
|
last_hardened_lsn
|
Last hardened LSN. |
|
last_hardened_time
|
Last hardened LSN time. |
|
last_backup_lsn
|
Last backup LSN. |
|
last_backup_time
|
Last backup LSN time. |
|
most_recent_link_error
|
The most recent link connection error description. |
|
partner_auth_cert_validity
|
SQL server certificate validity. |
|
instance_send_replication_lag_seconds
|
Replication lag when Managed Instance link side is primary. |
|
instance_redo_replication_lag_seconds
|
Redo lag when Managed Instance link side is primary. |