Schedule Push Image
Request an update of the image in an instant clone desktop pool. This marks the old image to be replaced by new image, which is performed asynchronously. Once the new image is successfully updated, all eligible machines in desktop pool would also be marked for update with new image, this operation is also performed asynchronously.
To schedule the request, there should not be any operation on the desktop pool currently.
If the current operation of the desktop pool is 'SCHEDULE_PUSH_IMAGE' and schedule has not triggered yet, use this API to reschedule an existing scheduled push image operation. In case of reschedule, other than start time all the parameters of the API should be identical to previous call to this API for the desktop pool. All the listed privileges are required -
Privileges | Description |
---|---|
POOL_SVI_IMAGE_MANAGEMENT | Caller should have permission to this privilege, on the associated access group of the desktop pool. |
id
{
"add_virtual_tpm": false,
"im_stream_id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed51",
"im_tag_id": "0103796c-102b-4ed3-953f-3dfe3d23e0fe",
"logoff_policy": "WAIT_FOR_LOGOFF",
"parent_vm_id": "vm-1",
"snapshot_id": "snapshot-1",
"start_time": 1587081283000,
"stop_on_first_error": true
}
Indicates whether to add Virtual TPM device. Default: false
New image management stream for the desktop pool.
Either parent VM and snapshot or image management stream and tag are to be specified.
New image management tag for the desktop pool. This must be a tag of the image management stream.
Determines when to perform the operation on machines which have an active session.
- FORCE_LOGOFF: Users will be forced to log off when the system is ready to execute the operation. Before being forcibly logged off, users may have a grace period in which to save their work which can be configured in Global Settings.
- WAIT_FOR_LOGOFF: Wait for connected users to disconnect before the task starts. The operation starts immediately when there are no active sessions.
New base image virtual machine for the desktop pool. This must be in the same datacenter as the base image of the desktop pool.
Either parent VM and snapshot or image management stream and tag are to be specified.
New base image snapshot for the desktop pool. This must be a snapshot of the parent VM.
When to start the operation. If unset or the time is in the past, the operation will begin immediately. Measured as epoch time.
Indicates that the operation should stop on first error. Default: true
No Content
Bad Request
User is not authenticated
Access to the resource is forbidden
Not Found