huawei-cloud-api-definitions-CSS 0.1.20240402

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"GetTargetImageId":{"properties":{"imageInfoList":{"items":{"$ref":"#/definitions/GetTargetImageIdDetail"},"type":"array"},"needUploadUpgradePlugin":{"description":"是否需要上传升级后版本的插件。","example":false,"type":"boolean"}}},"GetTargetImageIdDetail":{"description":"镜像详情信息。","properties":{"datastoreType":{"description":"镜像引擎类型。","example":"elasticsearch","type":"string"},"datastoreVersion":{"description":"镜像引擎版本。","example":"7.10.2","type":"string"},"displayName":{"description":"可以升级的目标镜像名称。","example":"7.10.2_22.5.1_1214","type":"string"},"id":{"description":"可以升级的目标镜像ID。","example":"bcdb711c-a7f0-4007-b8ee-9f13c05f8326","type":"string"},"imageDesc":{"description":"镜像描述信息。","example":"The latest image of version 7.10.2 will be officially released on December 14, 2022. the stability of the cluster has been optimized. It is recommended that you upgrade to this version.","type":"string"},"priority":{"description":"优先级。","example":15,"type":"integer"}}}},"description":null,"group_id":"c917c7a19aa04328b7e47a1def0e0acd","host":"css.cn-north-4.myhuaweicloud.com","id":"a25baf9d71414aa9a1a3435e1e1b33a1","info_version":"v1","method":"get","name":"ListImages","parameters":{},"paths":{"/v1.0/{project_id}/clusters/{cluster_id}/target/{upgrade_type}/images":{"get":{"description":"该接口用于获取当前集群的可升级目标镜像ID。","operationId":"ListImages","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"},{"description":"升级目标版本类型:\n- same:相同版本。\n- cross: 跨版本。","in":"path","name":"upgrade_type","required":true,"type":"string","x-example":"same"}],"responses":{"200":{"description":"请求已成功。","schema":{"$ref":"#/definitions/GetTargetImageId"},"x-response-examples-1":{"imageInfoList":[{"datastoreType":"elasticsearch","datastoreVersion":"7.10.2","displayName":"7.10.2_22.5.1_1230","id":"439b5d30-5968-45df-b088-d030a858522d","imageDesc":"The latest image of version 7.10.2 will be officially released on December 30, 2022. the stability of the cluster has been optimized. It is recommended that you upgrade to this version.","priority":16}],"needUploadUpgradePlugin":false}},"400":{"description":"非法请求。\n建议直接修改该请求,不要重试该请求。"},"403":{"description":"请求被拒绝访问。\n返回该状态码,表明请求能够到达服务端,且服务端能够理解用户请求,但是拒绝做更多的事情,因为该请求被设置为拒绝访问,建议直接修改该请求,不要重试该请求。"}},"summary":"获取目标镜像ID","tags":["集群管理接口"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-order":25,"x-publishpath":"","x-request-examples-url-1":"GET /v1.0/6204a5bd270343b5885144cf9c8c158d/clusters/ea244205-d641-45d9-9dcb-ab2236bcd07e/target/cross/images","x-support-sdk":"Y"}}},"product_short":"CSS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取目标镜像ID","tags":"集群管理接口","uri":null,"version":"2.0"}