com.vmware.vim25.mo
Class Datacenter

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.ExtensibleManagedObject
          extended by com.vmware.vim25.mo.ManagedEntity
              extended by 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)

Constructor Summary
Datacenter(ServerConnection sc, ManagedObjectReference mor)
           
 
Method Summary
 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)
           
 
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.ExtensibleManagedObject
getAvailableField, getValues, setCustomValue
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Datacenter

public Datacenter(ServerConnection sc,
                  ManagedObjectReference mor)
Method Detail

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.