Server Trust Groups - Get

サーバー信頼グループを取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}?api-version=2021-11-01

URI パラメーター

名前 / 必須 説明
locationName
path True

string

リソースが配置されているリージョンの名前。

resourceGroupName
path True

string

リソースが含まれているリソース グループの名前。 この値は、Azure リソース マネージャー API またはポータルから取得できます。

serverTrustGroupName
path True

string

サーバー信頼グループの名前。

subscriptionId
path True

string

Azure サブスクリプションを識別するサブスクリプション ID。

api-version
query True

string

要求で使用する API のバージョン。

応答

名前 説明
200 OK

ServerTrustGroup

指定したサーバー信頼グループを正常に取得しました。

Other Status Codes

エラー応答: ***

  • 404 ServerTrustGroupNotFound - 指定した名前のサーバー信頼グループが存在しません。

  • 404 ResourceNotFound - 要求されたリソースが見つかりませんでした。

  • 406 ServerTrustGroupMemberIsBusy - グループ メンバー '{0}' が有効な状態ではなく、サーバー信頼グループ操作を実行できません。

  • 406 ServerTrustGroupInInvalidState - SQL 信頼グループ '{0}' はビジー状態であり、要求された操作を実行できません。

  • 406 ServerTrustGroupMemberNotFound - グループ メンバー '{0}' が見つからないため、サーバー信頼グループ操作を実行できません。

Get server trust group

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/Japan East/serverTrustGroups/server-trust-group-test?api-version=2021-11-01

Sample Response

{
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/locations/Japan East/serverTrustGroups/server-trust-group-test",
  "name": "server-trust-group-test",
  "properties": {
    "groupMembers": [
      {
        "serverId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/managedInstance-1"
      },
      {
        "serverId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/managedInstances/managedInstance-2"
      }
    ],
    "trustScopes": [
      "GlobalTransactions",
      "ServiceBroker"
    ]
  },
  "type": "Microsoft.Sql/locations/serverTrustGroups"
}

定義

名前 説明
ServerInfo

サーバー信頼グループのサーバー情報。

ServerTrustGroup

サーバー信頼グループ。

TrustScopes

サーバー信頼グループの信頼スコープ。

ServerInfo

サーバー信頼グループのサーバー情報。

名前 説明
serverId

string

サーバー ID。

ServerTrustGroup

サーバー信頼グループ。

名前 説明
id

string

リソースの ID

name

string

リソース名。

properties.groupMembers

ServerInfo[]

サーバー信頼グループのグループ メンバー情報。

properties.trustScopes

TrustScopes[]

サーバー信頼グループの信頼スコープ。

type

string

リソースの種類。

TrustScopes

サーバー信頼グループの信頼スコープ。

名前 説明
GlobalTransactions

string

ServiceBroker

string