cbh__CreateInstanceOrder
Creates a Cloud Bastion Host (CBH) instance subscription order with billing and product details. Use it after provisioning a CBH instance to submit the purchase order for that instance.
Instructions
[CBH] 创建云堡垒机实例订单。(调用此接口前先调用创建云堡垒机实例接口)
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": {
"charging_mode": "<charging_mode>",
"cloud_service_type": "<cloud_service_type>",
"instance_key": "<instance_key>",
"period_num": "<period_num>",
"period_type": "<period_type>",
"product_infos": "<product_infos>",
"project_id": "<project_id>",
"region_id": "<region_id>",
"subscription_num": "<subscription_num>"
},
"name": "cbh__CreateInstanceOrder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_id | Yes | 云堡垒机实例局点ID。 | |
| period_num | Yes | 订购周期数。 | |
| project_id | Yes | 项目ID。获取方法详见API参考,附录[获取项目ID](https://support.huaweicloud.com/api-cbh/cbh_02_0020.html)。 | |
| period_type | Yes | 订购周期类型。 | |
| instance_key | Yes | 云堡垒机实例key。 | |
| charging_mode | Yes | 计费模式。 | |
| is_auto_renew | No | 是否自动续订。 | |
| product_infos | Yes | 产品信息 | |
| subscription_num | Yes | 订购数量。当前仅支持订购1个,填写默认值1。 | |
| cloud_service_type | Yes | 云服务类型,默认填写“hws.service.type.cbh”。 |