rabbitmq__ResizeEngineInstance
Change RabbitMQ instance specifications by scaling brokers horizontally or vertically, including broker count and storage capacity adjustments in Huawei Cloud.
Instructions
[RABBITMQ] 实例规格变更。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"engine": "<engine>",
"instance_id": "<instance_id>",
"oper_type": "<oper_type>",
"project_id": "<project_id>"
},
"name": "rabbitmq__ResizeEngineInstance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | 消息引擎的类型。支持的类型为rabbitmq。 | rabbitmq |
| oper_type | Yes | 变更类型。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。 | |
| instance_id | Yes | 实例ID。 | |
| new_spec_code | No | 老规格,例如dms.instance.rabbitmq.cluster.c3.8u16g,当oper_type类型horizontal时,为dms.instance.rabbitmq.cluster.c3.8u16g.5,最后的数字5为代理数 | |
| new_broker_num | No | 当oper_type参数为horizontal时,该参数有效。 | |
| new_product_id | No | 规格,例如c6.8u16g.cluster,当oper_type类型是vertical时,该参数才有效且必填。 | |
| new_storage_space | No | 扩容后的存储空间。 |