kafka__ResizeEngineInstance
Resizes on-demand Kafka instances by changing specifications and expanding storage through the Huawei Cloud API, enabling capacity adjustments without recreating the instance.
Instructions
[KAFKA] 实例规格变更。当前通过调用API,只支持按需实例进行实例扩容。
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": "kafka__ResizeEngineInstance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | Yes | 消息引擎。 | kafka |
| oper_type | Yes | 变更类型。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。 | |
| tenant_ips | No | 指定的内网IP地址,仅支持指定IPv4。 | |
| instance_id | Yes | 实例ID。 | |
| publicip_id | No | 实例绑定的弹性IP地址的ID。 | |
| new_broker_num | No | 当oper_type参数为horizontal时,该参数有效。 | |
| new_product_id | No | 垂直扩容时的新产品ID。 | |
| new_storage_space | No | 扩容后的存储空间。 | |
| second_tenant_subnet_id | No | 实例扩容时新节点使用备用子网的id。 |