Sha256: 7aefb9c105251002abfb8295fa9b85bf985ce92fb5883d93d4dededa737cb6ee
Contents?: true
Size: 644 Bytes
Versions: 28
Compression:
Stored size: 644 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Deletes a port forwarding rule # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/deletePortForwardingRule.html] def delete_port_forwarding_rule(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'deletePortForwardingRule') else options.merge!('command' => 'deletePortForwardingRule', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems