com.vmware.vim25.mo
Class VirtualMachineSnapshot
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.VirtualMachineSnapshot
public class VirtualMachineSnapshot
- extends ManagedObject
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.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 |
VirtualMachineSnapshot
public VirtualMachineSnapshot(ServerConnection sc,
ManagedObjectReference mor)
getChildSnapshot
public VirtualMachineSnapshot[] getChildSnapshot()
- Since:
- SDK4.1
getConfig
public VirtualMachineConfigInfo getConfig()
removeSnapshot_Task
public Task removeSnapshot_Task(boolean removeChildren)
throws TaskInProgress,
RuntimeFault,
RemoteException
- Throws:
TaskInProgress
RuntimeFault
RemoteException
removeSnapshot_Task
public Task removeSnapshot_Task(boolean removeChildren,
Boolean consolidate)
throws TaskInProgress,
RuntimeFault,
RemoteException
- Throws:
TaskInProgress
RuntimeFault
RemoteException
renameSnapshot
public void renameSnapshot(String name,
String description)
throws InvalidName,
RuntimeFault,
RemoteException
- Throws:
InvalidName
RuntimeFault
RemoteException
revertToSnapshot_Task
public Task revertToSnapshot_Task(HostSystem host)
throws VmConfigFault,
TaskInProgress,
FileFault,
InvalidState,
InsufficientResourcesFault,
RuntimeFault,
RemoteException
- Throws:
VmConfigFault
TaskInProgress
FileFault
InvalidState
InsufficientResourcesFault
RuntimeFault
RemoteException
revertToSnapshot_Task
public Task revertToSnapshot_Task(HostSystem host,
Boolean suppressPowerOn)
throws VmConfigFault,
TaskInProgress,
FileFault,
InvalidState,
InsufficientResourcesFault,
RuntimeFault,
RemoteException
- Throws:
VmConfigFault
TaskInProgress
FileFault
InvalidState
InsufficientResourcesFault
RuntimeFault
RemoteException
Copyright © 2011-2012. All Rights Reserved.