class Fog::Compute::Vsphere::Snapshot
Public Instance Methods
child_snapshots(filters = {})
click to toggle source
# File lib/fog/vsphere/models/compute/snapshot.rb, line 22 def child_snapshots(filters = {}) service.snapshots( { :server_id => server_id, :parent_snapshot => self }.update(filters) ) end
get_child(snapshot_ref)
click to toggle source
# File lib/fog/vsphere/models/compute/snapshot.rb, line 28 def get_child(snapshot_ref) return self if ref == snapshot_ref child_snapshots().get(snapshot_ref) end