Condividi tramite


SyncGroup Class

An Azure SQL Database sync group.

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

Constructor

SyncGroup(*, sku: _models.Sku | None = None, interval: int | None = None, conflict_resolution_policy: str | _models.SyncConflictResolutionPolicy | None = None, sync_database_id: str | None = None, hub_database_user_name: str | None = None, hub_database_password: str | None = None, schema: _models.SyncGroupSchema | None = None, enable_conflict_logging: bool | None = None, conflict_logging_retention_in_days: int | None = None, use_private_link_connection: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
sku
Sku

The name and capacity of the SKU.

Default value: None
interval
int

Sync interval of the sync group.

Default value: None
conflict_resolution_policy

Conflict resolution policy of the sync group. Known values are: "HubWin" and "MemberWin".

Default value: None
sync_database_id
str

ARM resource id of the sync database in the sync group.

Default value: None
hub_database_user_name
str

User name for the sync group hub database credential.

Default value: None
hub_database_password
str

Password for the sync group hub database credential.

Default value: None
schema

Sync schema of the sync group.

Default value: None
enable_conflict_logging

If conflict logging is enabled.

Default value: None
conflict_logging_retention_in_days
int

Conflict logging retention period.

Default value: None
use_private_link_connection

If use private link connection is enabled.

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

sku
Sku

The name and capacity of the SKU.

interval
int

Sync interval of the sync group.

last_sync_time

Last sync time of the sync group.

conflict_resolution_policy

Conflict resolution policy of the sync group. Known values are: "HubWin" and "MemberWin".

sync_database_id
str

ARM resource id of the sync database in the sync group.

hub_database_user_name
str

User name for the sync group hub database credential.

hub_database_password
str

Password for the sync group hub database credential.

sync_state

Sync state of the sync group. Known values are: "NotReady", "Error", "Warning", "Progressing", and "Good".

schema

Sync schema of the sync group.

enable_conflict_logging

If conflict logging is enabled.

conflict_logging_retention_in_days
int

Conflict logging retention period.

use_private_link_connection

If use private link connection is enabled.

private_endpoint_name
str

Private endpoint name of the sync group if use private link connection is enabled.