rds__SetAutoEnlargePolicy
Configures automatic storage expansion for RDS instances, setting enable/disable, trigger threshold, expansion limit, and step size to prevent storage exhaustion.
Instructions
[RDS] 设置实例存储空间自动扩容策略,按扩容量扣除存储费用。
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"switch_option": "<switch_option>"
},
"name": "rds__SetAutoEnlargePolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit_size | No | 扩容上限,单位GB, 取值范围40~4000,需要大于等于实例当前存储空间总大小,switch_option为true必填 | |
| project_id | Yes | 租户在某一region下的project ID。 | |
| instance_id | Yes | 实例ID。 | |
| step_percent | No | 每次自动扩容的百分比步长,取值范围5~50,开启自定义步长功能时必填 | |
| switch_option | Yes | 是否开启自动扩容,true为开启,false为关闭 | |
| trigger_threshold | No | 可用存储空间百分比,小于等于此值或者10GB时触发扩容,switch_option为true时必填 |