Sha256: 837bc1442bb43c251c7ee4ba3271eecc617058e6684f7781eb04c6f246e3339e
Contents?: true
Size: 637 Bytes
Versions: 28
Compression:
Stored size: 637 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Configures a SRX firewall device # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/configureSrxFirewall.html] def configure_srx_firewall(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'configureSrxFirewall') else options.merge!('command' => 'configureSrxFirewall', 'fwdeviceid' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems