你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SyncGroup 类

Azure SQL数据库同步组。

变量仅由服务器填充,发送请求时将被忽略。

继承
azure.mgmt.sql.models._models_py3.ProxyResource
SyncGroup

构造函数

SyncGroup(*, sku: Sku | None = None, interval: int | None = None, conflict_resolution_policy: str | SyncConflictResolutionPolicy | None = None, sync_database_id: str | None = None, hub_database_user_name: str | None = None, hub_database_password: str | None = None, schema: 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)

参数

名称 说明
sku
必需
Sku

SKU 的名称和容量。

interval
必需
int

同步组的同步间隔。

conflict_resolution_policy
必需

同步组的冲突解决策略。 可能的值包括:“HubWin”、“MemberWin”。

sync_database_id
必需
str

同步组中同步数据库的 ARM 资源 ID。

hub_database_user_name
必需
str

同步组中心数据库凭据的用户名。

hub_database_password
必需
str

同步组中心数据库凭据的密码。

schema
必需

同步组的同步架构。

enable_conflict_logging
必需

如果启用了冲突日志记录。

conflict_logging_retention_in_days
必需
int

冲突日志记录保留期。

use_private_link_connection
必需

如果使用专用链接连接,则启用。

仅限关键字的参数

名称 说明
sku
必需
interval
必需
conflict_resolution_policy
必需
sync_database_id
必需
hub_database_user_name
必需
hub_database_password
必需
schema
必需
enable_conflict_logging
必需
conflict_logging_retention_in_days
必需
use_private_link_connection
必需

变量

名称 说明
id
str

资源 ID。

name
str

资源名称。

type
str

资源类型。

last_sync_time

同步组的上次同步时间。

sync_state

同步组的同步状态。 可能的值包括:“NotReady”、“Error”、“Warning”、“Progressing”、“Good”。

private_endpoint_name
str

如果启用了使用专用链接连接,则同步组的专用终结点名称。