/** @since SDK5.1 */ public Task updateDVSHealthCheckConfig_Task(DVSHealthCheckConfig[] healthCheckConfig) throws DvsFault, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().updateDVSHealthCheckConfig_Task(getMOR(), healthCheckConfig); return new Task(getServerConnection(), taskMor); }
public Task moveDVPort_Task(String[] portKey, String destinationPortgroupKey) throws DvsFault, NotFound, ConcurrentAccess, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().moveDVPort_Task(getMOR(), portKey, destinationPortgroupKey); return new Task(getServerConnection(), taskMor); }
public Task reconfigureComputeResource_Task(ComputeResourceConfigSpec spec, boolean modify) throws RuntimeFault, RemoteException { ManagedObjectReference taskMOR = getVimService().reconfigureComputeResource_Task(getMOR(), spec, modify); return new Task(getServerConnection(), taskMOR); }
/** * @since 4.0 */ public Task queryHostPatch_Task(HostPatchManagerPatchManagerOperationSpec spec) throws PlatformConfigFault, RequestCanceled, InvalidState, TaskInProgress, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().queryHostPatch_Task(getMOR(), spec); return new Task(getServerConnection(), taskMor); }
/** @since SDK4.1 */ public Task updateVirtualMachineFiles_Task(DatastoreMountPathDatastorePair[] mountPathDatastoreMapping) throws PlatformConfigFault, ResourceInUse, TaskInProgress, InvalidDatastore, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().updateVirtualMachineFiles_Task(getMOR(), mountPathDatastoreMapping); return new Task(getServerConnection(), mor); } }
/** @since SDK5.1 */ public Task dVSManagerImportEntity_Task(EntityBackupConfig[] entityBackup, String importType) throws DvsFault, NotFound, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().dVSManagerImportEntity_Task(getMOR(), entityBackup, importType); return new Task(getServerConnection(), taskMor); }
public Task exitMaintenanceMode(int timeout) throws Timedout, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().exitMaintenanceMode_Task(getMOR(), timeout); return new Task(getServerConnection(), mor); }
public Task powerOffVM_Task() throws TaskInProgress, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().powerOffVM_Task(getMOR()); return new Task(getServerConnection(), mor); }
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); }
public Task removeAllSnapshots_Task(Boolean consolidate) throws SnapshotFault, TaskInProgress, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().removeAllSnapshots_Task(getMOR(), consolidate); return new Task(getServerConnection(), mor); }
/** @since SDK4.0 */ public Task turnOffFaultToleranceForVM_Task() throws TaskInProgress, VmFaultToleranceIssue, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().turnOffFaultToleranceForVM_Task(getMOR()); return new Task(getServerConnection(), mor); }
/** @since SDK5.0 */ public Task estimateStorageForConsolidateSnapshots_Task() throws TaskInProgress, InvalidState, FileFault, VmConfigFault, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().estimateStorageForConsolidateSnapshots_Task(getMOR()); return new Task(getServerConnection(), taskMor); }
public Task moveHostInto_Task(HostSystem host, ResourcePool resourcePool) throws TooManyHosts, InvalidState, RuntimeFault, RemoteException { if(host==null) { throw new IllegalArgumentException("host must not be null."); } ManagedObjectReference taskMOR = getVimService().moveHostInto_Task(getMOR(), host.getMOR(), resourcePool==null? null : resourcePool.getMOR()); return new Task(getServerConnection(), taskMOR); }
public Task createVirtualDisk_Task(String name, Datacenter datacenter, VirtualDiskSpec spec) throws FileFault, RuntimeFault, RemoteException { return new Task(getServerConnection(), getVimService().createVirtualDisk_Task(getMOR(), name, datacenter==null? null : datacenter.getMOR(), spec)); }
/** @since SDK4.0 */ public Task eagerZeroVirtualDisk_Task(String name, Datacenter datacenter) throws FileFault, RuntimeFault, RemoteException { return new Task(getServerConnection(), getVimService().eagerZeroVirtualDisk_Task(getMOR(), name, datacenter==null? null : datacenter.getMOR())); }
/** * @since SDK5.0 */ public Task checkAnswerFileStatus_Task(HostSystem[] hosts) throws RuntimeFault, RemoteException { ManagedObjectReference[] hostMors = MorUtil.createMORs(hosts); ManagedObjectReference taskMor = getVimService().checkAnswerFileStatus_Task(getMOR(), hostMors); return new Task(getServerConnection(), taskMor); }
public Task revertToCurrentSnapshot_Task(HostSystem host, Boolean suppressPowerOn) throws VmConfigFault, SnapshotFault, TaskInProgress, InvalidState, InsufficientResourcesFault, NotFound, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().revertToCurrentSnapshot_Task(getMOR(), host==null? null : host.getMOR(), suppressPowerOn); return new Task(getServerConnection(), mor); }
public Task zeroFillVirtualDisk_Task(String name, Datacenter datacenter) throws FileFault, RuntimeFault, RemoteException { return new Task(getServerConnection(), getVimService().zeroFillVirtualDisk_Task(getMOR(), name, datacenter==null? null : datacenter.getMOR())); }
public Task registerVM_Task(String path, String name, boolean asTemplate, ResourcePool pool, HostSystem host) throws VmConfigFault, InvalidName, DuplicateName, FileFault, OutOfBounds, InsufficientResourcesFault, InvalidDatastore, AlreadyExists, NotFound, RuntimeFault, RemoteException { return new Task( getServerConnection(), getVimService().registerVM_Task(getMOR(), path, name, asTemplate, pool==null? null : pool.getMOR(), host==null? null : host.getMOR()) ); }
/** @since SDK4.0 */ public Task enableSecondaryVM_Task(VirtualMachine vm, HostSystem host) throws TaskInProgress, VmFaultToleranceIssue, InvalidState, VmConfigFault, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().enableSecondaryVM_Task(getMOR(), vm.getMOR(), host==null? null : host.getMOR()); return new Task(getServerConnection(), mor); }