Queries the ports used by all domain names that are added in CNAME record mode and hybrid cloud mode with public network disaster recovery enabled.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeDomainUsedPorts |
get |
*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_elasticity-cn-0xldbqt**** |
| 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. |
D7861F61-5B61-*-A47C-* |
| UsedPorts |
array |
The used ports. |
|
|
integer |
The port. |
80 |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-*-A47C-*",
"UsedPorts": [
80
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.