mrs__UpdateClusterScaling
Scales an existing Huawei Cloud MRS cluster by expanding or shrinking Core or Task nodes, letting you adjust capacity after cluster creation without changing Master nodes.
Instructions
[MRS] 创建集群后,扩容/缩容集群Core节点或者Task节点。MRS集群创建成功后不支持调整Master节点数量,即不支持扩缩容Master节点。该接口不兼容Sahara。
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": {
"cluster_id": "<cluster_id>",
"parameters": "<parameters>",
"project_id": "<project_id>"
},
"name": "mrs__UpdateClusterScaling"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | No | 套餐ID,为扩展接口,预留此参数。用户不需要配置。 | |
| cluster_id | Yes | 集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。 | |
| parameters | Yes | 请求参数集合。 | |
| project_id | Yes | 项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。 | |
| service_id | No | 服务ID,为扩展接口,预留此参数。用户不需要配置。 | |
| previous_values | No | 扩展接口,预留此参数。用户不需要配置。 |