ReplicationLink Class
A replication link.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
ReplicationLink(*, link_type: str | _models.ReplicationLinkType | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
link_type
|
Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. Known values are: "GEO", "NAMED", and "STANDBY". Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource ID. |
|
name
|
Resource name. |
|
type
|
Resource type. |
|
partner_server
|
Resource partner server. |
|
partner_database
|
Resource partner database. |
|
partner_database_id
|
Resource partner database Id. |
|
partner_location
|
Resource partner location. |
|
role
|
Local replication role. Known values are: "Primary", "Secondary", "NonReadableSecondary", "Source", and "Copy". |
|
partner_role
|
Partner replication role. Known values are: "Primary", "Secondary", "NonReadableSecondary", "Source", and "Copy". |
|
replication_mode
|
Replication mode. |
|
start_time
|
Time at which the link was created. |
|
percent_complete
|
Seeding completion percentage for the link. |
|
replication_state
|
Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). Known values are: "PENDING", "SEEDING", "CATCH_UP", and "SUSPENDED". |
|
is_termination_allowed
|
Whether the user is currently allowed to terminate the link. |
|
link_type
|
Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. Known values are: "GEO", "NAMED", and "STANDBY". |