Package com.vmware.vim25.mo
Class PropertyCollector
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.PropertyCollector
The managed object class corresponding to the one defined in VI SDK API reference.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyCollector(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelRetrievePropertiesEx(String token) voidcheckForUpdates(String version) createFilter(PropertyFilterSpec spec, boolean partialUpdates) voidretrieveProperties(PropertyFilterSpec[] specSet) Deprecated.as of SDK4.1retrievePropertiesEx(PropertyFilterSpec[] specSet, RetrieveOptions options) waitForUpdates(String version) Deprecated.as of SDK4.1waitForUpdatesEx(String version, WaitOptions options) 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
-
PropertyCollector
-
-
Method Details
-
getFilters
-
cancelRetrievePropertiesEx
public void cancelRetrievePropertiesEx(String token) throws InvalidProperty, RuntimeFault, RemoteException - Throws:
InvalidPropertyRuntimeFaultRemoteException- Since:
- SDK4.1
-
cancelWaitForUpdates
- Throws:
RuntimeFaultRemoteException
-
continueRetrievePropertiesEx
public RetrieveResult continueRetrievePropertiesEx(String token) throws InvalidProperty, RuntimeFault, RemoteException - Throws:
InvalidPropertyRuntimeFaultRemoteException- Since:
- SDK4.1
-
checkForUpdates
public UpdateSet checkForUpdates(String version) throws InvalidCollectorVersion, RuntimeFault, RemoteException -
createFilter
public PropertyFilter createFilter(PropertyFilterSpec spec, boolean partialUpdates) throws InvalidProperty, RuntimeFault, RemoteException -
createPropertyCollector
- Throws:
RuntimeFaultRemoteException- Since:
- SDK4.1
-
destroyPropertyCollector
- Throws:
RuntimeFaultRemoteException- Since:
- SDK4.1
-
retrieveProperties
@Deprecated public ObjectContent[] retrieveProperties(PropertyFilterSpec[] specSet) throws InvalidProperty, RuntimeFault, RemoteException Deprecated.as of SDK4.1 -
retrievePropertiesEx
public RetrieveResult retrievePropertiesEx(PropertyFilterSpec[] specSet, RetrieveOptions options) throws InvalidProperty, RuntimeFault, RemoteException - Throws:
InvalidPropertyRuntimeFaultRemoteException- Since:
- SDK4.1
-
waitForUpdates
@Deprecated public UpdateSet waitForUpdates(String version) throws InvalidCollectorVersion, RuntimeFault, RemoteException Deprecated.as of SDK4.1 -
waitForUpdatesEx
public UpdateSet waitForUpdatesEx(String version, WaitOptions options) throws InvalidCollectorVersion, RuntimeFault, RemoteException - Throws:
InvalidCollectorVersionRuntimeFaultRemoteException- Since:
- SDK4.1
-