css__UpdateFlavorByType
Updates the node specifications for a specified node type in a Huawei Cloud CSS cluster by applying a new flavor ID.
Instructions
[CSS] 修改集群规格。支持修改:
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>",
"newFlavorId": "<newFlavorId>",
"project_id": "<project_id>",
"types": "<types>"
},
"name": "css__UpdateFlavorByType"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | 指定待更改的集群节点类型。 | |
| isAutoPay | No | 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。 | |
| cluster_id | Yes | 指定待更改规格的集群ID。 | |
| project_id | Yes | 项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。 | |
| newFlavorId | Yes | 变更后节点规格ID。 该参数通过[获取实例规格列表](ListFlavors.xml)接口获取,根据name属性所需要的规格,选择对应的flavor_id。 仅支持同一个Esasticsearch引擎版本下的节点规格变更。 | |
| needCheckReplica | No | 是否需要检查副本,取值范围为true或false。默认开启校验。 |