All Products
Search
Document Center

Elastic Desktop Service:CreateBundle

Last Updated:Jul 31, 2026

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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 DesktopType parameter in the response.

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:

  • zh-CN: Simplified Chinese.

  • zh-HK: Traditional Chinese (Hong Kong (China)).

  • en-US: English.

  • ja-JP: Japanese.

Valid values:

  • en-US :

    English.

  • zh-HK :

    Traditional Chinese (Hong Kong (China))

  • zh-CN :

    Simplified Chinese.

  • ja-JP :

    Japanese.

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 :

    PL1

  • PL0 :

    PL0

  • PL3 :

    PL3

  • PL2 :

    PL2

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 :

    PL1

  • PL0 :

    PL0

  • PL3 :

    PL3

  • PL2 :

    PL2

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.