Queries the asset owner account of protected objects in multi-account management scenarios.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeDefenseResourceOwnerUid |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call the DescribeInstance operation to query the ID of the WAF instance. |
waf_v2_public_cn********60f |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
| ResourceNames |
string |
Yes |
The protected objects to query. Separate multiple protected objects with commas (,). You can query a maximum of 100 protected objects at a time. |
a.com-waf,b.com-waf |
| RegionId |
string |
No |
The region where the WAF instance is deployed. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
7326952B-B83B-5B7C-84FA-77F3E17310A2 |
| OwnerInfos |
array<object> |
The owner account information of the protected objects. |
|
|
object |
|||
| ResourceName |
string |
The name of the protected object. |
a.com-waf |
| OwnerUserId |
string |
The owner account ID of the protected object. |
125************21 |
Examples
Success response
JSON format
{
"RequestId": "7326952B-B83B-5B7C-84FA-77F3E17310A2",
"OwnerInfos": [
{
"ResourceName": "a.com-waf",
"OwnerUserId": "125************21"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.