Package com.vmware.vim25.mo
Class ResourcePool
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensibleManagedObject
com.vmware.vim25.mo.ManagedEntity
com.vmware.vim25.mo.ResourcePool
- Direct Known Subclasses:
VirtualApp
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateChildVM_Task(VirtualMachineConfigSpec config, HostSystem host) createResourcePool(String name, ResourceConfigSpec spec) createVApp(String name, ResourceConfigSpec resSpec, VAppConfigSpec configSpec, Folder vmFolder) createVM_Task(VirtualMachineConfigSpec config, HostSystem host) voidgetOwner()getVm()getVMs()importVApp(ImportSpec spec, Folder folder, HostSystem host) voidmoveIntoResourcePool(ManagedEntity[] entities) voidregisterChildVM_Task(String path, String name, HostSystem host) voidvoidupdateConfig(String name, ResourceConfigSpec config) Methods inherited from class com.vmware.vim25.mo.ManagedEntity
destroy_Task, getAlarmActionEabled, getConfigIssue, getConfigStatus, getCustomValue, getDeclaredAlarmState, getDisabledMethod, getEffectiveRole, getName, getOverallStatus, getParent, getPermission, getRecentTasks, getTag, getTriggeredAlarmState, reload, rename_TaskMethods inherited from class com.vmware.vim25.mo.ExtensibleManagedObject
getAvailableField, getValues, setCustomValueMethods 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
-
ResourcePool
-
-
Method Details
-
getChildConfiguration
-
getConfig
-
getNamespace
-
getOwner
-
getResourcePool
-
getRuntime
-
getSummary
-
getVm
-
createResourcePool
public ResourcePool createResourcePool(String name, ResourceConfigSpec spec) throws DuplicateName, InsufficientResourcesFault, InvalidName, RuntimeFault, RemoteException -
createVApp
public VirtualApp createVApp(String name, ResourceConfigSpec resSpec, VAppConfigSpec configSpec, Folder vmFolder) throws DuplicateName, InsufficientResourcesFault, InvalidName, InvalidState, VmConfigFault, RuntimeFault, RemoteException -
createVM_Task
public Task createVM_Task(VirtualMachineConfigSpec config, HostSystem host) throws FileFault, InsufficientResourcesFault, InvalidDatastore, InvalidName, OutOfBounds, VmConfigFault, RuntimeFault, RemoteException -
destroyChildren
- Throws:
RuntimeFaultRemoteException
-
importVApp
public HttpNfcLease importVApp(ImportSpec spec, Folder folder, HostSystem host) throws DuplicateName, FileFault, InsufficientResourcesFault, InvalidDatastore, InvalidName, OutOfBounds, VmConfigFault, RuntimeFault, RemoteException -
refreshRuntime
- Throws:
RuntimeFaultRemoteException
-
registerChildVM_Task
public Task registerChildVM_Task(String path, String name, HostSystem host) throws AlreadyExists, FileFault, InsufficientResourcesFault, InvalidDatastore, InvalidName, NotFound, OutOfBounds, VmConfigFault, RuntimeFault, RemoteException -
updateChildResourceConfiguration
public void updateChildResourceConfiguration(ResourceConfigSpec[] spec) throws InsufficientResourcesFault, InvalidState, RuntimeFault, RemoteException -
updateConfig
public void updateConfig(String name, ResourceConfigSpec config) throws ConcurrentAccess, DuplicateName, InsufficientResourcesFault, InvalidName, RuntimeFault, RemoteException -
getVMs
-
createChildVM_Task
public Task createChildVM_Task(VirtualMachineConfigSpec config, HostSystem host) throws VmConfigFault, FileFault, OutOfBounds, InvalidName, InvalidDatastore, InsufficientResourcesFault, RuntimeFault, RemoteException - Throws:
VmConfigFaultFileFaultOutOfBoundsInvalidNameInvalidDatastoreInsufficientResourcesFaultRuntimeFaultRemoteException- Since:
- SDK4.0
-
moveIntoResourcePool
public void moveIntoResourcePool(ManagedEntity[] entities) throws DuplicateName, InsufficientResourcesFault, RuntimeFault, RemoteException -
queryResourceConfigOption
- Throws:
RuntimeFaultRemoteException- Since:
- SDK4.1
-