Modifies a desktop template.
Description
Only custom desktop templates can be modified.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyBundle |
The operation that you want to perform. Set the value to ModifyBundle. |
BundleId | String | Yes | b-2g65ljy4291vl**** |
The ID of the desktop template. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region. |
ImageId | String | No | m-aea3oaww001np**** |
The ID of the new image. The new image must meet the following requirements:
|
BundleName | String | No | newName |
The name of the new desktop template. |
Description | String | No | newDescription |
The description of the new desktop template. |
Language | String | No | zh-CN |
The language of the operating system. This parameter is available only for system images. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 4636DBE0-BBB4-4076-8B8E-94D21A9A**** |
The ID of the request. |
Examples
Sample requests
https://ecd.cn-hangzhou.aliyuncs.com/?Action=ModifyBundle
&BundleId=b-2g65ljy4291vl****
&RegionId=cn-hangzhou
&ImageId=m-aea3oaww001np****
&<Common request parameters>
Sample success responses
XML
format
<ModifyBundleResponse>
<RequestId>4636DBE0-BBB4-4076-8B8E-94D21A9A****</RequestId>
</ModifyBundleResponse>
JSON
format
{
"ModifyBundleResponse": {
"RequestId": "4636DBE0-BBB4-4076-8B8E-94D21A9A****"
}
}