Server Azure AD Administrators - List By Server
Hiermee haalt u een lijst met Azure Active Directory-beheerders op een server op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators?api-version=2023-08-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string |
De naam van de resourcegroep die de resource bevat. U kunt deze waarde verkrijgen via de Azure Resource Manager-API of de portal. |
|
server
|
path | True |
string |
De naam van de server. |
|
subscription
|
path | True |
string |
De abonnements-id waarmee een Azure-abonnement wordt geïdentificeerd. |
|
api-version
|
query | True |
string |
De API-versie die moet worden gebruikt voor de aanvraag. |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
De lijst met Azure Active Directory-beheerders is opgehaald. |
|
| Other Status Codes |
Foutreacties: ***
|
Voorbeelden
Gets a list of Azure Active Directory administrator.
Voorbeeldaanvraag
Voorbeeldrespons
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/administrators/ActiveDirectory",
"name": "ActiveDirectory",
"type": "Microsoft.Sql/servers/administrators",
"properties": {
"administratorType": "ActiveDirectory",
"login": "bob@contoso.com",
"sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c",
"tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c",
"azureADOnlyAuthentication": true
}
}
]
}
Definities
| Name | Description |
|---|---|
|
Administrator |
Een lijst met Active Directory-beheerders. |
|
Administrator |
Type van de serverbeheerder. |
|
Error |
Aanvullende informatie over de resourcebeheerfout. |
|
Error |
De foutdetails. |
|
Error |
Foutreactie |
|
Server |
Azure Active Directory-beheerder. |
AdministratorListResult
Een lijst met Active Directory-beheerders.
| Name | Type | Description |
|---|---|---|
| nextLink |
string |
Koppeling om de volgende pagina met resultaten op te halen. |
| value |
Matrix met resultaten. |
AdministratorType
Type van de serverbeheerder.
| Waarde | Description |
|---|---|
| ActiveDirectory |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
| Name | Type | Description |
|---|---|---|
| info |
object |
De aanvullende informatie. |
| type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
De fout bevat aanvullende informatie. |
|
| code |
string |
De foutcode. |
| details |
De foutdetails. |
|
| message |
string |
Het foutbericht. |
| target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
| Name | Type | Description |
|---|---|---|
| error |
Het foutobject. |
ServerAzureADAdministrator
Azure Active Directory-beheerder.
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource-id. |
| name |
string |
Resourcenaam. |
| properties.administratorType |
Type van de serverbeheerder. |
|
| properties.azureADOnlyAuthentication |
boolean |
Alleen azure Active Directory-verificatie ingeschakeld. |
| properties.login |
string |
Aanmeldingsnaam van de serverbeheerder. |
| properties.sid |
string (uuid) |
SID (object-id) van de serverbeheerder. |
| properties.tenantId |
string (uuid) |
Tenant-id van de beheerder. |
| type |
string |
Resourcetype. |