dsc__CreateProductOrder
Creates a Huawei Cloud DSC instance order using charging mode, billing period, product details, region, and zone to support provisioned resource purchasing.
Instructions
[DSC] 根据计费方式、计费周期等信息进行实例下单
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>",
"period_num": "<period_num>",
"period_type": "<period_type>",
"product_infos": "<product_infos>",
"project_id": "<project_id>",
"region_id": "<region_id>",
"zone": "<zone>"
},
"name": "dsc__CreateProductOrder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | 所属国家区域 | |
| region_id | Yes | 当前项目所在region的id,如:xx-xx-1。 | |
| period_num | Yes | 订购周期数目 | |
| project_id | Yes | 项目ID | |
| discount_id | No | 折扣ID | |
| period_type | Yes | 订购周期类型,2:月,3:年 | |
| charging_mode | Yes | 计费模式,0:包周期计费,1:按需计费,2:一次性计费 | |
| is_auto_renew | No | 是否自动续费 | |
| product_infos | Yes | 产品信息列表 | |
| promotion_info | No | 促销信息 | |
| cloud_service_type | Yes | 云服务类型 | |
| composite_product_id | No | 组合套餐ID | |
| promotion_activity_id | No | 促销ID |