/** @since SDK4.1 */ public void exitLockdownMode() throws HostConfigFault, RuntimeFault, RemoteException { getVimService().exitLockdownMode(getMOR()); }
/** @since SDK5.1 */ public HostTpmAttestationReport queryTpmAttestationReport() throws RuntimeFault, RemoteException { return getVimService().queryTpmAttestationReport(getMOR()); }
/** @since SDK5.1 */ public void updateSystemSwapConfiguration(HostSystemSwapConfiguration sysSwapConfig) throws RuntimeFault, RemoteException { getVimService().updateSystemSwapConfiguration(getMOR(), sysSwapConfig); }
/** @since SDK4.1 */ public void enterLockdownMode() throws HostConfigFault, RuntimeFault, RemoteException { getVimService().enterLockdownMode(getMOR()); }
/** * @deprecated in SDK4.0 */ public void disableFeature(HostSystem host, String featureKey) throws LicenseServerUnavailable, InvalidState, RuntimeFault, RemoteException { getVimService().disableFeature(getMOR(), host==null? null: host.getMOR(), featureKey); }
public void markAsVirtualMachine(ResourcePool pool, HostSystem host) throws VmConfigFault, FileFault, InvalidState, InvalidDatastore, RuntimeFault, RemoteException { if(pool==null) { throw new IllegalArgumentException("pool must not be null."); } getVimService().markAsVirtualMachine(getMOR(), pool.getMOR(), host==null? null : host.getMOR()); }
public OvfValidateHostResult validateHost(String ovfDescriptor, HostSystem host, OvfValidateHostParams vhp) throws TaskInProgress, ConcurrentAccess, FileFault, InvalidState, RuntimeFault, RemoteException { return getVimService().validateHost(getMOR(), ovfDescriptor, host.getMOR(), vhp); } }
public HostCapability queryTargetCapabilities(HostSystem host) throws RuntimeFault, RemoteException { return getVimService().queryTargetCapabilities(getMOR(), host==null?null:host.getMOR()); } }
public Event[] validateMigration(VirtualMachine[] vms, VirtualMachinePowerState state, String[] testType , ResourcePool pool, HostSystem host) throws InvalidState, RuntimeFault, RemoteException { if(vms==null) { throw new IllegalArgumentException("vms must not be null."); } return getVimService().validateMigration(getMOR(), MorUtil.createMORs(vms), state, testType, pool==null? null: pool.getMOR(), host==null? null : host.getMOR()); }
public Task powerUpHostFromStandBy(int timeSec) throws HostPowerOpFailed, NotSupported, Timedout, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().powerUpHostFromStandBy_Task(getMOR(), timeSec); return new Task(getServerConnection(), mor); }
public Task exitMaintenanceMode(int timeout) throws Timedout, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().exitMaintenanceMode_Task(getMOR(), timeout); return new Task(getServerConnection(), mor); }
public DVSManagerDvsConfigTarget queryDvsConfigTarget(HostSystem host, DistributedVirtualSwitch dvs) throws RuntimeFault, RemoteException { return getVimService().queryDvsConfigTarget(getMOR(), host==null? null : host.getMOR(), dvs==null? null : dvs.getMOR()); }
public Task reconnectHost_Task(HostConnectSpec cnxSpec, HostSystemReconnectSpec reconnectSpec) throws InvalidName, InvalidLogin, InvalidState, HostConnectFault, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().reconnectHost_Task(getMOR(), cnxSpec, reconnectSpec); return new Task(getServerConnection(), mor); }
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 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); }
/** @since SDK4.0 */ public HttpNfcLease importVApp(ImportSpec spec, Folder folder, HostSystem host) throws VmConfigFault, FileFault, OutOfBounds, DuplicateName, InvalidName, InvalidDatastore, InsufficientResourcesFault, RuntimeFault, RemoteException { ManagedObjectReference mor = getVimService().importVApp(getMOR(), spec, folder==null? null : folder.getMOR(), host==null? null : host.getMOR()); return new HttpNfcLease(getServerConnection(), mor); }
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); }
public Task createVM_Task(VirtualMachineConfigSpec config, ResourcePool pool, HostSystem host) throws InvalidName, VmConfigFault, DuplicateName, FileFault, OutOfBounds, InsufficientResourcesFault, InvalidDatastore, RuntimeFault, RemoteException { return new Task(getServerConnection(), getVimService().createVM_Task(getMOR(), config, pool.getMOR(), host==null? null : host.getMOR()) ); }
public Task checkCompatibility_Task(VirtualMachine vm, HostSystem host, ResourcePool pool, String[] testType) throws NoActiveHostInCluster, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().checkCompatibility_Task(getMOR(), vm==null?null:vm.getMOR(), host==null?null:host.getMOR(), pool==null?null:pool.getMOR(), testType); return new Task(getServerConnection(), taskMor); } }