Sha256: ccd5768a663f8376d32cdf2cdb2636113cb68cce1ef61b74962513ce1981fbd6
Contents?: true
Size: 609 Bytes
Versions: 4
Compression:
Stored size: 609 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.4/root_admin/deleteSSHKeyPair.html] def delete_ssh_key_pair(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'deleteSSHKeyPair') else options.merge!('command' => 'deleteSSHKeyPair', 'name' => args[0]) end request(options) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems