huawei-cloud-api-definitions-CSS 0.1.20240118

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ShrinkNodesReq":{"properties":{"migrate_data":{"description":"是否迁移数据。\n- \"true\":迁移数据。\n- \"false\":不迁移数据。","type":"string"},"shrinkNodes":{"description":"需要缩容的节点ID。\n\n通过[查询集群详情](ShowClusterDetail.xml)获取instances中的id属性。","items":{"type":"string"},"type":"array"}},"required":["shrinkNodes"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"75f853444d514fa2a3eb6a2b3d9314e4","info_version":"v1","method":"post","name":"UpdateShrinkNodes","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/node/offline":{"post":{"description":"该接口可以对集群现有节点中指定节点进行缩容。包周期类型的集群不支持通过api进行指定节点缩容操作。","operationId":"UpdateShrinkNodes","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":"ShrinkNodesReq","required":true,"schema":{"$ref":"#/definitions/ShrinkNodesReq"}}],"responses":{"200":{"description":"请求已成功。"},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"409":{"description":"服务器在完成请求时发生冲突。\n\n返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。"},"412":{"description":"未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。"}},"summary":"指定节点缩容","tags":["集群管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-order":17,"x-publishpath":"","x-request-examples-1":{"shrinkNodes":["2077bdf3-b90d-412e-b460-635b9b159c11"]},"x-request-examples-description-1":"缩容集群,通过指定节点方式缩容。","x-request-examples-text-1":{"shrinkNodes":["2077bdf3-b90d-412e-b460-635b9b159c11"]},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/node/offline","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/node/offline","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"指定节点缩容","tags":"集群管理接口","uri":null,"version":"2.0"}