Directory Tenants - Get
Haal een maptenant op naam op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/directoryTenants/{tenant}?api-version=2015-11-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
De resourcegroep waaronder de resource zich bevindt. |
subscription
|
path | True |
string |
Abonnementsreferenties die het Microsoft Azure-abonnement uniek identificeren. De abonnements-id maakt deel uit van de URI voor elke serviceoproep. |
tenant
|
path | True |
string |
Naam van maptenant. |
api-version
|
query | True |
string |
Client-API-versie. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Onverwachte fout |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
Get a directory tenant by name.
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/system.local/providers/Microsoft.Subscriptions.Admin/directoryTenants/azurestackci07.onmicrosoft.com?api-version=2015-11-01
Voorbeeldrespons
{
"id": "/subscriptions/8ab2551d-41e5-489b-9273-1cdf1cbc7dc6/resourceGroups/System.local/providers/Microsoft.Subscriptions.Admin/directoryTenants/azurestackci07.onmicrosoft.com",
"name": "azurestackci07.onmicrosoft.com",
"type": "Microsoft.Subscriptions.Admin/directoryTenants",
"location": "local",
"properties": {
"tenantId": "2b3697e6-a7a2-4cdd-a3d4-f4ef6505cd4f"
}
}
Definities
Name | Description |
---|---|
Directory |
Maptenant. |
Error |
Foutreactie. |
Error |
Foutdefinitie. |
DirectoryTenant
Maptenant.
Name | Type | Description |
---|---|---|
id |
string |
URI van de resource. |
location |
string |
Locatie van de resource |
name |
string |
Naam van de resource. |
properties.tenantId |
string |
Unieke tenant-id. |
tags |
object |
Lijst met sleutel-waardeparen. |
type |
string |
Type van resource. |
Error
Foutreactie.
Name | Type | Description |
---|---|---|
error |
De foutdetails. |
ErrorDefinition
Foutdefinitie.
Name | Type | Description |
---|---|---|
code |
string |
Servicespecifieke foutcode die fungeert als de substatus voor de HTTP-foutcode. |
details |
Interne foutdetails. |
|
message |
string |
Beschrijving van de fout. |