Sha256: 0b9c6cd39f395ac9cdb1fae0f32248b79a2c6f706575d5582d839b257c5282e9

Contents?: true

Size: 659 Bytes

Versions: 1

Compression:

Stored size: 659 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Resets the password for virtual machine. The virtual machine must be in a "Stopped" state and the template must already support this feature for this command to take effect. [async]
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/resetPasswordForVirtualMachine.html]
        def reset_password_for_virtual_machine(id, options={})
          options.merge!(
            'command' => 'resetPasswordForVirtualMachine', 
            '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/reset_password_for_virtual_machine.rb