rocketmq__ResizeInstance
Modify RocketMQ instance specifications to scale vertically, horizontally, or adjust storage, aligning capacity with workload and performance needs.
Instructions
[ROCKETMQ] 实例规格变更。
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": "rocketmq__ResizeInstance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | 消息引擎的类型。支持的类型为rocketmq。 | |
| oper_type | Yes | 变更类型 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](hrm-api-0011.xml)。 | |
| instance_id | Yes | 实例ID。 | |
| publicip_id | No | 实例绑定的弹性IP地址的ID。 | |
| new_broker_num | No | 代理数量 | |
| new_product_id | No | 当oper_type类型是vertical时,该参数才有效且必填。 | |
| new_storage_space | No | 当oper_type类型是storage或horizontal时,该参数有效且必填,实例存储空间 = 代理数量 * 每个broker的存储空间。 |