Sha256: cd5f50c1a052e05008cd6c30dba2b0f5117d90b52e423a025eac4f46974d770f
Contents?: true
Size: 708 Bytes
Versions: 28
Compression:
Stored size: 708 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Updates a port forwarding rule. Only the private port and the virtual machine can be updated. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/updatePortForwardingRule.html] def update_port_forwarding_rule(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'updatePortForwardingRule') else options.merge!('command' => 'updatePortForwardingRule', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems