ecs__ChangeServerChargeMode
Switch Huawei Cloud ECS server billing to prepaid period-based mode by specifying server IDs and project ID, with optional dry-run validation and renewal or payment settings.
Instructions
[ECS] 更换云服务器的计费模式
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": {
"charge_mode": "<charge_mode>",
"project_id": "<project_id>",
"server_ids": "<server_ids>"
},
"name": "ecs__ChangeServerChargeMode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | 是否预先校验此次请求。 | |
| project_id | Yes | 项目ID。 | |
| server_ids | Yes | 云服务器ID列表 | |
| charge_mode | Yes | 更换后的计费模式:prePaid包周期计费模式 | |
| prepaid_options | No | 包周期选项 |