public class VirtualMachineSnapshot extends ManagedObject
| Constructor and Description |
|---|
VirtualMachineSnapshot(ServerConnection sc,
ManagedObjectReference mor) |
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineSnapshot[] |
getChildSnapshot() |
VirtualMachineConfigInfo |
getConfig() |
Task |
removeSnapshot_Task(boolean removeChildren) |
Task |
removeSnapshot_Task(boolean removeChildren,
Boolean consolidate) |
void |
renameSnapshot(String name,
String description) |
Task |
revertToSnapshot_Task(HostSystem host) |
Task |
revertToSnapshot_Task(HostSystem host,
Boolean suppressPowerOn) |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValuespublic VirtualMachineSnapshot(ServerConnection sc, ManagedObjectReference mor)
public VirtualMachineSnapshot[] getChildSnapshot()
public VirtualMachineConfigInfo getConfig()
public Task removeSnapshot_Task(boolean removeChildren) throws TaskInProgress, RuntimeFault, RemoteException
public Task removeSnapshot_Task(boolean removeChildren, Boolean consolidate) throws TaskInProgress, RuntimeFault, RemoteException
public void renameSnapshot(String name, String description) throws InvalidName, RuntimeFault, RemoteException
InvalidNameRuntimeFaultRemoteExceptionpublic Task revertToSnapshot_Task(HostSystem host) throws VmConfigFault, TaskInProgress, FileFault, InvalidState, InsufficientResourcesFault, RuntimeFault, RemoteException
public Task revertToSnapshot_Task(HostSystem host, Boolean suppressPowerOn) throws VmConfigFault, TaskInProgress, FileFault, InvalidState, InsufficientResourcesFault, RuntimeFault, RemoteException
Copyright © 2011-2012. All Rights Reserved.