huawei-cloud-api-definitions-CSS 0.1.20260703

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"changeModeReq":{"properties":{"admin_pwd":{"description":"安全模式下集群密码。","type":"string"},"authority_enable":{"description":"是否开启安全模式。\n- true: 开启安全模式。\n- false: 关闭安全模式。\n默认为:true。","type":"boolean"},"https_enable":{"description":"是否开启HTTPS。\n- true: 开启HTTPS。\n- false: 关闭HTTPS。\n默认为:true。","type":"boolean"}},"required":["authority_enable","https_enable"]}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"e543b0e1f46346a38dff3c2e6015e15d","info_version":"v1","method":"post","name":"ChangeMode","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/mode/change":{"post":{"description":"该接口用于切换集群的安全模式。","operationId":"ChangeMode","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":"5c77b71c-5b35-4f50-8984-76387e42451a"},{"description":"修改安全模式请求体。","in":"body","name":"changeModeReq","required":true,"schema":{"$ref":"#/definitions/changeModeReq"}}],"responses":{"200":{"description":"请求已成功。"},"400":{"description":"非法请求。\n\n建议直接修改该请求,不要重试该请求。"},"404":{"description":"所请求的资源不存在。\n\n建议直接修改该请求,不要重试该请求。"}},"summary":"安全模式修改","tags":["集群管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-order":22,"x-publishpath":"","x-request-examples-1":{"admin_pwd":"Huawei@1234","authority_enable":true,"https_enable":true},"x-request-examples-description-1":"修改当前集群安全模式。","x-request-examples-text-1":{"admin_pwd":"Huawei@1234","authority_enable":true,"https_enable":true},"x-request-examples-url-1":"POST /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/mode/change","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"安全模式修改","tags":"集群管理接口","uri":null,"version":"2.0"}