取得 GPU 叢集參數清單。
介面說明
為目標 ACK 叢集安裝元件後:
首先,初次納管叢集時,會為叢集目前包含的所有 ECS 安裝元件(如果叢集節點超過 50 台,第一批次只會安裝 50 台);
其次,作業系統主控台會週期性地檢查被納管叢集的擴縮容狀態,一旦有新的 ECS 被新增至叢集中,作業系統主控台會自動為其安裝元件,無需使用者介入。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
GET /api/v1/aiTopology/topology/listClusterTopologyOptions HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| filterType |
string |
是 |
1、查詢叢集機器清單場景 指定取得類型,設定為 comm_instance_id_list 或 instance_id_list comm_instance_id_list:只會取得指定叢集中,有參與集合通訊的機器清單 instance_id_list:是取得指定叢集的所有機器清單 2、查詢叢集 AI 任務清單場景 指定取得類型,設定為 comm_task_id_list 或 task_id_list comm_task_id_list:只會取得指定叢集中,有集合通訊的任務清單 task_id_list:是取得指定叢集的所有任務清單 3、查詢叢集 AI 作業 pod 清單 指定取得類型,設定為 comm_pod_list 或 pod_list comm_pod_list:只會取得指定叢集中,有參與集合通訊的 pod 清單 pod_list:是取得指定叢集的所有 pod 清單 4、查詢集合通訊拓撲場景 communication:取得所有通訊群組 ID channel:取得指定通訊群組 ID 下的通道清單 topoType:取得指定通訊群組 ID 下的指定通道下的拓撲類型 |
instance_id_list |
| filterValues |
any |
否 |
過濾條件,JSON 物件。必須包含「cluster_id」,其他過濾條件支援如下:
|
{ "cluster_id": "cluster1" } |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| code |
string |
code 為 'Success' 或 'Sysom.ServerError'。 |
Success Fail |
| data |
any |
傳回參數取得結果。 |
["instance1", "instance2"] |
| message |
string |
code 不為 'Success' 時,message 為錯誤資訊。 |
some error msg while fail,“” if success |
| requestId |
string |
Id of the request |
return real request id |
| total |
integer |
傳回數量。 |
10 |
樣本
正常返回樣本
JSON格式
{
"code": "Success Fail",
"data": "[\"instance1\", \"instance2\"]",
"message": "some error msg while fail,“” if success",
"requestId": "return real request id",
"total": 10
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Sysom.ServerError | Server error, please correct the code according to the error message. %s. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。