com.vmware.vim25.mo
Class VirtualMachine

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.VirtualMachine

public class VirtualMachine
extends ManagedEntity

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

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
VirtualMachine(ServerConnection sc, ManagedObjectReference mor)
           
 
Method Summary
 VirtualMachineMksTicket acquireMksTicket()
          Deprecated. as of SDK4.1. Use acquireTicket instead.
 VirtualMachineTicket acquireTicket(String ticketType)
           
 void answerVM(String questionId, String answerChoice)
           
 void checkCustomizationSpec(CustomizationSpec spec)
           
 Task cloneVM_Task(Folder folder, String name, VirtualMachineCloneSpec spec)
           
 Task consolidateVMDisks_Task()
           
 Task CreateScreenshot_Task()
           
 Task createSecondaryVM_Task(HostSystem host)
           
 Task createSnapshot_Task(String name, String description, boolean memory, boolean quiesce)
           
 Task customizeVM_Task(CustomizationSpec spec)
           
 void defragmentAllDisks()
           
 Task disableSecondaryVM_Task(VirtualMachine vm)
           
 Task enableSecondaryVM_Task(VirtualMachine vm, HostSystem host)
           
 Task estimateStorageForConsolidateSnapshots_Task()
           
 HttpNfcLease exportVm()
           
 String extractOvfEnvironment()
           
 VirtualMachineCapability getCapability()
           
 VirtualMachineConfigInfo getConfig()
           
 VirtualMachineSnapshot getCurrentSnapShot()
           
 Datastore[] getDatastores()
           
 EnvironmentBrowser getEnvironmentBrowser()
           
 GuestInfo getGuest()
           
 ManagedEntityStatus getGuestHeartbeatStatus()
           
 VirtualMachineFileLayout getLayout()
           
 VirtualMachineFileLayoutEx getLayoutEx()
           
 Network[] getNetworks()
           
 ManagedEntity getParentVApp()
           
 ResourceConfigSpec getResourceConfig()
           
 ResourcePool getResourcePool()
           
 VirtualMachineSnapshot[] getRootSnapshot()
           
 VirtualMachineRuntimeInfo getRuntime()
           
 VirtualMachineSnapshotInfo getSnapshot()
           
 VirtualMachineStorageInfo getStorage()
           
 VirtualMachineSummary getSummary()
           
 Task makePrimaryVM_Task(VirtualMachine vm)
           
 void markAsTemplate()
           
 void markAsVirtualMachine(ResourcePool pool, HostSystem host)
           
 Task migrateVM_Task(ResourcePool pool, HostSystem host, VirtualMachineMovePriority priority, VirtualMachinePowerState state)
           
 void mountToolsInstaller()
           
 Task powerOffVM_Task()
           
 Task powerOnVM_Task(HostSystem host)
           
 Task promoteDisks_Task(boolean unlink, VirtualDisk[] disks)
           
 DiskChangeInfo queryChangedDiskAreas(VirtualMachineSnapshot snapshot, int deviceKey, long startOffset, String changeId)
           
 LocalizedMethodFault[] queryFaultToleranceCompatibility()
           
 String[] queryUnownedFiles()
           
 void rebootGuest()
           
 Task reconfigVM_Task(VirtualMachineConfigSpec spec)
           
 void refreshStorageInfo()
           
 Task reloadVirtualMachineFromPath_Task(String configurationPath)
           
 Task relocateVM_Task(VirtualMachineRelocateSpec spec)
           
 Task relocateVM_Task(VirtualMachineRelocateSpec spec, VirtualMachineMovePriority priority)
           
 Task removeAllSnapshots_Task()
           
 Task removeAllSnapshots_Task(Boolean consolidate)
           
 void resetGuestInformation()
           
 Task resetVM_Task()
           
 Task revertToCurrentSnapshot_Task(HostSystem host)
           
 Task revertToCurrentSnapshot_Task(HostSystem host, Boolean suppressPowerOn)
           
 void setDisplayTopology(VirtualMachineDisplayTopology[] displays)
           
 void setScreenResolution(int width, int height)
           
 void shutdownGuest()
           
 void standbyGuest()
           
 Task startRecording_Task(String name, String description)
           
 Task startReplaying_Task(VirtualMachineSnapshot replaySnapshot)
           
 Task stopRecording_Task()
           
 Task stopReplaying_Task()
           
 Task suspendVM_Task()
           
 Task terminateFaultTolerantVM_Task(VirtualMachine vm)
           
 Task turnOffFaultToleranceForVM_Task()
           
 void unmountToolsInstaller()
           
 void unregisterVM()
           
 Task upgradeTools_Task(String installerOptions)
           
 Task upgradeVM_Task(String version)
           
 
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

