code: public Task relocateVM_Task(VirtualMachineRelocateSpec spec, VirtualMachineMovePriority priority) throws VmConfigFault, Timedout, FileFault, InvalidState, InsufficientResourcesFault, MigrationFault, InvalidDatastore, RuntimeFault, RemoteException {
          ManagedObjectReference mor = getVimService().relocateVM_Task(getMOR(), spec, priority);
          return new Task(getServerConnection(), mor);
      }
docs: SDK4.0 signature