Sha256: 79d74a22b402361fc1c26475231e4bed81d7a77ec47e83d9a8d91d856a412a0a

Contents?: true

Size: 630 Bytes

Versions: 4

Compression:

Stored size: 630 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Lists all port forwarding rules for an IP address.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/listPortForwardingRules.html]
        def list_port_forwarding_rules(*args)
          options = {}
          if args[0].is_a? Hash
            options = args[0]
            options.merge!('command' => 'listPortForwardingRules') 
          else
            options.merge!('command' => 'listPortForwardingRules')
          end
          request(options)
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fog-1.26.0 lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb
fog-1.25.0 lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb
nsidc-fog-1.24.1 lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb
fog-1.24.0 lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb