Sha256: c097fdc289422dc30ab62f1b19b719251802629f0438c315b31e007c6e46566a

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Deletes a keypair by name
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/deleteSSHKeyPair.html]
        def delete_ssh_key_pair(name, options={})
          options.merge!(
            'command' => 'deleteSSHKeyPair', 
            'name' => name  
          )
          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_ssh_key_pair.rb