Sha256: 2a9780818f07896ebcff875a13f43e8b36985ed7b0263b7a10cc567e65b69df5

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Dedicates a host.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/dedicateHost.html]
        def dedicate_host(hostid, domainid, options={})
          options.merge!(
            'command' => 'dedicateHost', 
            'hostid' => hostid, 
            'domainid' => domainid  
          )
          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/dedicate_host.rb