VirtualMachine

public VirtualMachine(ServerConnection sc,
                      ManagedObjectReference mor)
Method Detail

getCapability

public VirtualMachineCapability getCapability()

getConfig

public VirtualMachineConfigInfo getConfig()

getDatastores

public Datastore[] getDatastores()
                          throws InvalidProperty,
                                 RuntimeFault,
                                 RemoteException
Throws:
InvalidProperty
RuntimeFault
RemoteException

getEnvironmentBrowser

public EnvironmentBrowser getEnvironmentBrowser()
                                         throws InvalidProperty,
                                                RuntimeFault,
                                                RemoteException
Throws:
InvalidProperty
RuntimeFault
RemoteException

getGuest

public GuestInfo getGuest()

getGuestHeartbeatStatus

public ManagedEntityStatus getGuestHeartbeatStatus()

getLayout

public VirtualMachineFileLayout getLayout()

getLayoutEx

public VirtualMachineFileLayoutEx getLayoutEx()
Since:
SDK4.0

getStorage

public VirtualMachineStorageInfo getStorage()
Since:
SDK4.0

getNetworks

public Network[] getNetworks()
                      throws InvalidProperty,
                             RuntimeFault,
                             RemoteException
Throws:
InvalidProperty
RuntimeFault
RemoteException

getParentVApp

public ManagedEntity getParentVApp()
Since:
SDK4.1

getResourceConfig

public ResourceConfigSpec getResourceConfig()

getResourcePool

public ResourcePool getResourcePool()
                             throws InvalidProperty,
                                    RuntimeFault,
                                    RemoteException
Throws:
InvalidProperty
RuntimeFault
RemoteException

getRootSnapshot

public VirtualMachineSnapshot[] getRootSnapshot()
Since:
SDK4.1

getRuntime

public VirtualMachineRuntimeInfo getRuntime()

getSnapshot

public VirtualMachineSnapshotInfo getSnapshot()

getCurrentSnapShot

public VirtualMachineSnapshot getCurrentSnapShot()
                                          throws InvalidProperty,
                                                 RuntimeFault,
                                                 RemoteException
Throws:
InvalidProperty
RuntimeFault
RemoteException

getSummary

public VirtualMachineSummary getSummary()

acquireMksTicket

public VirtualMachineMksTicket acquireMksTicket()
                                         throws RuntimeFault,
                                                RemoteException
Deprecated. as of SDK4.1. Use acquireTicket instead.

Throws:
RuntimeFault
RemoteException

acquireTicket

public VirtualMachineTicket acquireTicket(String ticketType)
                                   throws InvalidState,
                                          RuntimeFault,
                                          RemoteException
Throws:
InvalidState
RuntimeFault
RemoteException
Since:
SDK4.1

answerVM

public void answerVM(String questionId,
                     String answerChoice)
              throws ConcurrentAccess,
                     RuntimeFault,
                     RemoteException
Throws:
ConcurrentAccess
RuntimeFault
RemoteException

checkCustomizationSpec

public void checkCustomizationSpec(CustomizationSpec spec)
                            throws CustomizationFault,
                                   RuntimeFault,
                                   RemoteException
Throws:
CustomizationFault
RuntimeFault
RemoteException

cloneVM_Task

public Task cloneVM_Task(Folder folder,
                         String name,
                         VirtualMachineCloneSpec spec)
                  throws VmConfigFault,
                         TaskInProgress,
                         CustomizationFault,
                         FileFault,
                         InvalidState,
                         InsufficientResourcesFault,
                         MigrationFault,
                         InvalidDatastore,
                         RuntimeFault,
                         RemoteException
Throws:
VmConfigFault
TaskInProgress
CustomizationFault
FileFault
InvalidState
InsufficientResourcesFault
MigrationFault
InvalidDatastore
RuntimeFault
RemoteException

consolidateVMDisks_Task

public Task consolidateVMDisks_Task()
                             throws TaskInProgress,
                                    InvalidState,
                                    FileFault,
                                    VmConfigFault,
                                    RuntimeFault,
                                    RemoteException
Throws:
TaskInProgress
InvalidState
FileFault
VmConfigFault
RuntimeFault
RemoteException
Since:
SDK5.0

CreateScreenshot_Task

