Sha256: b9ef7a7ad6de126454a5cda36b9af1c8a4de239454867fe40aabbdebfcf0923a
Contents?: true
Size: 612 Bytes
Versions: 28
Compression:
Stored size: 612 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Deletes a vmsnapshot. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/deleteVMSnapshot.html] def delete_vm_snapshot(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'deleteVMSnapshot') else options.merge!('command' => 'deleteVMSnapshot', 'vmsnapshotid' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems