Aad Properties - Get
Hämtar AAD-egenskaperna från BCM-stämpeln för målregionen.
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-parametrar
| Name | I | Obligatorisk | Typ | Description |
|---|---|---|---|---|
|
azure
|
path | True |
string |
Azure-region för att nå Api |
|
subscription
|
path | True |
string |
Prenumerations-ID:t. |
|
api-version
|
query | True |
string |
Klient-API-version. |
|
$filter
|
query |
string |
OData-filteralternativ. |
Svar
| Name | Typ | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
Felsvar som beskriver varför åtgärden misslyckades. |
Säkerhet
azure_auth
Azure Active Directory OAuth2-flöde
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Omfattningar
| Name | Description |
|---|---|
| user_impersonation | personifiera ditt användarkonto. |
Exempel
Get AAD Properties for authentication in the third region
Exempelbegäran
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RecoveryServices/locations/southeastasia/backupAadProperties?api-version=2023-01-15
Exempelsvar
{
"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"
}
}
Definitioner
| Name | Description |
|---|---|
| AADProperties | |
|
AADProperties |
|
| Error |
Felobjektet. |
|
Error |
Ytterligare information om resurshanteringsfelet. |
|
New |
Svar på resurshanteringsfel. |
AADProperties
| Name | Typ | Description |
|---|---|---|
| audience |
string |
|
| authority |
string |
|
| servicePrincipalClientId |
string |
|
| servicePrincipalObjectId |
string |
|
| tenantId |
string |
AADPropertiesResource
| Name | Typ | Description |
|---|---|---|
| eTag |
string |
Valfri ETag. |
| id |
string |
Resurs-ID representerar den fullständiga sökvägen till resursen. |
| location |
string |
Resursplats. |
| name |
string |
Resursnamn som är associerat med resursen. |
| properties |
AADPropertiesResource-egenskaper |
|
| tags |
object |
Resurstaggar. |
| type |
string |
Resurstyp representerar den fullständiga sökvägen till formuläret Namespace/ResourceType/ResourceType/... |
Error
Felobjektet.
| Name | Typ | Description |
|---|---|---|
| additionalInfo |
Ytterligare information om felet. |
|
| code |
string |
Felkoden. |
| details |
Felinformationen. |
|
| message |
string |
Felmeddelandet. |
| target |
string |
Felmålet. |
ErrorAdditionalInfo
Ytterligare information om resurshanteringsfelet.
| Name | Typ | Description |
|---|---|---|
| info |
object |
Ytterligare information. |
| type |
string |
Ytterligare informationstyp. |
NewErrorResponse
Svar på resurshanteringsfel.
| Name | Typ | Description |
|---|---|---|
| error |
Felobjektet. |