Queries the available HTTP and HTTPS port range for hybrid cloud access.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeHybridCloudUser |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call the DescribeInstance operation to query the ID of your WAF instance. |
waf_v3prepaid_public_cn-*********** |
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
9178CB86-285F-5679-A30A-3B3F007E4206 |
| UserInfo |
object |
The information about the available ports. |
|
| HttpsPorts |
string |
The available HTTPS ports. The value is a string. Multiple ports are separated by commas (,) in the port1,port2,port3 format. |
8443,443 |
| HttpPorts |
string |
The available HTTP ports. The value is a string. Multiple ports are separated by commas (,) in the port1,port2,port3 format. |
80,8080 |
Examples
Success response
JSON format
{
"RequestId": "9178CB86-285F-5679-A30A-3B3F007E4206",
"UserInfo": {
"HttpsPorts": "8443,443",
"HttpPorts": "80,8080"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.