Sha256: 130ed2dcee63fd2b8ab39dd1efb9b13198d9662ebcd60e55790597305b10f4f4

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Returns an encrypted password for the VM
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/getVMPassword.html]
        def get_vm_password(id, options={})
          options.merge!(
            'command' => 'getVMPassword', 
            'id' => id  
          )
          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/get_vm_password.rb