Queries all ports used by domain names of the current user. Only domain names with CNAME access and hybrid cloud CNAME domain names with public network disaster recovery enabled are included.
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 |
Instance ID of the WAF instance. Note
You can call the DescribeInstance operation to query instance ID of the WAF instance. |
waf_elasticity-cn-0xldbqt**** |
| 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. |
D7861F61-5B61-*-A47C-* |
| UsedPorts |
array |
The list of used ports. |
|
|
integer |
The used 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.