Performs a pagination query to retrieve the names of protected objects.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeDefenseResourceNames |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call DescribeInstance to query the ID of the current WAF instance. |
waf_v2_public_cn-9lb****5s03 |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-aekzd4c****pdwy |
| Resource |
string |
No |
The name of the protected object that you want to query. |
example.xxxxaliyundoc.com |
| PageNumber |
integer |
No |
The page number of the paginated results. Default value: 1, which indicates the first page. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 20, which indicates 20 entries per page. |
10 |
| RegionId |
string |
No |
The region in which the WAF instance is deployed. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C1823E96-EF4B-5BD2-9E02-1D18****3ED8 |
| TotalCount |
integer |
The total number of entries returned. |
75 |
| Resources |
array |
The names of the protected objects. |
|
|
string |
The name of the protected object. |
example.aliyundoc.com-waf |
Examples
Success response
JSON format
{
"RequestId": "C1823E96-EF4B-5BD2-9E02-1D18****3ED8",
"TotalCount": 75,
"Resources": [
"example.aliyundoc.com-waf"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.