EHC Cluster List
Updated at:2025-10-20
Query the list of elastic high-performance computing cluster (EHC for short)
Request structure
Plain Text
1POST /{version}/instance/ehc/cluster/list HTTP/1.1
2Host: bcc.bj.baidubce.com
3Authorization: authorization string
4{
5 "ehcClusterIdList" : ehcClusterIdList,
6 "nameList" : nameList,
7 "zoneName": "zoneName"
8}
Request headers
There are no special headers required beyond the common headers.
Request parameters
| Parameter name | Types | Whether required | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number |
| ehcClusterIdList | List |
No | RequestBody | List of EHC cluster IDs |
| nameList | List |
No | RequestBody | List of EHC names |
| zoneName | String | No | RequestBody | zoneName of the EHC cluster |
Response headers
No special headers are required beyond the standard ones.
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| totalCount | Integer | Total EHC clusters |
| ehcClusters | List |
EHC cluster information, a collection composed of EHC Cluster |
EhcCluster
| Parameter name | Types | Description |
|---|---|---|
| ehcClusterId | String | EHC cluster ID |
| name | String | EHC cluster name |
| description | String | EHC cluster description |
| zoneName | String | Availability zone information |
| createdTime | String | Creation time |
| instanceIds | List |
List of instance IDs under the cluster |
| reservedInstanceIds | List |
List of reserved instance IDs under the cluster |
Request example
Plain Text
1POST /v2/instance/ehc/cluster/list HTTP/1.1
2Host: bcc.bj.baidubce.com
3ContentType: application/json
4Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
5{
6 "ehcClusterIdList":["ehc-t32CTrV0", "ehc-2Wt1bUNf"],
7 "nameList":["ehc-c-2"],
8 "zoneName":"cn-bj-c"
9}
Response example
Plain Text
1 HTTP/1.1 200 OK
2 x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
3 Date: Wed, 03 Dec 2014 06:42:19 GMT
4 Content-Type: application/json;charset=UTF-8
5 Server: BWS
6 {
7 "totalCount": 1,
8 "ehcClusters": [
9 {
10 "ehcClusterId": "ehc-2Wt1bUNf",
11 "name": "ehc-c-2",
12 "description": "",
13 "zoneName": "cn-bj-c",
14 "createdTime": "2024-06-25T10:28:02Z",
15 "instanceIds": [],
16 "reservedInstanceIds": []
17 }
18 ]
19 }
