Queries the hybrid cloud node groups that are added to Web Application Firewall (WAF).
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-waf:DescribeHybridCloudGroups | list |
|
| 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 obtain the ID of the WAF instance.
| waf_v3prepaid_public_cn-********w0b |
ClusterId | long | No | The ID of the hybrid cloud cluster. | 428 |
GroupName | integer | No | The name of the node group that you want to query. | groupName1 |
GroupType | string | No | The type of the node group. Valid values:
| protect |
PageNumber | integer | No | The page number. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Default value: 10. | 10 |
ClusterProxyType | string | No | The type of proxy cluster that is used. Valid values:
| cname |
ResourceManagerResourceGroupId | string | No | The ID of the resource group. | rg-acfm***q |
RegionId | string | No | The region ID of the WAF instance. Valid values:
| cn-hangzhou |
Response parameters
ISP codes
ISP code | ISP tag | ISP description |
---|---|---|
0 | aliyun | Alibaba Cloud |
3 | tencent | Tencent Cloud |
100 | Google Cloud | |
200 | IDC | IDC |
Continent codes
Continent code | Continent tag | Continent description |
---|---|---|
410 | asiapacific | asiapacific |
411 | euro | euro |
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
Sample success responses
JSON
format
{
"RequestId": "045660E7-C4C6-5CD7-8182-7B337D95****",
"Groups": [
{
"GroupId": 123,
"GroupName": "StorageGroup",
"GroupType": "protect",
"LoadBalanceIp": "1.1.XX.XX",
"Ports": "80,9200,20018",
"Remark": "test",
"LocationId": 1312,
"OperatorValue": 0,
"ContinentsValue": 410,
"RegionCodeValue": 0,
"BackSourceMark": "aliyun-asiapacific-beijing-12345678"
}
],
"TotalCount": 146
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-08-29 | The request parameters of the API has changed | View Change Details |
2023-10-18 | The internal configuration of the API is changed, but the call is not affected | View Change Details |