huawei-cloud-api-definitions-CSS 0.1.20240205

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ExtendClusterGrowReq":{"description":"集群扩容请求详细描述。","properties":{"modifySize":{"description":"扩容实例个数。\n\n集群已有实例个数和扩容实例个数总和不能超过32。","example":4,"type":"integer"}},"required":["modifySize"]},"ExtendClusterReq":{"properties":{"grow":{"$ref":"#/definitions/ExtendClusterGrowReq"},"isAutoPay":{"description":"是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。\n\n- 1:是(会自动选择折扣和优惠券进行优惠,然后自动从客户华为云账户中支付),自动支付失败后会生成订单成功(该订单应付金额是优惠后金额)、但订单状态为“待支付”,等待客户手动支付(手动支付时,客户还可以修改系统自动选择的折扣和优惠券)。\n\n- 0:否(需要客户手动去支付,客户可以选择折扣和优惠券)。默认值为“0”。","example":1,"format":"int32","type":"integer"}},"required":["grow"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"62ff53cf3d6744598317945f9245a62d","info_version":"v1","method":"post","name":"UpdateExtendCluster","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/extend":{"post":{"description":"该接口用于集群扩容实例(仅支持扩容elasticsearch实例)。只扩容普通节点,且只针对要扩容的集群实例不存在特殊节点(Master、Client、冷数据节点)的情况。\n\n集群扩容实例的数量和存储容量,请参考[扩容实例的数量和存储容量](UpdateExtendInstanceStorage.xml)。","operationId":"UpdateExtendCluster","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":"ea244205-d641-45d9-9dcb-ab2236bcd07e"},{"in":"body","name":"ExtendClusterReq","required":true,"schema":{"$ref":"#/definitions/ExtendClusterReq"}}],"responses":{"200":{"description":"请求已成功。"},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"404":{"description":"所请求的资源不存在。\n\n建议直接修改该请求,不要重试该请求。"}},"summary":"扩容集群","tags":["集群管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-order":8,"x-publishpath":"","x-request-examples-1":{"grow":{"modifySize":4},"isAutoPay":1},"x-request-examples-2":{"grow":{"modifySize":4}},"x-request-examples-description-1":"修改当前集群的实例个数。","x-request-examples-text-1":{"grow":{"modifySize":4},"isAutoPay":1},"x-request-examples-text-2":{"grow":{"modifySize":4}},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/extend","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/extend","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"扩容集群","tags":"集群管理接口","uri":null,"version":"2.0"}