Method: StackMate::CloudStackSnapshot#get_volumeid

Defined in:
lib/stackmate/participants/cloudstack_snapshot.rb

#get_volumeidObject



83
84
85
86
87
88
89
# File 'lib/stackmate/participants/cloudstack_snapshot.rb', line 83

def get_volumeid
  resolved_volumeid = get_resolved(@props["volumeid"],workitem)
  if resolved_volumeid.nil? || !validate_param(resolved_volumeid,"uuid")
    raise "Missing mandatory parameter volumeid for resource #{@name}"
  end
  resolved_volumeid
end