Queries the list of hybrid cloud node groups added to Web Application Firewall (WAF).
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 Details.HybridCloud parameter 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:DescribeHybridCloudGroups |
list |
*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 the current WAF instance. |
waf_v3prepaid_public_cn-********w0b |
| ClusterId |
integer |
No |
The ID of the hybrid cloud cluster. |
428 |
GroupName
deprecated
|
integer |
No |
[Deprecated] Use GroupDisplayName for queries instead. |
1 |
| GroupDisplayName |
string |
No |
The name of the hybrid cloud node group to query. |
testGroup |
| GroupType |
string |
No |
The type of the hybrid cloud node group. Valid values:
|
protect |
| PageNumber |
integer |
No |
The page number to return in a paging query. Default value: 1, which indicates that the first page is returned. |
1 |
| PageSize |
integer |
No |
The number of entries per page in a paged query. Default value: 10. |
10 |
| ClusterProxyType |
string |
No |
The proxy type of the cluster. Valid values:
|
cname |
| 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 |
|||
| TotalCount |
integer |
The total number of entries returned. |
146 |
| RequestId |
string |
The request ID, which is the identifier generated by Alibaba Cloud for the request. |
045660E7-C4C6-5CD7-8182-7B337D95ADF4 |
| Groups |
array<object> |
The collection of hybrid cloud node groups. |
|
|
object |
The information about a single hybrid cloud node. |
||
| GroupName |
string |
The name of the hybrid cloud node group. |
StorageGroup |
| RegionCodeValue |
integer |
The city code of the protection cluster. Note
For the list of code values, see the supplementary description of response elements. |
0 |
| LoadBalanceIp |
string |
The load balancing (server) IP address. |
1.1.XX.XX |
| BackSourceMark |
string |
The back-to-origin mark of the protection cluster, in the format of {Protection Cluster ISP Name}-{Protection Cluster Continent Name}-{Protection Cluster City Name}-{Protection Cluster Back-to-origin Identifier} (optional). Note
For the list of values for the protection cluster ISP name, continent name, city name, and back-to-origin identifier, see the supplementary description of response elements. |
aliyun-asiapacific-beijing-56477821 |
| GroupType |
string |
The type of the hybrid cloud node group. Valid values:
|
protect |
| LocationId |
integer |
The ID of the protection node. |
1312 |
| Ports |
string |
The ports used by the hybrid cloud cluster. The value is a string. When multiple ports are used, they are returned in the format of port1,port2,port3. |
80,9200,20018 |
| ContinentsValue |
integer |
The continent code of the protection cluster. Note
For the list of code values, see the supplementary description of response elements. |
410 |
| GroupId |
integer |
The ID of the hybrid cloud node group. |
123 |
| Remark |
string |
The remarks. |
remarkTest |
| OperatorValue |
integer |
The ISP code of the protection cluster. Note
For the list of code values, see the supplementary description of response elements. |
0 |
Protection cluster ISP codes
| ISP Code | ISP Tag | ISP Description |
| 0 | aliyun | Alibaba Cloud |
| 3 | tencent | Tencent |
| 100 | ||
| 200 | IDC | IDC |
Protection cluster continent codes
| Continent Code | Continent Tag | Continent Description |
| 410 | asiapacific | asiapacific |
| 411 | euro | euro |
Protection cluster city codes
| Continent Code | City Code | City Tag | City Description |
| 411 | 0 | frankfurt | Frankfurt |
| 411 | 1 | siliconvallery | Silicon Valley |
| 411 | 2 | Virginia | Virginia |
| 410 | 0 | beijing | Beijing |
| 410 | 1 | shanghai | Shanghai |
| 410 | 2 | hongkong | Hong Kong (China) |
| 410 | 3 | jakarta | Jakarta |
| 410 | 4 | hangzhou | Hangzhou |
| 410 | 5 | zhangjiakou | Zhangjiakou |
| 410 | 6 | shenzhen | Shenzhen |
| 410 | 7 | singapore | Singapore |
| 410 | 8 | Tokyo | Tokyo |
| 410 | 9 | changsha | Changsha |
| 410 | 10 | public_cloud | Public Cloud |
| 410 | 11 | nanjing | Nanjing |
Examples
Success response
JSON format
{
"TotalCount": 146,
"RequestId": "045660E7-C4C6-5CD7-8182-7B337D95ADF4",
"Groups": [
{
"GroupName": "StorageGroup",
"RegionCodeValue": 0,
"LoadBalanceIp": "1.1.XX.XX",
"BackSourceMark": "aliyun-asiapacific-beijing-56477821",
"GroupType": "protect",
"LocationId": 1312,
"Ports": "80,9200,20018",
"ContinentsValue": 410,
"GroupId": 123,
"Remark": "remarkTest",
"OperatorValue": 0
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.