Configures a scheduled start, stop, restart, or reset task for a computer pool.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| DesktopGroupId |
string |
Yes |
The ID of the computer pool. |
dg-dbdkfmh883**** |
| TimerType |
integer |
Yes |
The type of the scheduled task. Valid values:
Valid values:
|
1 |
| CronExpression |
string |
No |
The cron expression for the scheduled task. This parameter is required when |
0 0 9 * * ? |
| ResetType |
integer |
No |
The type of the disk that you want to reset. Valid values:
Valid values:
|
1 |
| Force |
boolean |
No |
Specifies whether to forcefully execute the scheduled task. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
388CF76E-FFB3-5174-9F91-CDD**** |
Examples
Success response
JSON format
{
"RequestId": "388CF76E-FFB3-5174-9F91-CDD****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.