huawei-cloud-api-definitions-CSS 0.1.20240204

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"RollingRestartReq":{"properties":{"type":{"description":"操作角色。type的值只能为role。","example":"role","type":"string"},"value":{"description":"实例类型(选择实例类型时至少需要一个数据节点),多个类型使用逗号隔开。例如:\n\n- ess-master对应Master节点。\n- ess-client对应Client节点。\n- ess-cold对应冷数据节点。\n- ess对应数据节点。\n- all对应所有节点。","example":"ess","type":"string"}},"required":["type","value"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"d14613ffa4ae4b50bec38675d672b53d","info_version":"v2","method":"post","name":"RollingRestart","parameters":{},"paths":{"/v2.0/{project_id}/clusters/{cluster_id}/rolling_restart":{"post":{"description":"该接口会一个一个重启节点,在索引数量比较多的情况下耗时较长\n\n>仅当集群的节点数量(含Master节点、Client节点和冷数据节点)大于3时,才支持滚动重启","operationId":"RollingRestart","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":"RollingRestartReq","required":true,"schema":{"$ref":"#/definitions/RollingRestartReq"}}],"responses":{"200":{"description":"请求已成功。"},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"409":{"description":"服务器在完成请求时发生冲突。\n\n返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"}},"summary":"滚动重启","tags":["集群管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-publishpath":"","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/rolling_restart","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"滚动重启","tags":"集群管理接口","uri":null,"version":"2.0"}