huawei-cloud-api-definitions-CSS 0.1.20240129

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"IndependentBodyReq":{"properties":{"flavor_ref":{"description":"规格id,该参数通过[获取实例规格列表](ListFlavors.xml)接口获取,根据集群版本选择所需要的规格id","type":"string"},"node_size":{"description":"要独立节点个数。\n- 如果路径参数type取值为“ess-master”即新增独立master节点,节点个数必须为大于等于三且小于等于10的奇数。\n- 如果路径参数type取值为“ess-client”即新增独立client节点,节点个数要求大于等于1小于等于32。","type":"integer"},"volume_type":{"description":"节点存储类型:取值为ULTRAHIGH,COMMON,HIGH。","type":"string"}},"required":["flavor_ref","node_size","volume_type"]},"IndependentReq":{"properties":{"type":{"$ref":"#/definitions/IndependentBodyReq","description":"独立master或client请求体参数。"}},"required":["type"]},"IndependentRsp":{"properties":{"id":{"description":"集群ID。","example":"ef683016-871e-48bc-bf93-74a29d60d214","type":"string"}}}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"0c3abaaf34ea4e7bbfaad836ebb80293","info_version":"v1","method":"post","name":"AddIndependentNode","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/type/{type}/independent":{"post":{"description":"由于集群数据面业务的增长或者不确定性,很难在一开始就能够把集群的规模形态想明白,该接口能够在非独立master和client的集群上面独立master、client角色。","operationId":"AddIndependentNode","parameters":[{"description":"项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。","in":"path","name":"project_id","required":true,"type":"string","x-example":"6204a5bd270343b5885144cf9c8c158d"},{"description":"指定需要独立master或client的集群ID。","in":"path","name":"cluster_id","required":true,"type":"string","x-example":"ea244205-d641-45d9-9dcb-ab2236bcd07e"},{"description":"指定待新增独立节点类型。\n- ess-master:Master节点。\n- ess-client:Client节点。","in":"path","name":"type","required":true,"type":"string","x-example":"ess-master"},{"description":"独立master或client请求体。","in":"body","name":"IndependentReq","required":true,"schema":{"$ref":"#/definitions/IndependentReq"}}],"responses":{"200":{"description":"请求已成功。","examples":{"application/json":{"id":"320afa24-ff2a-4f44-8460-6ba95e512ad4"}},"schema":{"$ref":"#/definitions/IndependentRsp"}},"403":{"description":"请求被拒绝访问。\n\n返回该状态码,表明请求能够到达服务端,且服务端能够理解用户请求,但是拒绝做更多的事情,因为该请求被设置为拒绝访问,建议直接修改该请求,不要重试该请求。"},"500":{"description":"表明服务端能被请求访问到,但是不能理解用户的请求。"}},"summary":"添加独立master、client","tags":["集群管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-order":23,"x-publishpath":"","x-request-examples-1":{"type":{"flavor_ref":"d9dc06ae-b9c4-4ef4-acd8-953ef4205e27","node_size":3,"volume_type":"COMMON"}},"x-request-examples-description-1":"添加独立master、client。","x-request-examples-text-1":{"type":{"flavor_ref":"d9dc06ae-b9c4-4ef4-acd8-953ef4205e27","node_size":3,"volume_type":"COMMON"}},"x-request-examples-url":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/type/ess-client/independent","x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/type/ess-client/independent","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"添加独立master、client","tags":"集群管理接口","uri":null,"version":"2.0"}