public class ResourcePool extends ManagedEntity
| Constructor and Description |
|---|
ResourcePool(ServerConnection serverConnection,
ManagedObjectReference mor) |
| Modifier and Type | Method and Description |
|---|---|
Task |
createChildVM_Task(VirtualMachineConfigSpec config,
HostSystem host) |
ResourcePool |
createResourcePool(String name,
ResourceConfigSpec spec) |
VirtualApp |
createVApp(String name,
ResourceConfigSpec resSpec,
VAppConfigSpec configSpec,
Folder vmFolder) |
void |
destroyChildren() |
ResourceConfigSpec[] |
getChildConfiguration() |
ResourceConfigSpec |
getConfig() |
ComputeResource |
getOwner() |
ResourcePool[] |
getResourcePools() |
ResourcePoolRuntimeInfo |
getRuntime() |
ResourcePoolSummary |
getSummary() |
VirtualMachine[] |
getVMs() |
HttpNfcLease |
importVApp(ImportSpec spec,
Folder folder,
HostSystem host) |
void |
moveIntoResourcePool(ManagedEntity[] entities) |
ResourceConfigOption |
queryResourceConfigOption() |
void |
refreshRuntime() |
Task |
registerChildVM_Task(String path,
String name,
HostSystem host) |
void |
updateChildResourceConfiguration(ResourceConfigSpec[] spec) |
void |
updateConfig(String name,
ResourceConfigSpec spec) |
destroy_Task, getAlarmActionEabled, getConfigIssue, getConfigStatus, getCustomValue, getDeclaredAlarmState, getDisabledMethod, getEffectiveRole, getName, getOverallStatus, getParent, getPermission, getRecentTasks, getTag, getTriggeredAlarmState, reload, rename_TaskgetAvailableField, getValues, setCustomValueconvertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValuespublic ResourcePool(ServerConnection serverConnection, ManagedObjectReference mor)
public ResourceConfigSpec[] getChildConfiguration()
public ResourceConfigSpec getConfig()
public ComputeResource getOwner() throws InvalidProperty, RuntimeFault, RemoteException
public ResourcePool[] getResourcePools() throws InvalidProperty, RuntimeFault, RemoteException
public ResourcePoolRuntimeInfo getRuntime()
public ResourcePoolSummary getSummary()
public VirtualMachine[] getVMs() throws InvalidProperty, RuntimeFault, RemoteException
public Task createChildVM_Task(VirtualMachineConfigSpec config, HostSystem host) throws VmConfigFault, FileFault, OutOfBounds, InvalidName, InvalidDatastore, InsufficientResourcesFault, RuntimeFault, RemoteException
public VirtualApp createVApp(String name, ResourceConfigSpec resSpec, VAppConfigSpec configSpec, Folder vmFolder) throws InvalidName, DuplicateName, InsufficientResourcesFault, InvalidState, VmConfigFault, RuntimeFault, RemoteException
InvalidNameDuplicateNameInsufficientResourcesFaultInvalidStateVmConfigFaultRuntimeFaultRemoteExceptionpublic HttpNfcLease importVApp(ImportSpec spec, Folder folder, HostSystem host) throws VmConfigFault, FileFault, OutOfBounds, DuplicateName, InvalidName, InvalidDatastore, InsufficientResourcesFault, RuntimeFault, RemoteException
public void refreshRuntime()
throws RuntimeFault,
RemoteException
RuntimeFaultRemoteExceptionpublic Task registerChildVM_Task(String path, String name, HostSystem host) throws OutOfBounds, AlreadyExists, InvalidDatastore, NotFound, InvalidName, VmConfigFault, InsufficientResourcesFault, FileFault, RuntimeFault, RemoteException
public ResourcePool createResourcePool(String name, ResourceConfigSpec spec) throws InvalidName, DuplicateName, InsufficientResourcesFault, RuntimeFault, RemoteException
public void destroyChildren()
throws RuntimeFault,
RemoteException
RuntimeFaultRemoteExceptionpublic void moveIntoResourcePool(ManagedEntity[] entities) throws DuplicateName, InsufficientResourcesFault, RuntimeFault, RemoteException
public ResourceConfigOption queryResourceConfigOption() throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void updateChildResourceConfiguration(ResourceConfigSpec[] spec) throws InvalidState, InsufficientResourcesFault, RuntimeFault, RemoteException
public void updateConfig(String name, ResourceConfigSpec spec) throws InvalidName, DuplicateName, ConcurrentAccess, InsufficientResourcesFault, RuntimeFault, RemoteException
Copyright © 2011-2012. All Rights Reserved.