public Task CreateScreenshot_Task()
                           throws TaskInProgress,
                                  FileFault,
                                  InvalidState,
                                  RuntimeFault,
                                  RemoteException
Throws:
TaskInProgress
FileFault
InvalidState
RuntimeFault
RemoteException
Since:
SDK4.0

createSnapshot_Task

public Task createSnapshot_Task(String name,
                                String description,
                                boolean memory,
                                boolean quiesce)
                         throws InvalidName,
                                VmConfigFault,
                                SnapshotFault,
                                TaskInProgress,
                                FileFault,
                                InvalidState,
                                RuntimeFault,
                                RemoteException
Throws:
InvalidName
VmConfigFault
SnapshotFault
TaskInProgress
FileFault
InvalidState
RuntimeFault
RemoteException

createSecondaryVM_Task

public Task createSecondaryVM_Task(HostSystem host)
                            throws TaskInProgress,
                                   InvalidState,
                                   InsufficientResourcesFault,
                                   VmFaultToleranceIssue,
                                   FileFault,
                                   VmConfigFault,
                                   RuntimeFault,
                                   RemoteException
Throws:
TaskInProgress
InvalidState
InsufficientResourcesFault
VmFaultToleranceIssue
FileFault
VmConfigFault
RuntimeFault
RemoteException
Since:
SDK4.0

disableSecondaryVM_Task

public Task disableSecondaryVM_Task(VirtualMachine vm)
                             throws TaskInProgress,
                                    VmFaultToleranceIssue,
                                    InvalidState,
                                    RuntimeFault,
                                    RemoteException
Throws:
TaskInProgress
VmFaultToleranceIssue
InvalidState
RuntimeFault
RemoteException
Since:
SDK4.0

enableSecondaryVM_Task

public Task enableSecondaryVM_Task(VirtualMachine vm,
                                   HostSystem host)
                            throws TaskInProgress,
                                   VmFaultToleranceIssue,
                                   InvalidState,
                                   VmConfigFault,
                                   RuntimeFault,
                                   RemoteException
Throws:
TaskInProgress
VmFaultToleranceIssue
InvalidState
VmConfigFault
RuntimeFault
RemoteException
Since:
SDK4.0

estimateStorageForConsolidateSnapshots_Task

public Task estimateStorageForConsolidateSnapshots_Task()
                                                 throws TaskInProgress,
                                                        InvalidState,
                                                        FileFault,
                                                        VmConfigFault,
                                                        RuntimeFault,
                                                        RemoteException
Throws:
TaskInProgress
InvalidState
FileFault
VmConfigFault
RuntimeFault
RemoteException
Since:
SDK5.0

exportVm

public HttpNfcLease exportVm()
                      throws InvalidPowerState,
                             TaskInProgress,
                             InvalidState,
                             FileFault,
                             RuntimeFault,
                             RemoteException
Throws:
InvalidPowerState
TaskInProgress
InvalidState
FileFault
RuntimeFault
RemoteException
Since:
SDK4.0

extractOvfEnvironment

public String extractOvfEnvironment()
                             throws InvalidState,
                                    RuntimeFault,
                                    RemoteException
Throws:
InvalidState
RuntimeFault
RemoteException
Since:
SDK4.0

makePrimaryVM_Task

public Task makePrimaryVM_Task(VirtualMachine vm)
                        throws TaskInProgress,
                               VmFaultToleranceIssue,
                               InvalidState,
                               RuntimeFault,
                               RemoteException
Throws:
TaskInProgress
VmFaultToleranceIssue
InvalidState
RuntimeFault
RemoteException
Since:
SDK4.0

customizeVM_Task

public Task customizeVM_Task(CustomizationSpec spec)
                      throws CustomizationFault,
                             RuntimeFault,
                             RemoteException
Throws:
CustomizationFault
RuntimeFault
RemoteException

defragmentAllDisks

public void defragmentAllDisks()
                        throws InvalidPowerState,
                               TaskInProgress,
                               FileFault,
                               InvalidState,
                               RuntimeFault,
                               RemoteException
Throws:
InvalidPowerState
TaskInProgress
FileFault
InvalidState
RuntimeFault
RemoteException

markAsTemplate

public void markAsTemplate()
                    throws VmConfigFault,
                           InvalidState,
                           RuntimeFault,
                           RemoteException
Throws:
VmConfigFault
InvalidState
RuntimeFault
RemoteException

markAsVirtualMachine

