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