Enables or disables the auto-push feature for an image update task.
Operation description
You can call this operation to manage each image update task. This operation is valid only when the auto-update switch in the image update module for global image updates is turned off. If the auto-update switch is turned on, the switches for each image update task are always turned on. If you want to turn on or off the auto-update switch, go to the Elastic Desktop Service console and choose Operations > Image Updates in the left-side navigation pane.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:UpdateFotaTask |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the regions supported by Elastic Desktop Service. |
cn-hangzhou |
| TaskUid |
string |
Yes |
The ID of the image update task. You can call the DescribeFotaTasks operation to obtain the value of this parameter. |
aot-c4khwrp9ocml4**** |
| UserStatus |
string |
No |
Specifies whether to automatically push the image update task. Valid values:
Valid values:
|
Pending |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.