workspace__CreateChangeOrder
Creates a change order to resize a cloud desktop's specification or expand its disk volume, letting you adjust compute and storage resources through a single Workspace API call.
Instructions
[WORKSPACE] 变更规格、扩容磁盘。
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": {
"desktop_id": "<desktop_id>",
"project_id": "<project_id>",
"type": "<type>"
},
"name": "workspace__CreateChangeOrder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 类型 resizeDesktops(变更规格)、expandVolumes(扩容磁盘)。 | |
| desktop_id | Yes | 桌面id。 | |
| period_num | No | 周期数。 | |
| project_id | Yes | 项目ID。 | |
| period_type | No | 周期类型,2:包月;3:包年。 | |
| extend_param | No | 订单的扩展参数。 | |
| new_quantity | No | 专享主机变更桌面数后桌面路数的总大小,当是jobType是resizeExclusiveLites,必传。 | |
| expand_new_size | No | 扩容后云硬盘的总大小,当是expandVolumes,必传。范围10-32760,大小为10的倍数。 | |
| expand_volume_id | No | 扩容的云硬盘的ID,当是expandVolumes,必传。 | |
| resize_product_id | No | 变更后规格产品ID,当是resizeDesktops,必传。 | |
| enterprise_project_id | No | 企业项目ID。 | |
| exclusive_lites_product_id | No | 专享主机桌面数的productId,当是resizeExclusiveLites,必传。 |