huawei-cloud-api-definitions-CSS 0.1.20240116

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"RestartClusterReq":{"properties":{"type":{"description":"操作角色。参数范围:\n- node\n- role","example":"role","type":"string"},"value":{"description":"操作参数。参数说明:\n\n- 当操作角色为node时,value为节点ID,通过[查询集群详情](ShowClusterDetail.xml)获取instances中的id属性。\n\n- 当操作角色为role时,value为节点类型(ess、ess-master、ess-client、ess-cold)的多种不同组合。","example":"ess","type":"string"}},"required":["type","value"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"f39760c08c5b4d8899d530ff9cb53bc7","info_version":"v2","method":"post","name":"RestartCluster","parameters":{},"paths":{"/v2.0/{project_id}/clusters/{cluster_id}/restart":{"post":{"description":"该接口可以用于重启当前集群拥有的全部节点类型,或部分节点类型组合的节点。","operationId":"RestartCluster","parameters":[{"description":"项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。","in":"path","name":"project_id","required":true,"type":"string","x-example":"6204a5bd270343b5885144cf9c8c158d"},{"description":"指定重启集群ID。","in":"path","name":"cluster_id","required":true,"type":"string","x-example":"4f3deec3-efa8-4598-bf91-560aad1377a3"},{"in":"body","name":"RestartClusterRequestBody","required":true,"schema":{"$ref":"#/definitions/RestartClusterReq"}}],"responses":{"200":{"description":"请求已成功。"},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"409":{"description":"服务器在完成请求时发生冲突。\n\n返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"}},"summary":"重启集群V2","tags":["集群管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-publishpath":"","x-request-example-2":{"type":"node","value":"81b86722-xxx-xxx-xxx-23f99d62b47a"},"x-request-examples-1":{"type":"role","value":"ess"},"x-request-examples-text-1":{"type":"role","value":"ess"},"x-request-examples-url-1":"POST /v2.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/restart","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"重启集群V2","tags":"集群管理接口","uri":null,"version":"2.0"}