Aad Properties - Get
Recupera le proprietà di AAD dal timbro BCM dell'area di destinazione.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupAadProperties?api-version=2023-01-15
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupAadProperties?api-version=2023-01-15&$filter={$filter}
Parametri dell'URI
| Nome | In | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
azure
|
path | True |
string |
Area di Azure per raggiungere l'API |
|
subscription
|
path | True |
string |
ID sottoscrizione. |
|
api-version
|
query | True |
string |
Versione dell'API client. |
|
$filter
|
query |
string |
Opzioni di filtro OData. |
Risposte
| Nome | Tipo | Descrizione |
|---|---|---|
| 200 OK |
Va bene |
|
| Other Status Codes |
Risposta di errore che descrive il motivo per cui l'operazione non è riuscita. |
Sicurezza
azure_auth
Flusso OAuth2 di Azure Active Directory
Tipo:
oauth2
Flow:
implicit
URL di autorizzazione:
https://login.microsoftonline.com/common/oauth2/authorize
Ambiti
| Nome | Descrizione |
|---|---|
| user_impersonation | rappresentare l'account utente. |
Esempio
Get AAD Properties for authentication in the third region
Esempio di richiesta
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RecoveryServices/locations/southeastasia/backupAadProperties?api-version=2023-01-15
Risposta di esempio
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000",
"properties": {
"tenantId": "33e01921-4d64-4f8c-a055-5bdaffd5e33d",
"audience": "https://RecoveryServices/IaasCoord/aadmgmt/ecy",
"servicePrincipalObjectId": "07e0a67b-cba3-4fcf-a58c-b670d5ced06d"
}
}
Definizioni
| Nome | Descrizione |
|---|---|
| AADProperties | |
|
AADProperties |
|
| Error |
Oggetto error. |
|
Error |
Informazioni aggiuntive sull'errore di gestione delle risorse. |
|
New |
Risposta di errore di gestione delle risorse. |
AADProperties
| Nome | Tipo | Descrizione |
|---|---|---|
| audience |
string |
|
| authority |
string |
|
| servicePrincipalClientId |
string |
|
| servicePrincipalObjectId |
string |
|
| tenantId |
string |
AADPropertiesResource
| Nome | Tipo | Descrizione |
|---|---|---|
| eTag |
string |
ETag facoltativo. |
| id |
string |
L'ID risorsa rappresenta il percorso completo della risorsa. |
| location |
string |
Percorso della risorsa. |
| name |
string |
Nome della risorsa associato alla risorsa. |
| properties |
Proprietà AADPropertiesResource |
|
| tags |
object |
Tag di risorsa. |
| type |
string |
Tipo di risorsa rappresenta il percorso completo del modulo Spazio dei nomi/ResourceType/ResourceType/... |
Error
Oggetto error.
| Nome | Tipo | Descrizione |
|---|---|---|
| additionalInfo |
Informazioni aggiuntive sull'errore. |
|
| code |
string |
Codice di errore. |
| details |
Dettagli dell'errore. |
|
| message |
string |
Messaggio di errore. |
| target |
string |
Destinazione dell'errore. |
ErrorAdditionalInfo
Informazioni aggiuntive sull'errore di gestione delle risorse.
| Nome | Tipo | Descrizione |
|---|---|---|
| info |
object |
Informazioni aggiuntive. |
| type |
string |
Tipo di informazioni aggiuntive. |
NewErrorResponse
Risposta di errore di gestione delle risorse.
| Nome | Tipo | Descrizione |
|---|---|---|
| error |
Oggetto error. |