Aad Properties - Get
从目标区域 BCM 标记中提取 AAD 属性。
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 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
azure
|
path | True |
string |
要命中 Api 的 Azure 区域 |
subscription
|
path | True |
string |
订阅 ID。 |
api-version
|
query | True |
string |
客户端 API 版本。 |
$filter
|
query |
string |
OData 筛选器选项。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
还行 |
|
Other Status Codes |
描述操作失败的原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户。 |
示例
Get AAD Properties for authentication in the third region
示例请求
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RecoveryServices/locations/southeastasia/backupAadProperties?api-version=2023-01-15
示例响应
{
"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"
}
}
定义
名称 | 说明 |
---|---|
AADProperties | |
AADProperties |
|
Error |
错误对象。 |
Error |
资源管理错误附加信息。 |
New |
资源管理错误响应。 |
AADProperties
名称 | 类型 | 说明 |
---|---|---|
audience |
string |
|
authority |
string |
|
servicePrincipalClientId |
string |
|
servicePrincipalObjectId |
string |
|
tenantId |
string |
AADPropertiesResource
名称 | 类型 | 说明 |
---|---|---|
eTag |
string |
可选 ETag。 |
id |
string |
资源 ID 表示资源的完整路径。 |
___location |
string |
资源位置。 |
name |
string |
与资源关联的资源名称。 |
properties |
AADPropertiesResource 属性 |
|
tags |
object |
资源标记。 |
type |
string |
资源类型表示命名空间/ResourceType/ResourceType/... |
Error
错误对象。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
NewErrorResponse
资源管理错误响应。
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |