Queries cloud service resources that are added to Web Application Firewall (WAF).
Debugging
Authorization information
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_v3prepaid_public_cn-lbj****cn0c |
ResourceInstanceId | string | No | The ID of the resource. | alb-43glijk0fr****gths |
ResourceName | string | No | The name of the resource. | alb-name |
ResourceRegionId | string | No | The region ID of the resource. For information about region IDs, see the following table. Note
Different cloud services are available in different regions. The specified cloud service must be available in the specified region.
| cn-beijing |
ResourceProduct | string | No | The cloud service to which the resource belongs. Valid values:
Note
Different cloud services are available in different regions. The specified cloud service must be available in the specified region.
| alb |
PageNumber | long | No | The page number. Default value: 1. | 1 |
PageSize | long | No | The number of entries per page. Default value: 10. | 10 |
ResourceRouteName | string | No | The route name. You can use this parameter if you set ResourceProduct to mse. | mse-default-traffic |
ResourceDomain | string | No | The domain name. You can use this parameter if you set ResourceProduct to fc or sae. | fc-domain-test |
ResourceFunction | string | No | The function name. You can use this parameter if you set ResourceProduct to fc. | fc-test |
OwnerUserId | string | No | The ID of the Alibaba Cloud account to which the resource belongs. | 11769793****** |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm4gh****wela |
RegionId | string | No | The region in which the WAF instance is deployed. Valid values:
| cn-hangzhou |
Region ID | Region name | Supported services |
---|---|---|
cn-hangzhou | China (Hangzhou) | SAE,ALB,FC,MSE |
cn-shanghai | China (Shanghai) | SAE,ALB,FC,MSE |
cn-shenzhen | China (Shenzhen) | SAE,ALB,FC,MSE |
cn-beijing | China (Beijing) | SAE,ALB,FC,MSE |
cn-zhangjiakou | China (Zhangjiakou) | SAE,ALB,FC,MSE |
cn-chengdu | China (Chengdu) | ALB |
cn-qingdao | China (Qingdao) | ALB |
cn-guangzhou | China (Guangzhou) | ALB |
cn-wulanchabu | China (Ulanqab) | ALB |
cn-hongkong | China (Hong Kong) | ALB,MSE |
cn-fuzhou | China (Fuzhou - Local Region) | ALB |
ap-southeast-6 | Philippines (Manila) | ALB |
ap-southeast-5 | Indonesia (Jakarta) | ALB |
ap-northeast-1 | Japan (Tokyo) | ALB |
ap-southeast-3 | Malaysia (Kuala Lumpur) | ALB,MSE |
ap-southeast-2 | Australia (Sydney) | ALB |
ap-southeast-1 | Singapore | ALB,MSE |
ap-south-1 | India (Mumbai) | ALB |
eu-central-1 | Germany (Frankfurt) | ALB |
us-west-1 | US (Silicon Valley) | ALB |
us-east-1 | US (Virginia) | ALB |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 121,
"RequestId": "C327F81A-CCE2-5B21-817C-F93E29C5****",
"CloudResources": [
{
"ResourceRouteName": "test-route-name",
"ResourceRegionId": "cn-hangzhou",
"ResourceFunction": "test-resource-function",
"ResourceName": "test-resource-name",
"ResourceInstance": "alb-ffff****",
"ResourceProduct": "alb",
"ResourceService": "test-resource-service",
"ResourceDomain": "test-resource-domain",
"OwnerUserId": "11769793******"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.