Sha256: 5bf8cd8bf45d37c1b5e48a576aeabb14ce8647b3bd24b3104cdf158d9407f2ca

Contents?: true

Size: 614 Bytes

Versions: 1

Compression:

Stored size: 614 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Resets the SSH Key for virtual machine. The virtual machine must be in a "Stopped" state. [async]
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/resetSSHKeyForVirtualMachine.html]
        def reset_ssh_key_for_virtual_machine(id, keypair, options={})
          options.merge!(
            'command' => 'resetSSHKeyForVirtualMachine', 
            'id' => id, 
            'keypair' => keypair  
          )
          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/reset_ssh_key_for_virtual_machine.rb