Sha256: 4ecfecc354825ea5a5286291c2ddf4cb1cfff887e0d2ce32f1b13ee30610767d

Contents?: true

Size: 481 Bytes

Versions: 1

Compression:

Stored size: 481 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates site to site vpn local gateway
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createVpnGateway.html]
        def create_vpn_gateway(vpcid, options={})
          options.merge!(
            'command' => 'createVpnGateway', 
            'vpcid' => vpcid  
          )
          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_vpn_gateway.rb