com.vmware.vim25.mo
Class Datacenter
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensibleManagedObject
com.vmware.vim25.mo.ManagedEntity
com.vmware.vim25.mo.Datacenter
public class Datacenter
- extends ManagedEntity
The managed object class corresponding to the one defined in VI SDK API reference.
- Author:
- Steve JIN (sjin@vmware.com)
| 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_Task |
| 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, setMOR, setServerConnection, toString, waitForValues |
Datacenter
public Datacenter(ServerConnection sc,
ManagedObjectReference mor)
getVmFolder
public Folder getVmFolder()
throws InvalidProperty,
RuntimeFault,
RemoteException
- Throws:
InvalidProperty
RuntimeFault
RemoteException
getHostFolder
public Folder getHostFolder()
throws InvalidProperty,
RuntimeFault,
RemoteException
- Throws:
InvalidProperty
RuntimeFault
RemoteException
getDatastores
public Datastore[] getDatastores()
getDatastoreFolder
public Folder getDatastoreFolder()
- Since:
- 4.0
getNetworkFolder
public Folder getNetworkFolder()
- Since:
- 4.0
getNetworks
public Network[] getNetworks()
throws InvalidProperty,
RuntimeFault,
RemoteException
- Throws:
InvalidProperty
RuntimeFault
RemoteException
powerOnMultiVM_Task
public Task powerOnMultiVM_Task(VirtualMachine[] vms)
throws RuntimeFault,
RemoteException
- old signature for back compatibility with 2.5 and 4.0
- Throws:
RuntimeFault
RemoteException
powerOnMultiVM_Task
public Task powerOnMultiVM_Task(VirtualMachine[] vms,
OptionValue[] option)
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException- Since:
- SDK4.1
queryConnectionInfo
public HostConnectInfo queryConnectionInfo(String hostname,
int port,
String username,
String password,
String sslThumbprint)
throws InvalidLogin,
HostConnectFault,
RuntimeFault,
RemoteException
- Throws:
InvalidLogin
HostConnectFault
RuntimeFault
RemoteException
Copyright © 2011-2012. All Rights Reserved.