查詢混合雲叢集列表。
調試
您可以在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 |
備忘。 |
test |
| ClusterResourceId |
string |
混合雲叢集資源 ID。 |
hdbc-cluster-t1****a |
| ClusterName |
string |
叢集名稱。 |
testcluster |
| 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": "test",
"ClusterResourceId": "hdbc-cluster-t1****a",
"ClusterName": "testcluster",
"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"
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。