次の方法で共有


Microsoft.Sql locations/serverTrustGroups 2025-02-01-preview

Bicep リソース定義

locations/serverTrustGroups リソースの種類は、次をターゲットとする操作と共にデプロイできます。

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

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

リソースの形式

Microsoft.Sql/locations/serverTrustGroups リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.Sql/locations/serverTrustGroups@2025-02-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    groupMembers: [
      {
        serverId: 'string'
      }
    ]
    trustScopes: [
      'string'
    ]
  }
}

プロパティ値

Microsoft.Sql/locations/serverTrustGroups

名前 説明 価値
名前 リソース名 string (必須)
Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、Child resource outside parent resourceをご覧ください。
リソースのシンボル名:ロケーション
プロパティ リソースのプロパティ。 ServerTrustGroupProperties

ServerInfo

名前 説明 価値
serverId サーバー ID。 string (必須)

ServerTrustGroupProperties

名前 説明 価値
groupMembers サーバー信頼グループのグループ メンバー情報。 ServerInfo[] (必須)
trustScopes サーバー信頼グループの信頼スコープ。 次のいずれかを含む文字列配列:
'GlobalTransactions'
'ServiceBroker' (必須)

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

locations/serverTrustGroups リソースの種類は、次をターゲットとする操作と共にデプロイできます。

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

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

リソースの形式

Microsoft.Sql/locations/serverTrustGroups リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.Sql/locations/serverTrustGroups",
  "apiVersion": "2025-02-01-preview",
  "name": "string",
  "properties": {
    "groupMembers": [
      {
        "serverId": "string"
      }
    ],
    "trustScopes": [ "string" ]
  }
}

プロパティ値

Microsoft.Sql/locations/serverTrustGroups

名前 説明 価値
apiVersion API のバージョン '2025-02-01-プレビュー'
名前 リソース名 string (必須)
プロパティ リソースのプロパティ。 ServerTrustGroupProperties
リソースの種類 'Microsoft.Sql/locations/serverTrustGroups'

ServerInfo

名前 説明 価値
serverId サーバー ID。 string (必須)

ServerTrustGroupProperties

名前 説明 価値
groupMembers サーバー信頼グループのグループ メンバー情報。 ServerInfo[] (必須)
trustScopes サーバー信頼グループの信頼スコープ。 次のいずれかを含む文字列配列:
'GlobalTransactions'
'ServiceBroker' (必須)

使用例

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

locations/serverTrustGroups リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループ

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

リソースの形式

Microsoft.Sql/locations/serverTrustGroups リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Sql/locations/serverTrustGroups@2025-02-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      groupMembers = [
        {
          serverId = "string"
        }
      ]
      trustScopes = [
        "string"
      ]
    }
  }
}

プロパティ値

Microsoft.Sql/locations/serverTrustGroups

名前 説明 価値
名前 リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 リソースの種類ID:ロケーション
プロパティ リソースのプロパティ。 ServerTrustGroupProperties
リソースの種類 "Microsoft.Sql/locations/serverTrustGroups@2025-02-01-preview"

ServerInfo

名前 説明 価値
serverId サーバー ID。 string (必須)

ServerTrustGroupProperties

名前 説明 価値
groupMembers サーバー信頼グループのグループ メンバー情報。 ServerInfo[] (必須)
trustScopes サーバー信頼グループの信頼スコープ。 次のいずれかを含む文字列配列:
'GlobalTransactions'
'ServiceBroker' (必須)