startCluster
启动已暂停的集群。
Action
/cluster/startClusrer
请求方式
POST
请求参数
| 参数 | 类型 | 是否必选 | 描述 |
|---|---|---|---|
| timestamp | string | true | 时间戳 |
| cluster_ids | array | true | 所启动的集群 id |
| zone | string | true | zone id |
响应消息
| 参数 | 类型 | 描述 | 取值样例 |
|---|---|---|---|
| action | string | 响应动作 | HpcStartClusterResponse |
| job_ids | string | 启动集群的job_id | j-xxxxxx |
| ret_code | int | 执行成功与否,成功为0,其他值则为错误代码 | 0 |
示例
请求示例
https://hpc.api.qingcloud.com/api/cluster/startCluster
响应示例
{
action: "HpcClusterStartClusterResponse",
job_id: "j-5lggvldskpm",
ret_code: 0
}