SyncGroup Class

An Azure SQL Database sync group.

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

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
SyncGroup

Constructor

SyncGroup(*, sku: Optional[azure.mgmt.sql.models._models_py3.Sku] = None, interval: Optional[int] = None, conflict_resolution_policy: Optional[Union[str, azure.mgmt.sql.models._sql_management_client_enums.SyncConflictResolutionPolicy]] = None, sync_database_id: Optional[str] = None, hub_database_user_name: Optional[str] = None, hub_database_password: Optional[str] = None, schema: Optional[azure.mgmt.sql.models._models_py3.SyncGroupSchema] = None, enable_conflict_logging: Optional[bool] = None, conflict_logging_retention_in_days: Optional[int] = None, use_private_link_connection: Optional[bool] = None, **kwargs)

Parameters

sku
Sku
Required

The name and capacity of the SKU.

interval
int
Required

Sync interval of the sync group.

conflict_resolution_policy
str or SyncConflictResolutionPolicy
Required

Conflict resolution policy of the sync group. Possible values include: "HubWin", "MemberWin".

sync_database_id
str
Required

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

hub_database_user_name
str
Required

User name for the sync group hub database credential.

hub_database_password
str
Required

Password for the sync group hub database credential.

schema
SyncGroupSchema
Required

Sync schema of the sync group.

enable_conflict_logging
bool
Required

If conflict logging is enabled.

conflict_logging_retention_in_days
int
Required

Conflict logging retention period.

use_private_link_connection
bool
Required

If use private link connection is enabled.

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

last_sync_time
datetime

Last sync time of the sync group.

sync_state
str or SyncGroupState

Sync state of the sync group. Possible values include: "NotReady", "Error", "Warning", "Progressing", "Good".

private_endpoint_name
str

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