Queries the dictionary of region information supported by hybrid cloud, including ISPs, continents, and cities.
Operation description
Before calling this operation, make sure that the hybrid cloud feature is enabled for the WAF instance. Call the DescribeInstance operation to query instance details. If the returned parameter Details.HybridCloud is true, the hybrid cloud feature is enabled. If it is not enabled, log on to the WAF console and upgrade the instance to enable the hybrid cloud feature.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeHybridCloudServerRegions |
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 current WAF instance. |
waf_v3prepaid_public_cn-5yd****7009 |
| RegionCode |
string |
No |
The region code. Important This parameter is required when RegionType is set to region. The value is the code of the selected continent. |
410 |
| RegionType |
string |
Yes |
The region type. Valid values:
|
region |
| RegionId |
string |
No |
The region where the WAF instance is deployed. 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 request ID. |
0FBBDE11-C35F-531B-96BA-64CA****C875 |
| Regions |
array<object> |
The list of region information. |
|
|
object |
The region information. |
||
| Code |
integer |
The region code. |
1 |
| Name |
string |
The region name. |
aliyun |
Examples
Success response
JSON format
{
"RequestId": "0FBBDE11-C35F-531B-96BA-64CA****C875",
"Regions": [
{
"Code": 1,
"Name": "aliyun"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.