Server Trust Groups - Get
Gets a server trust group.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/serverTrustGroups/{serverTrustGroupName}?api-version=2021-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
The name of the region where the resource is located. |
resource
|
path | True |
string |
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
server
|
path | True |
string |
The name of the server trust group. |
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully retrieved the the specified server trust group. |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
Get server trust group
Sample request
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"
}
Definitions
Name | Description |
---|---|
Server |
Server info for the server trust group. |
Server |
A server trust group. |
Trust |
Trust scope of the server trust group. |
ServerInfo
Server info for the server trust group.
Name | Type | Description |
---|---|---|
serverId |
string |
Server Id. |
ServerTrustGroup
A server trust group.
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
name |
string |
Resource name. |
properties.groupMembers |
Group members information for the server trust group. |
|
properties.trustScopes |
Trust scope of the server trust group. |
|
type |
string |
Resource type. |
TrustScopes
Trust scope of the server trust group.
Name | Type | Description |
---|---|---|
GlobalTransactions |
string |
|
ServiceBroker |
string |