rds__UpgradeDbMajorVersion
Upgrades a Huawei Cloud RDS PostgreSQL instance to a specified major version, optionally switching its private IP to the target-version instance.
Instructions
[RDS] PostgreSQL数据库升级大版本。
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>",
"is_change_private_ip": "<is_change_private_ip>",
"project_id": "<project_id>",
"target_version": "<target_version>"
},
"name": "rds__UpgradeDbMajorVersion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID | |
| instance_id | Yes | 实例ID | |
| target_version | Yes | 目标版本。 | |
| is_change_private_ip | Yes | 是否将实例内网IP切换到大版本实例 | |
| statistics_collection_mode | No | 统计信息收集方式。is_change_private_ip为true时必选 |