css__UpdateShrinkNodes
Shrinks specified existing nodes in a Huawei Cloud CSS cluster by node ID to reduce capacity; subscription-based clusters are not supported.
Instructions
[CSS] 该接口可以对集群现有节点中指定节点进行缩容。包周期类型的集群不支持通过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": {
"cluster_id": "<cluster_id>",
"project_id": "<project_id>",
"shrinkNodes": "<shrinkNodes>"
},
"name": "css__UpdateShrinkNodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | 指定待缩容的集群ID。 | |
| project_id | Yes | 项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。 | |
| shrinkNodes | Yes | 需要缩容的节点ID。 | |
| migrate_data | No | 是否迁移数据。 |