Queries the cloud service instances to be added to Web Application Firewall (WAF) in transparent proxy mode.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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-zxu****9d02 |
ResourceInstanceId | string | No | The ID of the instance. | lb-2zeugkfj81jvo****4tqm |
ResourceName | string | No | The name of the instance. | exampleResourceName |
ResourceRegionId | string | No | The region ID of the instance. Valid values:
| cn-hangzhou |
ResourceProduct | string | No | The cloud service to which the instance belongs. Valid values:
| clb7 |
PageNumber | long | No | The page number. Default value: 1. | 1 |
PageSize | long | No | The number of entries per page. Default value: 10. | 10 |
ResourceIp | string | No | The public IP address of the instance. | 1.X.X.1 |
OwnerUserId | string | No | The ID of the Alibaba Cloud account to which the resource belongs. | 1704********9107 |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-aekz6ql****5uzi |
RegionId | string | No | The region in which the WAF instance is deployed. Valid values:
| cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "FDCBAE1E-2B3F-5C13-AD20-844B9473****",
"TotalCount": 100,
"ProductInstances": [
{
"ResourceInstanceId": "i-2ze1tm4pvghp****cluv",
"ResourceName": "ecs-test",
"ResourceRegionId": "cn-beijing",
"ResourceProduct": "clb4",
"ResourcePorts": [
{
"Port": 443,
"Protocol": "https",
"Certificates": [
{
"CertificateName": "trafficxxxx.cn",
"CertificateId": "10106183"
}
]
}
],
"ResourceIp": "1.X.X.1",
"OwnerUserId": "1704********9107"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2024-04-02 | The request parameters of the API has changed | see changesets | ||||
|