public class Folder extends ManagedEntity
| Constructor and Description |
|---|
Folder(ServerConnection sc,
ManagedObjectReference mor) |
| Modifier and Type | Method and Description |
|---|---|
Task |
addStandaloneHost_Task(HostConnectSpec spec,
ComputeResourceConfigSpec compResSpec,
boolean addConnected) |
Task |
addStandaloneHost_Task(HostConnectSpec spec,
ComputeResourceConfigSpec compResSpec,
boolean addConnected,
String license) |
ClusterComputeResource |
createCluster(String name,
ClusterConfigSpec spec) |
ClusterComputeResource |
createClusterEx(String name,
ClusterConfigSpecEx spec) |
Datacenter |
createDatacenter(String name) |
Task |
createDVS_Task(DVSCreateSpec spec) |
Folder |
createFolder(String name) |
StoragePod |
createStoragePod(String name) |
Task |
createVM_Task(VirtualMachineConfigSpec config,
ResourcePool pool,
HostSystem host) |
ManagedEntity[] |
getChildEntity() |
String[] |
getChildType() |
Task |
moveIntoFolder_Task(ManagedEntity[] entities) |
Task |
registerVM_Task(String path,
String name,
boolean asTemplate,
ResourcePool pool,
HostSystem host) |
Task |
unregisterAndDestroy_Task() |
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 Folder(ServerConnection sc, ManagedObjectReference mor)
public ManagedEntity[] getChildEntity() throws InvalidProperty, RuntimeFault, RemoteException
public String[] getChildType()
public Task addStandaloneHost_Task(HostConnectSpec spec, ComputeResourceConfigSpec compResSpec, boolean addConnected) throws InvalidLogin, HostConnectFault, RuntimeFault, RemoteException
public Task addStandaloneHost_Task(HostConnectSpec spec, ComputeResourceConfigSpec compResSpec, boolean addConnected, String license) throws InvalidLogin, HostConnectFault, RuntimeFault, RemoteException
public ClusterComputeResource createCluster(String name, ClusterConfigSpec spec) throws InvalidName, DuplicateName, RuntimeFault, RemoteException
public ClusterComputeResource createClusterEx(String name, ClusterConfigSpecEx spec) throws InvalidName, DuplicateName, RuntimeFault, RemoteException
public Datacenter createDatacenter(String name) throws InvalidName, DuplicateName, RuntimeFault, RemoteException
public Task createDVS_Task(DVSCreateSpec spec) throws DvsNotAuthorized, DvsFault, DuplicateName, InvalidName, NotFound, RuntimeFault, RemoteException
DvsNotAuthorizedDvsFaultDuplicateNameInvalidNameNotFoundRuntimeFaultRemoteExceptionpublic Folder createFolder(String name) throws InvalidName, DuplicateName, RuntimeFault, RemoteException
public StoragePod createStoragePod(String name) throws DuplicateName, InvalidName, RuntimeFault, RemoteException
DuplicateNameInvalidNameRuntimeFaultRemoteExceptionpublic Task createVM_Task(VirtualMachineConfigSpec config, ResourcePool pool, HostSystem host) throws InvalidName, VmConfigFault, DuplicateName, FileFault, OutOfBounds, InsufficientResourcesFault, InvalidDatastore, RuntimeFault, RemoteException
public Task moveIntoFolder_Task(ManagedEntity[] entities) throws DuplicateName, InvalidState, InvalidFolder, RuntimeFault, RemoteException
public Task registerVM_Task(String path, String name, boolean asTemplate, ResourcePool pool, HostSystem host) throws VmConfigFault, InvalidName, DuplicateName, FileFault, OutOfBounds, InsufficientResourcesFault, InvalidDatastore, AlreadyExists, NotFound, RuntimeFault, RemoteException
public Task unregisterAndDestroy_Task() throws InvalidState, ConcurrentAccess, RuntimeFault, RemoteException
Copyright © 2011-2012. All Rights Reserved.