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":{"BatchResizeFlavorRequestBody":{"description":"批量规格变更请求体请求体","properties":{"auto_pay":{"description":"**参数解释**:\n\n变更包周期实例的规格时可指定,表示是否自动从客户的账户中支付。\n\n**约束限制**: \n\n不涉及。 \n\n**取值范围**:\n\n不涉及。 \n\n**默认取值**: \n\nfalse","type":"boolean"},"delay":{"description":"**参数解释**:\n\n是否进行定时规格变更。\n\n**约束限制**: \n\n不涉及。 \n\n**取值范围**:\n\n不涉及。 \n\n**默认取值**: \n\nfalse","type":"boolean"},"instance_ids":{"description":"**参数解释**: \n\n实例ID列表。 \n\n**约束限制**:\n\n一次最多下发10个实例。 \n\n**取值范围**:\n\n不涉及。\n\n**默认取值**: \n\n不涉及。","items":{"type":"string"},"type":"array"},"occupy_ip":{"description":"**参数解释**:\n\n表示是否占用ip进行规格变更。\n\n**约束限制**: \n\n不涉及。 \n\n**取值范围**:\n\n不涉及。 \n\n**默认取值**: \n\ntrue","type":"boolean"},"spec_code":{"description":"**参数解释**:\n\n资源规格编码。\n\n**约束限制**: \n\n不涉及。 \n\n**取值范围**:\n\n不涉及。 \n\n**默认取值**: \n\n不涉及。","type":"string"}},"required":["instance_ids","spec_code"],"type":"object"},"BatchResizeFlavorResponseBody":{"description":"批量规格变更显示返回体","properties":{"job_id":{"description":"**参数解释**:\n\n批量任务ID,仅按需实例场景返回。该任务ID不会在任务中心显示,请前往任务中心查看每个实例的变更任务。\n\n**约束限制**: \n\n不涉及。 \n\n**取值范围**:\n\n不涉及。 \n\n**默认取值**: \n\n不涉及。","type":"string"},"order_id":{"description":"**参数解释**:\n\n订单ID。仅包周期实例场景返回。\n\n**约束限制**: \n\n不涉及。 \n\n**取值范围**:\n\n不涉及。 \n\n**默认取值**: \n\n不涉及。","type":"string"}},"type":"object"},"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"]}},"description":null,"group_id":"b7735f867ef44182af9eb77490a46fbf","host":"rds.cn-north-4.myhuaweicloud.com","id":"11356d9218624005a843f7994edd426d","info_version":"v3","method":"post","name":"BatchResizeFlavor","parameters":{},"paths":{"/v3/{project_id}/instances/batch/resize":{"post":{"description":"批量变更实例规格","operationId":"BatchResizeFlavor","parameters":[{"description":"**参数解释**:\n\n租户在某一Region下的项目ID。\n\n获取方法请参见获取项目ID。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","in":"path","maxLength":36,"minLength":0,"name":"project_id","required":true,"type":"string"},{"description":"**参数解释**:\n\n用户Token。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","in":"header","maxLength":20000,"minLength":0,"name":"X-Auth-Token","required":true,"type":"string"},{"description":"**参数解释**:\n\n请求语言类型。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n- en-us\n- zh-cn\n**默认取值**:\n\nen-us。","in":"header","maxLength":36,"minLength":0,"name":"X-Language","required":false,"type":"string"},{"description":"**参数解释**:\n\n批量规格变更请求体。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","in":"body","name":"BatchResizeFlavorRequestBody","required":true,"schema":{"$ref":"#/definitions/BatchResizeFlavorRequestBody"}}],"produces":["application/json"],"responses":{"202":{"description":"Success","examples":{"application/json":{"job_id":"19d29efc-926b-450d-aeff-83a1268f56ff"}},"schema":{"$ref":"#/definitions/BatchResizeFlavorResponseBody"}},"400":{"description":"Error response","schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"批量变更实例规格","tags":["实例管理"],"x-api-type":"open-api","x-apigateway-ratelimit":"rds_user_policy_batch_10","x-constraint":"- 该接口仅支持RDS for MySQL数据库引擎。\n- 该接口一分钟限制调用次数为10次。\n- 原实例计费模式相同,同为按需计费或包周期计费;规格类型相同;磁盘类型相同;所在可用区相同;不为本地盘实例;企业项目相同;未开启规格自动变配功能。","x-is-registered":"Y","x-request-examples-1":{"auto_pay":true,"delay":false,"instance_ids":["347288b745f9455faa700e88c17ca276in01","161ddefa425441289661354f0c370c9din01"],"occupy_ip":true,"spec_code":"rds.mysql.n1.large.2"},"x-request-examples-text-1":{"auto_pay":true,"delay":false,"instance_ids":["347288b745f9455faa700e88c17ca276in01","161ddefa425441289661354f0c370c9din01"],"occupy_ip":true,"spec_code":"rds.mysql.n1.large.2"},"x-request-examples-url-1":"rds/v3/54623db08b174c858ba779d2aa7923a3/instances/batch/resize","x-support-sdk":"Y"}}},"product_short":"RDS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量变更实例规格","tags":"实例管理","uri":null,"version":"2.0"}