Class | Fission::Action::Snapshot::Reverter |
In: |
lib/fission/action/snapshot/reverter.rb
|
Parent: | Object |
Public: Reverts the VM to the specified snapshot. The snapshot to revert to must exist and the Fusion GUI must not be running.
name - The snapshot name to revert to.
Examples
@reverter.revert_to_snapshot('foo_snap_1')
Returns a Response with the result. If successful, the Response‘s data attribute will be nil. If there is an error, an unsuccessful Response will be returned.