Microsoft。SQLサーバー/データベース/syncGroups/syncメンバー

Bicepリソースの定義

servers/databases/syncGroups/syncMembers リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoftを作るために。Sql/servers/databases/syncGroups/syncMembersリソースで、テンプレートに以下のBicepを追加してください。

resource symbolicname 'Microsoft.Sql/servers/databases/syncGroups/syncMembers@2025-02-01-preview' = {
  parent: resourceSymbolicName
  identity: {
    tenantId: 'string'
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  name: 'string'
  properties: {
    databaseName: 'string'
    databaseType: 'string'
    password: 'string'
    serverName: 'string'
    sqlServerDatabaseId: 'string'
    syncAgentId: 'string'
    syncDirection: 'string'
    syncMemberAzureDatabaseResourceId: 'string'
    usePrivateLinkConnection: bool
    userName: 'string'
  }
}

プロパティ値

Microsoft。Sql/servers/databases/syncGroups/syncMembers

Name Description Value
ID メンバー認証情報を同期します。 DataSyncParticipantIdentity
name リソース名 string (必須)
Bicepでは、子リソースの親リソースを指定することができます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「親リソースの外部 子リソース」を参照してください。
種類のリソースのシンボリック名: servers/databases/syncGroups
properties リソースのプロパティ。 SyncMemberProperties

DataSyncParticipantIdentity

Name Description Value
tenantId DataSync参加者識別テナントID string

Constraints:
最小長 = 36
最大長 = 36
パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
Datasync識別タイプ 'None'
'SystemAssigned'
'SystemAssignedUserAssigned'
'UserAssigned' (必須)
userAssignedIdentities 使用するユーザー割り当て ID のリソース ID DataSyncParticipantIdentityUserAssignedIdentities

DataSyncParticipantIdentityUserAssignedIdentities

Name Description Value

DataSyncParticipantUserAssignedIdentity

Name Description Value

SyncMemberProperties

Name Description Value
databaseName 同期メンバー内のメンバー データベースのデータベース名。 文字列
databaseType 同期メンバーのデータベースの種類。 'AzureSqlDatabase'
'SqlServerDatabase'
パスワード 同期メンバー内のメンバー データベースのパスワード。 文字列
serverName 同期メンバー内のメンバー データベースのサーバー名 文字列
sqlServerDatabaseId SQL Server の同期メンバーのデータベースIDです。 string

Constraints:
最小長 = 36
最大長 = 36
パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
syncAgentId 同期メンバー内の同期エージェントの ARM リソース ID。 文字列
syncDirection 同期メンバーの同期の方向。 'Bidirectional'
'OneWayHubToMember'
'OneWayMemberToHub'
syncMemberAzureDatabaseResourceId Azureの同期メンバー用、Sync メンバーの論理データベースのARMリソースID。 文字列
usePrivateLinkConnection プライベート リンク接続を使用するかどうか。 bool
userName 同期メンバー内のメンバー データベースのユーザー名。 文字列

ARM テンプレート リソース定義

servers/databases/syncGroups/syncMembers リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoftを作るために。Sql/servers/databases/syncGroups/syncMembersリソースで、テンプレートに以下のJSONを追加してください。

{
  "type": "Microsoft.Sql/servers/databases/syncGroups/syncMembers",
  "apiVersion": "2025-02-01-preview",
  "name": "string",
  "identity": {
    "tenantId": "string",
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "properties": {
    "databaseName": "string",
    "databaseType": "string",
    "password": "string",
    "serverName": "string",
    "sqlServerDatabaseId": "string",
    "syncAgentId": "string",
    "syncDirection": "string",
    "syncMemberAzureDatabaseResourceId": "string",
    "usePrivateLinkConnection": "bool",
    "userName": "string"
  }
}

プロパティ値

Microsoft。Sql/servers/databases/syncGroups/syncMembers

Name Description Value
apiVersion API のバージョン '2025-02-01-プレビュー'
ID メンバー認証情報を同期します。 DataSyncParticipantIdentity
name リソース名 string (必須)
properties リソースのプロパティ。 SyncMemberProperties
リソースの種類 「Microsoft。Sql/servers/databases/syncGroups/syncMembers'

DataSyncParticipantIdentity

Name Description Value
tenantId DataSync参加者識別テナントID string

Constraints:
最小長 = 36
最大長 = 36
パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
Datasync識別タイプ 'None'
'SystemAssigned'
'SystemAssignedUserAssigned'
'UserAssigned' (必須)
userAssignedIdentities 使用するユーザー割り当て ID のリソース ID DataSyncParticipantIdentityUserAssignedIdentities

DataSyncParticipantIdentityUserAssignedIdentities

Name Description Value

DataSyncParticipantUserAssignedIdentity

Name Description Value

SyncMemberProperties

Name Description Value
databaseName 同期メンバー内のメンバー データベースのデータベース名。 文字列
databaseType 同期メンバーのデータベースの種類。 'AzureSqlDatabase'
'SqlServerDatabase'
パスワード 同期メンバー内のメンバー データベースのパスワード。 文字列
serverName 同期メンバー内のメンバー データベースのサーバー名 文字列
sqlServerDatabaseId SQL Server の同期メンバーのデータベースIDです。 string

Constraints:
最小長 = 36
最大長 = 36
パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
syncAgentId 同期メンバー内の同期エージェントの ARM リソース ID。 文字列
syncDirection 同期メンバーの同期の方向。 'Bidirectional'
'OneWayHubToMember'
'OneWayMemberToHub'
syncMemberAzureDatabaseResourceId Azureの同期メンバー用、Sync メンバーの論理データベースのARMリソースID。 文字列
usePrivateLinkConnection プライベート リンク接続を使用するかどうか。 bool
userName 同期メンバー内のメンバー データベースのユーザー名。 文字列

使用例

Terraform (AzAPI プロバイダー) リソース定義

servers/databases/syncGroups/syncMembers リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループ

各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。

リソースの形式

Microsoftを作るために。Sql/servers/databases/syncGroups/syncMembersリソースで、テンプレートに以下のTerraformを追加してください。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Sql/servers/databases/syncGroups/syncMembers@2025-02-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  body = {
    properties = {
      databaseName = "string"
      databaseType = "string"
      password = "string"
      serverName = "string"
      sqlServerDatabaseId = "string"
      syncAgentId = "string"
      syncDirection = "string"
      syncMemberAzureDatabaseResourceId = "string"
      usePrivateLinkConnection = bool
      userName = "string"
    }
  }
}

プロパティ値

Microsoft。Sql/servers/databases/syncGroups/syncMembers

Name Description Value
ID メンバー認証情報を同期します。 DataSyncParticipantIdentity
name リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: servers/databases/syncGroups
properties リソースのプロパティ。 SyncMemberProperties
リソースの種類 「Microsoft。Sql/servers/databases/syncGroups/syncMembers@2025-02-01-preview"

DataSyncParticipantIdentity

Name Description Value
tenantId DataSync参加者識別テナントID string

Constraints:
最小長 = 36
最大長 = 36
パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
Datasync識別タイプ 'None'
'SystemAssigned'
'SystemAssignedUserAssigned'
'UserAssigned' (必須)
userAssignedIdentities 使用するユーザー割り当て ID のリソース ID DataSyncParticipantIdentityUserAssignedIdentities

DataSyncParticipantIdentityUserAssignedIdentities

Name Description Value

DataSyncParticipantUserAssignedIdentity

Name Description Value

SyncMemberProperties

Name Description Value
databaseName 同期メンバー内のメンバー データベースのデータベース名。 文字列
databaseType 同期メンバーのデータベースの種類。 'AzureSqlDatabase'
'SqlServerDatabase'
パスワード 同期メンバー内のメンバー データベースのパスワード。 文字列
serverName 同期メンバー内のメンバー データベースのサーバー名 文字列
sqlServerDatabaseId SQL Server の同期メンバーのデータベースIDです。 string

Constraints:
最小長 = 36
最大長 = 36
パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
syncAgentId 同期メンバー内の同期エージェントの ARM リソース ID。 文字列
syncDirection 同期メンバーの同期の方向。 'Bidirectional'
'OneWayHubToMember'
'OneWayMemberToHub'
syncMemberAzureDatabaseResourceId Azureの同期メンバー用、Sync メンバーの論理データベースのARMリソースID。 文字列
usePrivateLinkConnection プライベート リンク接続を使用するかどうか。 bool
userName 同期メンバー内のメンバー データベースのユーザー名。 文字列