huawei-cloud-api-definitions-RDS 0.1.20260724

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ErrorRsp":{"description":"失败时返回的对象。","properties":{"error_code":{"description":"错误码。","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述。","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"RdsDBUpgradePreCheckV3Resp":{"description":"mysql5.7升级mysql8.0预检查响应体","properties":{"workflow_id":{"description":"工作流id","maxLength":36,"minLength":32,"type":"string"}},"required":["workflow_id"]},"RdsUpgradePrecheckV3Req":{"description":"mysql5.7升级mysql8.0预检查请求体","properties":{"target_version":{"description":"特定场景使用,普通用户无需填写该字段。","example":"8.0.28.231000","maxLength":36,"minLength":6,"type":"string"}},"type":"object"}},"description":null,"group_id":"b7735f867ef44182af9eb77490a46fbf","host":"rds.cn-north-4.myhuaweicloud.com","id":"2838a39c61954fbcbc04b6a37d66236a","info_version":"v3","method":"put","name":"CheckInstanceForUpgrade","parameters":{},"paths":{"/v3/{project_id}/instances/{instance_id}/upgrade-version/precheck":{"put":{"description":"提供mysql5.7升级mysql8.0预检查接口","operationId":"CheckInstanceForUpgrade","parameters":[{"description":"用户Token","in":"header","maxLength":20000,"minLength":0,"name":"X-Auth-Token","required":false,"type":"string","x-example":"******"},{"description":"语言","in":"header","maxLength":36,"minLength":0,"name":"X-Language","required":false,"type":"string","x-example":"zh-cn"},{"description":"大版本升级预检查请求体","in":"body","name":"CheckInstanceForUpgradeRequestBody","required":false,"schema":{"$ref":"#/definitions/RdsUpgradePrecheckV3Req"}},{"description":"项目ID","in":"path","maxLength":128,"minLength":1,"name":"project_id","required":true,"type":"string"},{"description":"实例id","in":"path","maxLength":128,"minLength":1,"name":"instance_id","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","examples":{"application/json":{"workflow_id":"234asdb34234-54367547-123213"}},"headers":{"X-request-id":{"description":"请求id.","type":"string"}},"schema":{"$ref":"#/definitions/RdsDBUpgradePreCheckV3Resp"}},"400":{"description":"Error response","headers":{"X-request-id":{"description":"请求id.","type":"string"}},"schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"大版本升级预检查","tags":["实例管理"],"x-api-type":"open-api","x-apigateway-ratelimit":"rds_user_policy","x-is-registered":"Y","x-request-examples-description-1":"下发MySQL5.7升级8.0的预校验","x-request-examples-url-1":"https://rds.cn-north-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/instances/d8e6ca5a624745bcb546a227aa3ae1cfin01/upgrade-version/precheck","x-support-sdk":"Y"}}},"product_short":"RDS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"大版本升级预检查","tags":"实例管理","uri":null,"version":"2.0"}