Package com.vmware.vim25.mo
Class EnvironmentBrowser
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.EnvironmentBrowser
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentBrowser(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionqueryConfigOption(String key, HostSystem host) Query for a virtual machine configuration option matching the key or host or both given in theEnvironmentBrowserConfigOptionQuerySpec.queryConfigTarget(HostSystem host) Methods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Constructor Details
-
EnvironmentBrowser
-
-
Method Details
-
getDatastoreBrowser
-
queryConfigOption
public VirtualMachineConfigOption queryConfigOption(String key, HostSystem host) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
queryConfigOptionDescriptor
public VirtualMachineConfigOptionDescriptor[] queryConfigOptionDescriptor() throws RuntimeFault, RemoteException- Throws:
RuntimeFaultRemoteException
-
queryConfigTarget
- Throws:
RuntimeFaultRemoteException
-
queryTargetCapabilities
- Throws:
RuntimeFaultRemoteException
-
queryConfigOptionEx
public VirtualMachineConfigOption queryConfigOptionEx(EnvironmentBrowserConfigOptionQuerySpec spec) throws InvalidArgument, RuntimeFault, RemoteException Query for a virtual machine configuration option matching the key or host or both given in theEnvironmentBrowserConfigOptionQuerySpec. For more details seequeryConfigOptionIf the Environment Browser belongs to a virtual machine and the spec argument is omitted, the method returns the ConfigOption object corresponding to the vmx version of the virutal machine and the guestOSDescriptor list contains only the guestId of the virutal machine.- Parameters:
spec- - Search criteria and filters to control the result. If a key or host (or both) are specified, they will be used to search for a config option. If guestId is nonempty, the guestOSDescriptor array of the config option is filtered to match against the guest IDs in the spec. If there is no match, the whole list is returned. If the spec argument is omitted, the default VirtualMachineConfigOption for this environment browser is returned.- Returns:
- Returns the VirtualMachineConfigOption object. If invoked on a cluster with no hosts, or if the VirtualMachineConfigOption with given key is not found for the given host, null is returned.
- Throws:
InvalidArgumentRuntimeFaultRemoteException- Since:
- 6.0
-
queryConfigOptionEx
public VirtualMachineConfigOption queryConfigOptionEx() throws InvalidArgument, RuntimeFault, RemoteException
-