huawei-cloud-api-definitions-RabbitMQ 0.1.20240204

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ResizeEngineInstanceReq":{"properties":{"new_broker_num":{"description":"当oper_type参数为horizontal时,该参数有效。","format":"int32","type":"integer"},"new_product_id":{"description":"规格,例如c6.8u16g.cluster,当oper_type类型是vertical时,该参数才有效且必填。","type":"string"},"new_spec_code":{"description":"老规格,例如dms.instance.rabbitmq.cluster.c3.8u16g,当oper_type类型horizontal时,为dms.instance.rabbitmq.cluster.c3.8u16g.5,最后的数字5为代理数","type":"string"},"new_storage_space":{"description":"扩容后的存储空间。\n\n当oper_type类型是storage或horizontal时,该参数有效且必填。\n\n实例存储空间 = 代理数量 * 每个broker的存储空间。\n\n当oper_type类型是storage时,代理数量不变,每个broker存储空间最少扩容100GB。\n\n当oper_type类型是horizontal时,每个broker的存储空间不变。","format":"int32","type":"integer"},"oper_type":{"description":"变更类型。\n\n取值范围:\n\nstorage:存储空间扩容,代理数量不变。\n\nhorizontal:代理数量扩容,每个broker的存储空间不变。\n\nvertical:垂直扩容,broker的底层虚机规格变更,代理数量和存储空间不变。","type":"string"}},"required":["oper_type"],"type":"object"},"ResizeInstanceResp":{"properties":{"job_id":{"description":"规格变更任务ID。","type":"string"}},"type":"object"}},"description":null,"group_id":"01d11699e8074781a7ab0fb1c8d994e7","host":"dms.cn-north-4.myhuaweicloud.com","id":"1747b3f3641944d7b1ce64eb3aa61c3a","info_version":"v2","method":"post","name":"ResizeEngineInstance","parameters":{},"paths":{"/v2/{engine}/{project_id}/instances/{instance_id}/extend":{"post":{"description":"实例规格变更。\n\n**当前通过调用API,只支持按需实例进行实例规格变更。**","operationId":"ResizeEngineInstance","parameters":[{"description":"项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。","in":"path","name":"project_id","required":true,"type":"string"},{"description":"实例ID。","in":"path","name":"instance_id","required":true,"type":"string"},{"default":"rabbitmq","description":"消息引擎的类型。支持的类型为rabbitmq。","enum":["rabbitmq"],"in":"path","name":"engine","required":true,"type":"string"},{"description":"实例规格变更请求体。","in":"body","name":"ResizeEngineInstanceRequestBody","required":true,"schema":{"$ref":"#/definitions/ResizeEngineInstanceReq"}}],"responses":{"200":{"description":"实例规格变更成功。","examples":{"application/json":{"job_id":"93b94287-728d-4bb1-a158-cb66cb0854e7"}},"schema":{"$ref":"#/definitions/ResizeInstanceResp"}}},"summary":"新规格实例的规格变更","tags":["规格变更管理"],"x-api-type":"open-api","x-hybridcloud":true,"x-is-registered":"Y","x-name":"新规格实例的规格变更","x-open-region-cloud":"hws,g42,tm,hk_g42,hk_tm,hws_eu,ctc,hws_hk","x-order":3,"x-produc-type":"rabbitmq","x-request-examples-1":{"new_spec_code":"dms.instance.rabbitmq.cluster.c3.2u4g.3","new_storage_space":600,"oper_type":"storage"},"x-request-examples-2":{"new_spec_code":"dms.instance.rabbitmq.cluster.c3.2u4g.5","new_storage_space":600,"oper_type":"horizontal"},"x-request-examples-3":{"new_spec_code":"dms.instance.rabbitmq.cluster.c3.2u4g.5","new_storage_space":600,"oper_type":"vertical"},"x-request-examples-4":{"new_storage_space":600,"oper_type":"storage"},"x-request-examples-5":{"new_broker_num":5,"new_storage_space":500,"oper_type":"horizontal"},"x-request-examples-6":{"new_product_id":"c6.4u8g.cluster","oper_type":"vertical"},"x-request-examples-description-1":"扩容存储空间(老规格按需实例)。new_spec_code的值为原规格参数。","x-request-examples-description-2":"扩容代理数量(老规格按需实例)。new_storage_space填原存储大小,new_spec_code的值dms.instance.rabbitmq.cluster.c3.2u4g.5,最后数字5为代理个数。","x-request-examples-description-3":"扩容代理规格(老规格按需实例)。new_spec_code需要改成对应规格,例如2u4g改成4u8g。","x-request-examples-description-4":"扩容存储空间(按需实例)。","x-request-examples-description-5":"扩容代理数量(按需实例)。","x-request-examples-description-6":"扩容代理规格(按需实例)。","x-request-examples-text-1":{"new_spec_code":"dms.instance.rabbitmq.cluster.c3.2u4g.3","new_storage_space":600,"oper_type":"storage"},"x-request-examples-text-2":{"new_spec_code":"dms.instance.rabbitmq.cluster.c3.2u4g.5","new_storage_space":600,"oper_type":"horizontal"},"x-request-examples-text-3":{"new_spec_code":"dms.instance.rabbitmq.cluster.c3.2u4g.5","new_storage_space":600,"oper_type":"vertical"},"x-request-examples-text-4":{"new_storage_space":600,"oper_type":"storage"},"x-request-examples-text-5":{"new_broker_num":5,"new_storage_space":500,"oper_type":"horizontal"},"x-request-examples-text-6":{"new_product_id":"c6.4u8g.cluster","oper_type":"vertical"},"x-request-examples-url-1":"POST https://{endpoint}/{engine}/v2/{project_id}/instances/{instance_id}/extend","x-request-examples-url-2":"POST https://{endpoint}/{engine}/v2/{project_id}/instances/{instance_id}/extend","x-request-examples-url-3":"POST https://{endpoint}/{engine}/v2/{project_id}/instances/{instance_id}/extend","x-request-examples-url-4":"POST https://{endpoint}/{engine}/v2/{project_id}/instances/{instance_id}/extend","x-request-examples-url-5":"POST https://{endpoint}/{engine}/v2/{project_id}/instances/{instance_id}/extend","x-request-examples-url-6":"POST https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/extend","x-support-sdk":"Y"}}},"product_short":"RabbitMQ","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"新规格实例的规格变更","tags":"规格变更管理","uri":null,"version":"2.0"}