Modifies all parameters of a custom WUYING Workspace template.
Operation description
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
string |
Yes |
The template ID. |
b-0caoeogs88y***** |
| TemplateName |
string |
No |
The name of the template. The name must meet the following requirements:
|
我的云电脑模板001 |
| Description |
string |
No |
The description of the template. The description must meet the following requirements:
|
testDescription |
| SystemDiskSize |
integer |
No |
The size of the system disk. Unit: GiB. The value must be between 40 and 500, inclusive. The step size is 10 GiB. Note
The system disk size cannot be smaller than the size of the image. |
80 |
| SystemDiskPerformanceLevel |
string |
No |
The type of the system disk. Note
Enhanced SSD (ESSD) disks are supported only by cloud computers with high clock speeds and powerful graphics capabilities. Valid values:
|
AutoPL |
| DataDiskList |
array<object> |
No |
||
|
object |
No |
|||
| Size |
integer |
No |
The size of the data disk. Unit: GiB. The value must be between 40 and 2040, inclusive. The step size is 10 GiB. |
40 |
| PerformanceLevel |
string |
No |
The performance level of the data disk. The default value is Valid values:
|
|
| ImageId |
string |
No |
The ID of the WUYING Workspace image. You can find the ID on the Image Management page. OS images and custom images are supported. |
m-gx2x1dhsmusr2**** |
| PolicyGroupId |
string |
No |
The ID of the global policy. |
pg-gx2x1dhsmthe9**** |
| DefaultLanguage |
string |
No |
The default language to set when the WUYING Workspace starts. This parameter is valid only when you create a WUYING Workspace from an OS image. Valid values:
|
zh-CN |
| TimerGroupId |
string |
No |
The ID of the configuration group. |
bcc-dweha***** |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-a5fqjjqaejt*** |
| ResourceTagList |
array<object> |
No |
Tags for the cloud computer, in key-value format. You can specify up to 20 tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The tag key. |
department |
| Value |
string |
No |
The tag value. |
design |
| RegionConfigList |
array<object> |
No |
The region-specific template configurations. You can specify configurations for multiple regions. The system matches the configuration based on the specific region. Note
You can specify configurations for up to 20 regions. |
|
|
object |
No |
|||
| RegionId |
string |
No |
The region ID. You can call DescribeRegions to obtain a list of regions that WUYING Workspace supports. |
cn-beijing |
| SnapshotPolicyId |
string |
No |
The ID of the automatic snapshot policy. |
sp-35fvn8m2***** |
| ResourceInstanceType |
string |
No |
The ID of the cloud desktop instance type. |
eds.enterprise_office.8c16g |
| VolumeEncryptionEnable |
boolean |
No |
Specifies whether to enable disk encryption. Valid values:
|
false |
| VolumeEncryptionKey |
string |
No |
The ID of the KMS key to use when disk encryption is enabled. |
a7b3c0c8-b3a2-4876-b1cc-116dddc9**** |
| OfficeSiteId |
string |
No |
The ID of the workspace. |
cn-hangzhou+dir-709**** |
| SubnetId |
string |
No |
The ID of the vSwitch. |
vsw-adjrehad1**** |
| SiteConfigList |
array<object> |
No |
||
|
object |
No |
|||
| SiteId |
string |
No |
||
| AppRuleId |
string |
No |
||
| ChargeType |
string |
No |
||
| Period |
integer |
No |
||
| PeriodUnit |
string |
No |
||
| AutoPay |
boolean |
No |
||
| AutoRenew |
boolean |
No |
||
| UserDuration |
integer |
No |
||
| PostPaidAfterUsedUp |
boolean |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BaseResult |
||
| Success |
boolean |
Indicates whether the operation was successful. Valid values: true and false. |
true |
| Code |
string |
The result of the operation. A value of |
success |
| Message |
string |
The error message. This parameter is not returned if the value of Code is |
success |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"Success": true,
"Code": "success",
"Message": "success",
"HttpStatusCode": 200,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.