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":{"BindPublicReqEipBandWidth":{"description":"公网带宽信息。","properties":{"size":{"description":"带宽大小。单位:Mbit/s","example":5,"type":"integer"}},"required":["size"]},"UnBindPublicReqEipReq":{"description":"弹性IP信息。","properties":{"bandWidth":{"$ref":"#/definitions/BindPublicReqEipBandWidth"}}},"UnbindPublicResponseBody":{"properties":{"action":{"description":"操作行为。固定为:unbindZone,表示解绑成功。","example":"unbindZone","type":"string"}}},"unBindPublicReq":{"properties":{"eip":{"$ref":"#/definitions/UnBindPublicReqEipReq"}}}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"8e50c06aeaef462bbd4bac3443794cc3","info_version":"v1","method":"put","name":"UpdateUnbindPublic","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/public/close":{"put":{"description":"该接口用于关闭公网访问。包周期类型的集群不支持通过api进行关闭公网访问。","operationId":"UpdateUnbindPublic","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"},{"in":"body","name":"unBindPublicReq","required":true,"schema":{"$ref":"#/definitions/unBindPublicReq"}}],"responses":{"200":{"description":"请求已成功。","examples":{"application/json":{"action":"unbindZone"}},"schema":{"$ref":"#/definitions/UnbindPublicResponseBody"}},"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":{"eip":{"bandWidth":{"size":5}}},"x-request-examples-description-1":"关闭公网访问。","x-request-examples-text":{"eip":{"bandWidth":{"size":5}}},"x-request-examples-text-1":{"eip":{"bandWidth":{"size":5}}},"x-request-examples-url":"PUT /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/5c77b71c-5b35-4f50-8984-76387e42451a/public/close","x-request-examples-url-1":"PUT /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/4f3deec3-efa8-4598-bf91-560aad1377a3/public/close","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"关闭公网访问","tags":"公网访问接口","uri":null,"version":"2.0"}