public Task checkRelocate_Task(VirtualMachine vm, VirtualMachineRelocateSpec spec, String[] testType) throws InvalidState, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().checkRelocate_Task(getMOR(), vm.getMOR(), spec, testType); return new Task(getServerConnection(), taskMor); }
public Task queryVMotionCompatibilityEx_Task(VirtualMachine[] vm, HostSystem[] host) throws RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().queryVMotionCompatibilityEx_Task(getMOR(), convertMors(vm), convertMors(host)); return new Task(getServerConnection(), taskMor); } }
public Task checkMigrate_Task(VirtualMachine vm, HostSystem host, ResourcePool pool, VirtualMachinePowerState state, String[] testType) throws NoActiveHostInCluster, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().checkMigrate_Task(getMOR(), vm.getMOR(), host==null?null : host.getMOR(), pool==null?null : pool.getMOR(), state, testType); return new Task(getServerConnection(), taskMor); }