Sha256: bd9b9ed6d83c01a478a45653edd654baaf8c6e78c46b52aa6a24462e5d3f24ec
Contents?: true
Size: 743 Bytes
Versions: 1
Compression:
Stored size: 743 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Creates a port forwarding rule # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createPortForwardingRule.html] def create_port_forwarding_rule(publicport, virtualmachineid, ipaddressid, privateport, protocol, options={}) options.merge!( 'command' => 'createPortForwardingRule', 'publicport' => publicport, 'virtualmachineid' => virtualmachineid, 'ipaddressid' => ipaddressid, 'privateport' => privateport, 'protocol' => protocol ) request(options) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-1.23.0 | lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb |