Sha256: e93c10774728cb91d6836976e6aa3a4b614dde5a7c89015744a63b2daa2c63a7

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Update site to site vpn customer gateway
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateVpnCustomerGateway.html]
        def update_vpn_customer_gateway(id, esppolicy, ikepolicy, cidrlist, gateway, ipsecpsk, options={})
          options.merge!(
            'command' => 'updateVpnCustomerGateway', 
            'id' => id, 
            'esppolicy' => esppolicy, 
            'ikepolicy' => ikepolicy, 
            'cidrlist' => cidrlist, 
            'gateway' => gateway, 
            'ipsecpsk' => ipsecpsk  
          )
          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/update_vpn_customer_gateway.rb