Sha256: 5a2264c0b7e9b7c1ffb95b67f06413c1b5cc12fbb1c988844fe9a7ca5f712bf0

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Upgrades domain router to a new service offering
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/changeServiceForRouter.html]
        def change_service_for_router(serviceofferingid, id, options={})
          options.merge!(
            'command' => 'changeServiceForRouter', 
            'serviceofferingid' => serviceofferingid, 
            '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/change_service_for_router.rb