mrs__UpdateAutoScalingPolicy
Updates auto-scaling policies for MRS cluster node groups or resource pools, including capacity limits, scaling rules, schedules, tags, and enablement.
Instructions
[MRS] 更新弹性伸缩策略。
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>",
"node_group_name": "<node_group_name>",
"project_id": "<project_id>",
"resource_pool_name": "<resource_pool_name>"
},
"name": "mrs__UpdateAutoScalingPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | 集群ID。 | |
| project_id | Yes | 项目ID。 | |
| node_group_name | Yes | 节点组名称。必填参数。如果resource_pool_name为default,则创建节点组维度的弹性伸缩策略。如果resource_pool_name不为default,则在该节点组下创建对应资源池维度的策略。 | |
| resource_pool_name | Yes | 资源池名称。必填参数。当集群版本不支持按指定资源池进行弹性伸缩时,需要填写为default资源池。不为default时删除指定资源池维度的弹性伸缩策略。 | |
| auto_scaling_policy | No | 弹性伸缩规则。 |