Sha256: 8654c9c074a8f48097085267105cdc37be514935ef0b9a3ccc5c8136e2842e59

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Stops a router.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/stopRouter.html]
        def stop_router(id, options={})
          options.merge!(
            'command' => 'stopRouter', 
            '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/stop_router.rb