cbr__ChangeVaultChargeMode
Converts CBR vaults from pay-per-use to subscription billing by specifying vault IDs and a monthly or yearly period.
Instructions
[CBR] 修改资源的付费模式,暂时只支持按需资源转包周期资源。
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": {
"period_num": "<period_num>",
"period_type": "<period_type>",
"project_id": "<project_id>",
"vault_ids": "<vault_ids>"
},
"name": "cbr__ChangeVaultChargeMode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_ids | Yes | 资源列表 | |
| period_num | Yes | 创建类型的数量,按年或按月的个数 | |
| project_id | Yes | 项目ID | |
| console_url | No | 跳转URL | |
| is_auto_pay | No | 是否自动付费,默认为不自动付费 | |
| period_type | Yes | 创建类型,按年(year)或者按月(month) | |
| charging_mode | No | 付费模式,当前仅可选择:pre_paid | |
| is_auto_renew | No | 到期后是否自动续期,默认不续期 |