Create a custom image from an existing WUYING Workspace. Use this image to quickly deploy more workspaces with identical configurations. Avoid repeating configuration steps each time you create a new workspace.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Call DescribeRegions to view the list of regions that support WUYING Workspace. |
cn-hangzhou |
| DesktopId |
string |
No |
The ID of the cloud computer. |
ecd-7w78ozhjcwa3u**** |
| ImageName |
string |
No |
The name of the image. The name must be 2 to 128 characters in length. It must start with a letter or Chinese character. It cannot start with |
testImageName |
| Description |
string |
No |
The description of the image. The description must be 2 to 256 characters in length. It cannot start with |
This is description. |
| SnapshotId |
string |
No |
The ID of the snapshot. |
s-2zefuwk8l6ytcgd3bf4o |
| ImageResourceType |
string |
No |
This parameter is not available for use. |
deprecated |
| SnapshotIds |
array |
No |
A list of snapshot IDs. |
|
|
string |
No |
A snapshot ID. |
[\"s-2ze2ai7op1duq4mnx5ha\"] |
|
| AutoCleanUserdata |
boolean |
No |
Specify whether to clear user personal data. If set to Valid values:
|
false |
| DiskType |
string |
No |
The disk data included in the image. Valid values:
|
ALL |
| DataSnapshotIds |
array |
No |
||
|
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| ImageId |
string |
The ID of the image. |
m-gx2x1dhsmusr2**** |
| RequestId |
string |
The ID of the request. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"ImageId": "m-gx2x1dhsmusr2****",
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.