共用方式為


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)

參數

名稱 Description
sku
必要
Sku

SKU 的名稱和容量。

interval
必要
int

同步群組的同步間隔。

conflict_resolution_policy
必要

同步群組的衝突解決原則。 可能的值為:「HubWin」、「MemberWin」。

sync_database_id
必要
str

同步群組中同步資料庫的 ARM 資源識別碼。

hub_database_user_name
必要
str

同步群組中樞資料庫認證的使用者名稱。

hub_database_password
必要
str

同步群組中樞資料庫認證的密碼。

schema
必要

同步群組的同步架構。

enable_conflict_logging
必要

如果已啟用衝突記錄。

conflict_logging_retention_in_days
必要
int

衝突記錄保留期間。

use_private_link_connection
必要

如果已啟用使用私人連結連線。

僅限關鍵字參數

名稱 Description
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
必要

變數

名稱 Description
id
str

資源識別碼。

name
str

資源名稱。

type
str

資源類型。

last_sync_time

同步群組的上次同步時間。

sync_state

同步群組的同步狀態。 可能的值為:「NotReady」、「Error」、「Warning」、「Progressing」、「Good」。

private_endpoint_name
str

如果已啟用私人連結連線,同步群組的私人端點名稱。