com.vmware.vim25.mo
Class VirtualApp
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensibleManagedObject
com.vmware.vim25.mo.ManagedEntity
com.vmware.vim25.mo.ResourcePool
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)
| 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.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 |
VirtualApp
public VirtualApp(ServerConnection sc,
ManagedObjectReference mor)
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.