Sha256: 748c5bad965ab4ecbc0c9c3dbdf56e789282b0fa0bb3c008a2fe636505714fb1
Contents?: true
Size: 688 Bytes
Versions: 28
Compression:
Stored size: 688 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Create site to site vpn connection # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/createVpnConnection.html] def create_vpn_connection(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'createVpnConnection') else options.merge!('command' => 'createVpnConnection', 's2svpngatewayid' => args[0], 's2scustomergatewayid' => args[1]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems