Aad Properties - Get
Lekéri az AAD-tulajdonságokat a célrégió BCM-bélyegéből.
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}
URI-paraméterek
| Name | In | Kötelező | Típus | Description |
|---|---|---|---|---|
|
azure
|
path | True |
string |
Azure-régió az Api eléréséhez |
|
subscription
|
path | True |
string |
Az előfizetés azonosítója. |
|
api-version
|
query | True |
string |
Ügyfél API-verziója. |
|
$filter
|
query |
string |
OData szűrőbeállítások. |
Válaszok
| Name | Típus | Description |
|---|---|---|
| 200 OK |
OKÉ |
|
| Other Status Codes |
Hibaválasz, amely leírja, hogy miért nem sikerült a művelet. |
Biztonság
azure_auth
Azure Active Directory OAuth2-folyamat
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Hatókörök
| Name | Description |
|---|---|
| user_impersonation | megszemélyesíti a felhasználói fiókját. |
Példák
Get AAD Properties for authentication in the third region
Mintakérelem
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RecoveryServices/locations/southeastasia/backupAadProperties?api-version=2023-01-15
Mintaválasz
{
"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"
}
}
Definíciók
| Name | Description |
|---|---|
| AADProperties | |
|
AADProperties |
|
| Error |
A hibaobjektum. |
|
Error |
Az erőforrás-kezelési hiba további információi. |
|
New |
Az erőforrás-kezelési hibaválasz. |
AADProperties
| Name | Típus | Description |
|---|---|---|
| audience |
string |
|
| authority |
string |
|
| servicePrincipalClientId |
string |
|
| servicePrincipalObjectId |
string |
|
| tenantId |
string |
AADPropertiesResource
| Name | Típus | Description |
|---|---|---|
| eTag |
string |
Nem kötelező ETag. |
| id |
string |
Az erőforrás-azonosító az erőforrás teljes elérési útját jelöli. |
| location |
string |
Erőforrás helye. |
| name |
string |
Az erőforráshoz társított erőforrás neve. |
| properties |
AADPropertiesResource tulajdonságok |
|
| tags |
object |
Erőforráscímkék. |
| type |
string |
Az erőforrástípus a Névtér/ResourceType/ResourceType/... űrlap teljes elérési útját jelöli. |
Error
A hibaobjektum.
| Name | Típus | Description |
|---|---|---|
| additionalInfo |
A hiba további információi. |
|
| code |
string |
A hibakód. |
| details |
A hiba részletei. |
|
| message |
string |
A hibaüzenet. |
| target |
string |
A hibacél. |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
| Name | Típus | Description |
|---|---|---|
| info |
object |
A további információk. |
| type |
string |
A további információtípus. |
NewErrorResponse
Az erőforrás-kezelési hibaválasz.
| Name | Típus | Description |
|---|---|---|
| error |
A hibaobjektum. |