css__UpdateShrinkCluster
Shrinks a specified CSS cluster by reducing node counts and storage capacity for selected instance types; use it for resource scale-down where API-based node-type shrink is 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>",
"shrink": "<shrink>"
},
"name": "css__UpdateShrinkCluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shrink | Yes | 需要缩容的节点类型和数量集合。 | |
| cluster_id | Yes | 指定待缩容的集群ID。 | |
| project_id | Yes | 项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。 |