Creates a custom cloud computer template.
Operation description
Cloud computer templates are classified into system templates and custom templates. System templates are default templates provided by Alibaba Cloud. You can call this operation to create a custom template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:CreateBundle |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the regions supported by Elastic Desktop Service. |
cn-hangzhou |
| ImageId |
string |
Yes |
The image ID. |
m-4zfb6zj728hhr**** |
| DesktopType |
string |
Yes |
The cloud computer specifications. You can call DescribeBundles to query cloud computer templates and obtain the supported cloud computer specifications from the Note
Non-GPU images can only use non-GPU specifications, and GPU images can only use GPU specifications. |
eds.enterprise_office.2c4g |
| RootDiskSizeGib |
integer |
Yes |
The system disk size. Unit: GiB. The supported system disk sizes correspond to the specifications. For more information, see Overview of cloud computer specifications. |
80 |
| BundleName |
string |
No |
The name of the cloud computer template. |
testBundleName |
| Description |
string |
No |
The description of the cloud computer template. |
test |
| Language |
string |
No |
The operating system language. Currently, only system images are supported. Valid values:
Valid values:
|
zh-CN |
| UserDiskSizeGib |
array |
Yes |
The list of data disk sizes. Currently, only one data disk can be configured. |
70 |
|
integer |
No |
The data disk size. Currently, only one data disk can be configured. Unit: GiB. The supported data disk sizes correspond to the specifications. For more information, see Overview of cloud computer specifications. Note
The data disk size (UserDiskSizeGib) specified in the template must be greater than the data disk size (DataDiskSize) in the image. |
70 |
|
| RootDiskPerformanceLevel |
string |
No |
The performance level of the system cloud disk. When the cloud computer specifications are set to graphics or high frequency, you can configure the cloud disk performance level. For more information about the differences between performance levels, see ESSD cloud disks. Settings: standard SSD and ESSD cloud disks are supported. Valid values:
|
PL1 |
| UserDiskPerformanceLevel |
string |
No |
The performance level of the data cloud disk. When the cloud computer specifications are set to graphics or high frequency, you can configure the cloud disk performance level. For more information about the differences between performance levels, see ESSD cloud disks. Settings: standard SSD and ESSD cloud disks are supported. Valid values:
|
PL1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| BundleId |
string |
The cloud computer template ID. |
b-cezrnfgecbich**** |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"BundleId": "b-cezrnfgecbich****",
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.