Sha256: c9a98ca3ebbcfa8cab30e58dd17306bce4a44e8b7df04b4eaf6ed86dc1546fa2

Contents?: true

Size: 645 Bytes

Versions: 4

Compression:

Stored size: 645 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Deletes an ggress firewall rule
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/deleteEgressFirewallRule.html]
        def delete_egress_firewall_rule(*args)
          options = {}
          if args[0].is_a? Hash
            options = args[0]
            options.merge!('command' => 'deleteEgressFirewallRule') 
          else
            options.merge!('command' => 'deleteEgressFirewallRule', 
            'id' => args[0])
          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/delete_egress_firewall_rule.rb
fog-1.25.0 lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb
nsidc-fog-1.24.1 lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb
fog-1.24.0 lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb