Package com.vmware.vim25.mo
Class VirtualMachineSnapshot
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensibleManagedObject
com.vmware.vim25.mo.VirtualMachineSnapshot
-
Constructor Summary
ConstructorsConstructorDescriptionVirtualMachineSnapshot(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptiongetVm()Get the virtual machine for which the snapshot was taken.removeSnapshot_Task(boolean removeChildren) removeSnapshot_Task(boolean removeChildren, Boolean consolidate) voidrevertToSnapshot_Task(HostSystem host, Boolean suppressPowerOn) Methods inherited from class com.vmware.vim25.mo.ExtensibleManagedObject
getAvailableField, getValues, setCustomValueMethods 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, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Constructor Details
-
VirtualMachineSnapshot
-
-
Method Details
-
getConfig
-
exportSnapshot
public HttpNfcLease exportSnapshot() throws FileFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
rename
public void rename(String name, String description) throws InvalidName, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
getChildSnapshot
- Since:
- SDK4.1
-
removeSnapshot_Task
public Task removeSnapshot_Task(boolean removeChildren) throws TaskInProgress, RuntimeFault, RemoteException -
removeSnapshot_Task
public Task removeSnapshot_Task(boolean removeChildren, Boolean consolidate) throws TaskInProgress, RuntimeFault, RemoteException -
revertToSnapshot_Task
public Task revertToSnapshot_Task(HostSystem host) 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 -
getVm
Get the virtual machine for which the snapshot was taken.- Returns:
VirtualMachine- Since:
- 6.0
-