All Products
Search
Document Center

WUYING Workspace:ModifyBundle

Last Updated:Apr 03, 2024

Modifies a custom cloud computer template.

Operation description

Only custom desktop templates can be modified.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
BundleIdstringYes

The ID of the cloud computer template that you want to modify.

b-2g65ljy4291vl****
ImageIdstringNo

The new image ID. The new image must meet the following conditions:

  • The new image must be in the Available state.
  • The operating system of the new image must be the same as that of the original image.
  • The required disk size for the new image cannot be greater than that for the original image.
  • The GPU type of the new image must be the same as that of the original image.
m-aea3oaww001np****
BundleNamestringNo

The name of the new cloud computer template.

newName
DescriptionstringNo

The description of the new cloud computer template.

newDescription
LanguagestringNo

The OS language. This parameter is available only for system images.

Valid values:

  • en-US: American English

  • zh-HK: Traditional Chinese (Hong Kong)

  • zh-CN: Simplified Chinese.

  • ja-JP: Japanese

zh-CN

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2021-08-05Add Operationsee changesets