com.vmware.vim25.mo
Class VirtualApp

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.ResourcePool
                  extended by com.vmware.vim25.mo.VirtualApp

public class VirtualApp
extends ResourcePool

The managed object class corresponding to the one defined in VI SDK API reference.

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
VirtualApp(ServerConnection sc, ManagedObjectReference mor)
           
 
Method Summary
 Task cloneVApp_Task(String name, ManagedObjectReference target, VAppCloneSpec spec)
           
 HttpNfcLease exportVApp()
           
 VirtualAppLinkInfo[] getChildLink()
           
 Datastore[] getDatastore()
           
 Network[] getNetwork()
           
 Folder getParentFolder()
           
 ManagedEntity getParentVApp()
           
 VAppConfigInfo getVAppConfig()
           
 Task powerOffVApp_Task(boolean force)
           
 Task powerOnVApp_Task()
           
 Task suspendVApp_Task()
           
 Task unregisterVApp_Task()
           
 void updateLinkedChildren(VirtualAppLinkInfo[] addChangeSet, ManagedObjectReference[] removeSet)
           
 void updateVAppConfig(VAppConfigSpec spec)
           
 
Methods inherited from class com.vmware.vim25.mo.ResourcePool
createChildVM_Task, createResourcePool, createVApp, destroyChildren, getChildConfiguration, getConfig, getOwner, getResourcePools, getRuntime, getSummary, getVMs, importVApp, moveIntoResourcePool, queryResourceConfigOption, refreshRuntime, registerChildVM_Task, updateChildResourceConfiguration, updateConfig
 
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

VirtualApp

public VirtualApp(ServerConnection sc,
                  ManagedObjectReference mor)
Method Detail

getChildLink

public VirtualAppLinkInfo[] getChildLink()
Since:
SDK4.1

getDatastore

public Datastore[] getDatastore()

getNetwork

public Network[] getNetwork()

getParentFolder

public Folder getParentFolder()

getParentVApp

public ManagedEntity getParentVApp()
Since:
SDK4.1

getVAppConfig

public VAppConfigInfo getVAppConfig()

cloneVApp_Task

public Task cloneVApp_Task(String name,
                           ManagedObjectReference target,
                           VAppCloneSpec spec)
                    throws InvalidState,
                           InvalidDatastore,
                           TaskInProgress,
                           VmConfigFault,
                           FileFault,
                           MigrationFault,
                           InsufficientResourcesFault,
                           RuntimeFault,
                           RemoteException
Throws:
InvalidState
InvalidDatastore
TaskInProgress
VmConfigFault
FileFault
MigrationFault
InsufficientResourcesFault
RuntimeFault
RemoteException

exportVApp

public HttpNfcLease exportVApp()
                        throws InvalidPowerState,
                               TaskInProgress,
                               InvalidState,
                               FileFault,
                               RuntimeFault,
                               RemoteException
Throws:
InvalidPowerState
TaskInProgress
InvalidState
FileFault
RuntimeFault
RemoteException

powerOffVApp_Task

public Task powerOffVApp_Task(boolean force)
                       throws TaskInProgress,
                              InvalidState,
                              VAppConfigFault,
                              RuntimeFault,
                              RemoteException
Throws:
TaskInProgress
InvalidState
VAppConfigFault
RuntimeFault
RemoteException

suspendVApp_Task

public Task suspendVApp_Task()
                      throws TaskInProgress,
                             InvalidState,
                             VAppConfigFault,
                             RuntimeFault,
                             RemoteException
Throws:
TaskInProgress
InvalidState
VAppConfigFault
RuntimeFault
RemoteException
Since:
SDK4.1

powerOnVApp_Task

public Task powerOnVApp_Task()
                      throws TaskInProgress,
                             InvalidState,
                             InsufficientResourcesFault,
                             VmConfigFault,
                             VAppConfigFault,
                             FileFault,
                             RuntimeFault,
                             RemoteException
Throws:
TaskInProgress
InvalidState
InsufficientResourcesFault
VmConfigFault
VAppConfigFault
FileFault
RuntimeFault
RemoteException

unregisterVApp_Task

public Task unregisterVApp_Task()
                         throws ConcurrentAccess,
                                InvalidState,
                                RuntimeFault,
                                RemoteException
Throws:
ConcurrentAccess
InvalidState
RuntimeFault
RemoteException

updateLinkedChildren

public void updateLinkedChildren(VirtualAppLinkInfo[] addChangeSet,
                                 ManagedObjectReference[] removeSet)
                          throws ConcurrentAccess,
                                 RuntimeFault,
                                 RemoteException
Throws:
ConcurrentAccess
RuntimeFault
RemoteException
Since:
SDK4.1

updateVAppConfig

public void updateVAppConfig(VAppConfigSpec spec)
                      throws TaskInProgress,
                             VmConfigFault,
                             ConcurrentAccess,
                             FileFault,
                             InvalidName,
                             DuplicateName,
                             InvalidState,
                             InsufficientResourcesFault,
                             InvalidDatastore,
                             RuntimeFault,
                             RemoteException
Throws:
TaskInProgress
VmConfigFault
ConcurrentAccess
FileFault
InvalidName
DuplicateName
InvalidState
InsufficientResourcesFault
InvalidDatastore
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.