public void markAsVirtualMachine(ResourcePool pool,
                                 HostSystem host)
                          throws VmConfigFault,
                                 FileFault,
                                 InvalidState,
                                 InvalidDatastore,
                                 RuntimeFault,
                                 RemoteException
Throws:
VmConfigFault
FileFault
InvalidState
InvalidDatastore
RuntimeFault
RemoteException

migrateVM_Task

public Task migrateVM_Task(ResourcePool pool,
                           HostSystem host,
                           VirtualMachineMovePriority priority,
                           VirtualMachinePowerState state)
                    throws VmConfigFault,
                           Timedout,
                           FileFault,
                           InvalidState,
                           InsufficientResourcesFault,
                           MigrationFault,
                           RuntimeFault,
                           RemoteException
Throws:
VmConfigFault
Timedout
FileFault
InvalidState
InsufficientResourcesFault
MigrationFault
RuntimeFault
RemoteException

mountToolsInstaller

public void mountToolsInstaller()
                         throws InvalidState,
                                RuntimeFault,
                                RemoteException
Throws:
InvalidState
RuntimeFault
RemoteException

powerOffVM_Task

public Task powerOffVM_Task()
                     throws TaskInProgress,
                            InvalidState,
                            RuntimeFault,
                            RemoteException
Throws:
TaskInProgress
InvalidState
RuntimeFault
RemoteException

powerOnVM_Task

public Task powerOnVM_Task(HostSystem host)
                    throws VmConfigFault,
                           TaskInProgress,
                           FileFault,
                           InvalidState,
                           InsufficientResourcesFault,
                           RuntimeFault,
                           RemoteException
Throws:
VmConfigFault
TaskInProgress
FileFault
InvalidState
InsufficientResourcesFault
RuntimeFault
RemoteException

promoteDisks_Task

public Task promoteDisks_Task(boolean unlink,
                              VirtualDisk[] disks)
                       throws InvalidPowerState,
                              InvalidState,
                              TaskInProgress,
                              RuntimeFault,
                              RemoteException
Throws:
InvalidPowerState
InvalidState
TaskInProgress
RuntimeFault
RemoteException
Since:
SDK4.0

queryChangedDiskAreas

public DiskChangeInfo queryChangedDiskAreas(VirtualMachineSnapshot snapshot,
                                            int deviceKey,
                                            long startOffset,
                                            String changeId)
                                     throws FileFault,
                                            NotFound,
                                            RuntimeFault,
                                            RemoteException
Throws:
FileFault
NotFound
RuntimeFault
RemoteException
Since:
SDK4.0

queryFaultToleranceCompatibility

public LocalizedMethodFault[] queryFaultToleranceCompatibility()
                                                        throws InvalidState,
                                                               VmConfigFault,
                                                               RuntimeFault,
                                                               RemoteException
Throws:
InvalidState
VmConfigFault
RuntimeFault
RemoteException
Since:
SDK4.1

queryUnownedFiles

public String[] queryUnownedFiles()
                           throws RuntimeFault,
                                  RemoteException
Throws:
RuntimeFault
RemoteException
Since:
SDK4.0

rebootGuest

public void rebootGuest()
                 throws TaskInProgress,
                        InvalidState,
                        ToolsUnavailable,
                        RuntimeFault,
                        RemoteException
Throws:
TaskInProgress
InvalidState
ToolsUnavailable
RuntimeFault
RemoteException

reconfigVM_Task

public Task reconfigVM_Task(VirtualMachineConfigSpec spec)
                     throws InvalidName,
                            VmConfigFault,
                            DuplicateName,
                            TaskInProgress,
                            FileFault,
                            InvalidState,
                            ConcurrentAccess,
                            InvalidDatastore,
                            InsufficientResourcesFault,
                            RuntimeFault,
                            RemoteException
Throws:
InvalidName
VmConfigFault
DuplicateName
TaskInProgress
FileFault
InvalidState
ConcurrentAccess
InvalidDatastore
InsufficientResourcesFault
RuntimeFault
RemoteException

reloadVirtualMachineFromPath_Task

public Task reloadVirtualMachineFromPath_Task(String configurationPath)
                                       throws InvalidPowerState,
                                              TaskInProgress,
                                              FileFault,
                                              InvalidState,
                                              VmConfigFault,
                                              AlreadyExists,
                                              RuntimeFault,
                                              RemoteException
Throws:
InvalidPowerState
TaskInProgress
FileFault
InvalidState
VmConfigFault
AlreadyExists
RuntimeFault
RemoteException
Since:
SDK4.1

