/** @since SDK5.1 */ public VirtualMachineConfigOptionDescriptor[] queryDatacenterConfigOptionDescriptor() throws RuntimeFault, RemoteException { return getVimService().queryDatacenterConfigOptionDescriptor(getMOR()); } }
public HostConnectInfo queryConnectionInfo(String hostname, int port, String username, String password, String sslThumbprint) throws InvalidLogin, HostConnectFault, RuntimeFault, RemoteException { return getVimService().queryConnectionInfo(getMOR(), hostname, port, username, password, sslThumbprint); }
/** @since SDK4.1 */ public Task powerOnMultiVM_Task(VirtualMachine[] vms, OptionValue[] option) throws RuntimeFault, RemoteException { if(vms==null) { throw new IllegalArgumentException("vms must not be null."); } ManagedObjectReference[] mors = MorUtil.createMORs(vms); ManagedObjectReference tmor = getVimService().powerOnMultiVM_Task(getMOR(), mors, option); return new Task(getServerConnection(), tmor); }
/** @since SDK5.1 */ public Task reconfigureDatacenter_Task(DatacenterConfigSpec spec, boolean modify) throws RuntimeFault, RemoteException { ManagedObjectReference tmor = getVimService().reconfigureDatacenter_Task(getMOR(), spec, modify); return new Task(getServerConnection(), tmor); }