Sha256: ebce917a4751f1561607f7202679e8a2ffbc34713951ea62e19f7f9c29454c15

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Deletes a vmsnapshot.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/deleteVMSnapshot.html]
        def delete_vm_snapshot(vmsnapshotid, options={})
          options.merge!(
            'command' => 'deleteVMSnapshot', 
            'vmsnapshotid' => vmsnapshotid  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/delete_vm_snapshot.rb