refreshStorageInfo

public void refreshStorageInfo()
                        throws RuntimeFault,
                               RemoteException
Throws:
RuntimeFault
RemoteException
Since:
SDK4.0

relocateVM_Task

public Task relocateVM_Task(VirtualMachineRelocateSpec spec)
                     throws VmConfigFault,
                            Timedout,
                            FileFault,
                            InvalidState,
                            InsufficientResourcesFault,
                            MigrationFault,
                            InvalidDatastore,
                            RuntimeFault,
                            RemoteException
Throws:
VmConfigFault
Timedout
FileFault
InvalidState
InsufficientResourcesFault
MigrationFault
InvalidDatastore
RuntimeFault
RemoteException

relocateVM_Task

public Task relocateVM_Task(VirtualMachineRelocateSpec spec,
                            VirtualMachineMovePriority priority)
                     throws VmConfigFault,
                            Timedout,
                            FileFault,
                            InvalidState,
                            InsufficientResourcesFault,
                            MigrationFault,
                            InvalidDatastore,
                            RuntimeFault,
                            RemoteException
Throws:
VmConfigFault
Timedout
FileFault
InvalidState
InsufficientResourcesFault
MigrationFault
InvalidDatastore
RuntimeFault
RemoteException

removeAllSnapshots_Task

public Task removeAllSnapshots_Task()
                             throws SnapshotFault,
                                    TaskInProgress,
                                    InvalidState,
                                    RuntimeFault,
                                    RemoteException
Throws:
SnapshotFault
TaskInProgress
InvalidState
RuntimeFault
RemoteException

removeAllSnapshots_Task

public Task removeAllSnapshots_Task(Boolean consolidate)
                             throws SnapshotFault,
                                    TaskInProgress,
                                    InvalidState,
                                    RuntimeFault,
                                    RemoteException
Throws:
SnapshotFault
TaskInProgress
InvalidState
RuntimeFault
RemoteException

resetGuestInformation

public void resetGuestInformation()
                           throws InvalidState,
                                  RuntimeFault,
                                  RemoteException
Throws:
InvalidState
RuntimeFault
RemoteException

resetVM_Task

public Task resetVM_Task()
                  throws TaskInProgress,
                         InvalidState,
                         RuntimeFault,
                         RemoteException
Throws:
TaskInProgress
InvalidState
RuntimeFault
RemoteException

revertToCurrentSnapshot_Task

public Task revertToCurrentSnapshot_Task(HostSystem host)
                                  throws VmConfigFault,
                                         SnapshotFault,
                                         TaskInProgress,
                                         InvalidState,
                                         InsufficientResourcesFault,
                                         NotFound,
                                         RuntimeFault,
                                         RemoteException
Throws:
VmConfigFault
SnapshotFault
TaskInProgress
InvalidState
InsufficientResourcesFault
NotFound
RuntimeFault
RemoteException

revertToCurrentSnapshot_Task

public Task revertToCurrentSnapshot_Task(HostSystem host,
                                         Boolean suppressPowerOn)
                                  throws VmConfigFault,
                                         SnapshotFault,
                                         TaskInProgress,
                                         InvalidState,
                                         InsufficientResourcesFault,
                                         NotFound,
                                         RuntimeFault,
                                         RemoteException
Throws:
VmConfigFault
SnapshotFault
TaskInProgress
InvalidState
InsufficientResourcesFault
NotFound
RuntimeFault
RemoteException

setDisplayTopology

public void setDisplayTopology(VirtualMachineDisplayTopology[] displays)
                        throws InvalidState,
                               ToolsUnavailable,
                               RuntimeFault,
                               RemoteException
Throws:
InvalidState
ToolsUnavailable
RuntimeFault
RemoteException
Since:
SDK4.0

setScreenResolution

public void setScreenResolution(int width,
                                int height)
                         throws InvalidPowerState,
                                ToolsUnavailable,
                                RuntimeFault,
                                RemoteException
Throws:
InvalidPowerState
ToolsUnavailable
RuntimeFault
RemoteException

shutdownGuest

public void shutdownGuest()
                   throws TaskInProgress,
                          InvalidState,
                          ToolsUnavailable,
                          RuntimeFault,
                          RemoteException
Throws:
TaskInProgress
InvalidState
ToolsUnavailable
RuntimeFault
RemoteException

startRecording_Task

public Task startRecording_Task(String name,
                                String description)
                         throws InvalidPowerState,
                                InvalidState,
                                TaskInProgress,
                                FileFault,
                                SnapshotFault,
                                VmConfigFault,
                                RecordReplayDisabled,
                                HostIncompatibleForRecordReplay,
                                InvalidName,
                                RuntimeFault,
                                RemoteException
Throws:
InvalidPowerState
InvalidState
TaskInProgress
FileFault
SnapshotFault
VmConfigFault
RecordReplayDisabled
HostIncompatibleForRecordReplay
InvalidName
RuntimeFault
RemoteException
Since:
SDK4.0

stopRecording_Task

public Task stopRecording_Task()
                        throws InvalidPowerState,
                               InvalidState,
                               TaskInProgress,
                               FileFault,
                               SnapshotFault,
                               RuntimeFault,
                               RemoteException
Throws:
InvalidPowerState
InvalidState
TaskInProgress
FileFault
SnapshotFault
RuntimeFault
RemoteException
Since:
SDK4.0

stopReplaying_Task

public Task stopReplaying_Task()
                        throws InvalidPowerState,
                               InvalidState,
                               TaskInProgress,
                               FileFault,
                               SnapshotFault,
                               RuntimeFault,
                               RemoteException
Throws:
InvalidPowerState
InvalidState
TaskInProgress
FileFault
SnapshotFault
RuntimeFault
RemoteException
Since:
SDK4.0

startReplaying_Task

public Task startReplaying_Task(VirtualMachineSnapshot replaySnapshot)
                         throws InvalidPowerState,
                                InvalidState,
                                TaskInProgress,
                                FileFault,
                                SnapshotFault,
                                VmConfigFault,
                                RecordReplayDisabled,
                                HostIncompatibleForRecordReplay,
                                InvalidName,
                                RuntimeFault,
                                RemoteException
Throws:
InvalidPowerState
InvalidState
TaskInProgress
FileFault
SnapshotFault
VmConfigFault
RecordReplayDisabled
HostIncompatibleForRecordReplay
InvalidName
RuntimeFault
RemoteException
Since:
SDK4.0

standbyGuest

public void standbyGuest()
                  throws TaskInProgress,
                         InvalidState,
                         ToolsUnavailable,
                         RuntimeFault,
                         RemoteException
Throws:
TaskInProgress
InvalidState
ToolsUnavailable
RuntimeFault
RemoteException

suspendVM_Task

public Task suspendVM_Task()
                    throws TaskInProgress,
                           InvalidState,
                           RuntimeFault,
                           RemoteException
Throws:
TaskInProgress
InvalidState
RuntimeFault
RemoteException

terminateFaultTolerantVM_Task

public Task terminateFaultTolerantVM_Task(VirtualMachine vm)
                                   throws TaskInProgress,
                                          VmFaultToleranceIssue,
                                          InvalidState,
                                          RuntimeFault,
                                          RemoteException
Throws:
TaskInProgress
VmFaultToleranceIssue
InvalidState
RuntimeFault
RemoteException
Since:
SDK4.0

turnOffFaultToleranceForVM_Task

public Task turnOffFaultToleranceForVM_Task()
                                     throws TaskInProgress,
                                            VmFaultToleranceIssue,
                                            InvalidState,
                                            RuntimeFault,
                                            RemoteException
Throws:
TaskInProgress
VmFaultToleranceIssue
InvalidState
RuntimeFault
RemoteException
Since:
SDK4.0

unmountToolsInstaller

public void unmountToolsInstaller()
                           throws InvalidState,
                                  RuntimeFault,
                                  RemoteException
Throws:
InvalidState
RuntimeFault
RemoteException

unregisterVM

public void unregisterVM()
                  throws InvalidPowerState,
                         RuntimeFault,
                         RemoteException
Throws:
InvalidPowerState
RuntimeFault
RemoteException

upgradeTools_Task

public Task upgradeTools_Task(String installerOptions)
                       throws TaskInProgress,
                              VmToolsUpgradeFault,
                              InvalidState,
                              ToolsUnavailable,
                              RuntimeFault,
                              RemoteException
Throws:
TaskInProgress
VmToolsUpgradeFault
InvalidState
ToolsUnavailable
RuntimeFault
RemoteException

upgradeVM_Task

public Task upgradeVM_Task(String version)
                    throws TaskInProgress,
                           InvalidState,
                           AlreadyUpgraded,
                           NoDiskFound,
                           RuntimeFault,
                           RemoteException
Throws:
TaskInProgress
InvalidState
AlreadyUpgraded
NoDiskFound
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.