Module: VagrantPlugins::VSphere::Cap::SnapshotList

Defined in:
lib/vSphere/cap/snapshot_list.rb

Class Method Summary collapse

Class Method Details

.snapshot_list(machine) ⇒ Array<String>

Returns a list of the snapshots that are taken on this machine.

Returns:

  • (Array<String>)

    Snapshot Name



10
11
12
13
# File 'lib/vSphere/cap/snapshot_list.rb', line 10

def self.snapshot_list(machine)
  env = machine.action(:snapshot_list, lock: false)
  env[:machine_snapshot_list]
end