Server Azure AD Administrators - Get
Hiermee haalt u een Azure Active Directory-beheerder op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/administrators/ActiveDirectory?api-version=2023-08-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
administrator
|
path | True |
De naam van de active directory-beheerder van de server. |
|
|
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 |
Er is een opgegeven Azure Active Directory-beheerder opgehaald. |
|
| Other Status Codes |
Foutreacties: ***
|
Voorbeelden
Gets a Azure Active Directory administrator.
Voorbeeldaanvraag
Voorbeeldrespons
{
"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 |
De naam van de active directory-beheerder van de server. |
|
Administrator |
Type van de serverbeheerder. |
|
Error |
Aanvullende informatie over de resourcebeheerfout. |
|
Error |
De foutdetails. |
|
Error |
Foutreactie |
|
Server |
Azure Active Directory-beheerder. |
AdministratorName
De naam van de active directory-beheerder van de server.
| Waarde | Description |
|---|---|
| ActiveDirectory |
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. |