css__UpdateOndemandClusterToPeriod
Converts an on-demand CSS cluster to period (subscription) billing, letting you set the purchase period and auto-pay or auto-renew options to commit to a fixed-term plan.
Instructions
[CSS] 该接口用于按需集群转包周期集群。
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>",
"periodNum": "<periodNum>",
"periodType": "<periodType>",
"project_id": "<project_id>"
},
"name": "css__UpdateOndemandClusterToPeriod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isAutoPay | No | 是否自动支付。下单订购后,是否自动从客户的华为云账户中支付,而不需要客户手动去进行支付。该参数适用于包周期集群。 | |
| periodNum | Yes | 订购周期数。 | |
| cluster_id | Yes | 指定待转包周期的集群ID。 | |
| consoleURL | No | 云服务ConsoleURL。 订购订单支付完成后,客户可以通过此URL跳转到云服务Console页面查看信息。(仅手动支付时涉及)。 | |
| periodType | Yes | 订购周期类型。 | |
| project_id | Yes | 项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。 | |
| isAutoRenew | No | 是否自动续订,为空时表示不自动续订 |