查询混合云集群列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
yundun-waf:DescribeHybridCloudClusters |
get |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
InstanceId |
string |
是 |
要操作的 WAF 实例 ID。 说明
您可以调用 DescribeInstanceInfo 查询 WAF 实例的 ID。 |
waf_v2_public_cn-uqm35****02 |
RegionId |
string |
否 |
WAF 实例所属地域。取值:
|
cn-hangzhou |
ResourceManagerResourceGroupId |
string |
否 |
阿里云资源组 ID。 |
rg-acfm***q |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
响应结果。 |
||
RequestId |
string |
请求 ID。 |
66A98669-ER12-WE34-23PO-301469*****E |
ClusterInfos |
array<object> |
集群列表。 |
|
object |
集群信息。 |
||
HttpsPorts |
string |
HTTPS 协议的端口列表。 取值为字符串, 多个端口时,使用port1,port2,port3的格式返回。 |
443,8443 |
ProtectionServerCount |
integer |
集群可添加的防护节点数量。 |
1 |
ProxyStatus |
string |
代理网关模式。取值范围如下:
|
off |
RuleType |
string |
规则类型。取值范围如下:
|
bypass |
AccessRegion |
string |
专线接入区域。取值范围如下:
|
cn-hangzhou |
Remark |
string |
备注。 |
测试集群备注 |
ClusterResourceId |
string |
混合云集群资源 ID。 |
hdbc-cluster-t1****a |
ClusterName |
string |
集群名称。 |
混合云**集群 |
RuleStatus |
string |
手动 Bypass 状态,取值范围如下:
|
off |
Id |
integer |
集群 ID。 |
524**8 |
AccessMode |
string |
网络接入模式。取值范围如下:
|
internet |
ProxyType |
string |
集群类型。取值范围如下:
|
cname |
RuleConfig |
string |
规则配置。 |
{"enable":true,"param":{"breaker":{"duration":1,"failed":1,"recent_failed":1},"disable_protect":false,"max_request_body_len":1,"timeout":1}} |
HttpPorts |
string |
HTTP 协议的端口列表。 取值为字符串, 多个端口时,使用port1,port2,port3的格式返回。 |
80,8080 |
示例
正常返回示例
JSON
格式
{
"RequestId": "66A98669-ER12-WE34-23PO-301469*****E",
"ClusterInfos": [
{
"HttpsPorts": "443,8443",
"ProtectionServerCount": 1,
"ProxyStatus": "off",
"RuleType": "bypass",
"AccessRegion": "cn-hangzhou",
"Remark": "测试集群备注",
"ClusterResourceId": "hdbc-cluster-t1****a",
"ClusterName": "混合云**集群",
"RuleStatus": "off",
"Id": 0,
"AccessMode": "internet",
"ProxyType": "cname",
"RuleConfig": "{\"enable\":true,\"param\":{\"breaker\":{\"duration\":1,\"failed\":1,\"recent_failed\":1},\"disable_protect\":false,\"max_request_body_len\":1,\"timeout\":1}}",
"HttpPorts": "80,8080"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。