GetTasksLast Updated January 27, 2025
This method
retrieves task information from the vCenter Server after a
ProtectVms
or
UnprotectVms
request,
which both take some time to complete.
Synopsis
VmTask[]
is an array of
monitorable task information keyed by Virtual Machine, containing:
- task– managed object reference to a task on theSite Recovery Managerserver.
- vm– managed object reference to a VirtualMachine.
Faults
- RuntimeFault
For information about the faults that
Site Recovery Manager
throws, see Faults in Site Recovery Manager API. Example for
GetTasks