Class Fission::Action::Snapshot::Lister
In: lib/fission/action/snapshot/lister.rb
Parent: Object

Methods

new   snapshots  

Public Class methods

Internal: Creates a new SnapshotLister object. This accepts a VM object.

vm - An instance of VM

Examples:

  Fission::Action::SnapshotLister.new @my_vm

Returns a new SnapshotLister object

Public Instance methods

Internal: List the snapshots for a VM.

Examples

  @lister.snapshots.data
  # => ['snap 1', 'snap 2']

Returns a Response with the result. If successful, the Repsonse‘s data attribute will be an Array of the snapshot names (String). If there is an error, an unsuccessful Response will be returned.

[Validate]