Condividi tramite


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
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

partner_server
str

Resource partner server.

partner_database
str

Resource partner database.

partner_database_id
str

Resource partner database Id.

partner_location
str

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
str

Replication mode.

start_time

Time at which the link was created.

percent_complete
int

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".