Sha256: 343837063a617cb70e63b6a87c722bcc742964bb9062661adf6b6f018a77a848

Contents?: true

Size: 459 Bytes

Versions: 86

Compression:

Stored size: 459 Bytes

Contents

module Fog
  module Compute
    class Cloudstack
      class Real

        # Returns an encrypted password for the VM
        #
        # {CloudStack API Reference}[http://download.cloud.com/releases/2.2.0/api_2.2.4/global_admin/getVMPassword.html]
        def get_vm_password(id)
          options = {
            'command' => 'getVMPassword',
            'id' => id
          }
          
          request(options)
        end

      end
    end
  end
end

Version data entries

86 entries across 86 versions & 16 rubygems

Version Path
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/cloudstack/requests/compute/get_vm_password.rb
fog-1.3.1 lib/fog/cloudstack/requests/compute/get_vm_password.rb
fog-1.3.0 lib/fog/cloudstack/requests/compute/get_vm_password.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/cloudstack/requests/compute/get_vm_password.rb
fog-1.2.0 lib/fog/cloudstack/requests/compute/get_vm_password.rb
ktheory-fog-1.1.2 lib/fog/cloudstack/requests/compute/get_vm_password.rb