public class Datacenter extends ManagedEntity
| Constructor and Description |
|---|
Datacenter(ServerConnection sc,
ManagedObjectReference mor) |
| Modifier and Type | Method and Description |
|---|---|
DatacenterConfigInfo |
getConfiguration() |
Folder |
getDatastoreFolder() |
Datastore[] |
getDatastores() |
Folder |
getHostFolder() |
Folder |
getNetworkFolder() |
Network[] |
getNetworks() |
Folder |
getVmFolder() |
Task |
powerOnMultiVM_Task(VirtualMachine[] vms)
old signature for back compatibility with 2.5 and 4.0
|
Task |
powerOnMultiVM_Task(VirtualMachine[] vms,
OptionValue[] option) |
HostConnectInfo |
queryConnectionInfo(String hostname,
int port,
String username,
String password,
String sslThumbprint) |
VirtualMachineConfigOptionDescriptor[] |
queryDatacenterConfigOptionDescriptor() |
Task |
reconfigureDatacenter_Task(DatacenterConfigSpec spec,
boolean modify) |
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 Datacenter(ServerConnection sc, ManagedObjectReference mor)
public Folder getVmFolder() throws InvalidProperty, RuntimeFault, RemoteException
public Folder getHostFolder() throws InvalidProperty, RuntimeFault, RemoteException
public Datastore[] getDatastores()
public DatacenterConfigInfo getConfiguration()
public Folder getDatastoreFolder()
public Folder getNetworkFolder()
public Network[] getNetworks() throws InvalidProperty, RuntimeFault, RemoteException
public Task powerOnMultiVM_Task(VirtualMachine[] vms) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic Task powerOnMultiVM_Task(VirtualMachine[] vms, OptionValue[] option) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic Task reconfigureDatacenter_Task(DatacenterConfigSpec spec, boolean modify) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic HostConnectInfo queryConnectionInfo(String hostname, int port, String username, String password, String sslThumbprint) throws InvalidLogin, HostConnectFault, RuntimeFault, RemoteException
public VirtualMachineConfigOptionDescriptor[] queryDatacenterConfigOptionDescriptor() throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionCopyright © 2011-2012. All Rights Reserved.