{ "location": "{{ vngw.location }}", "properties": { "enableBgpRouteTranslationForNat": {{ vngw.bgproute4nat }}, "enableDnsForwarding": {{ vngw.dnsfwd }}, "enablePrivateIpAddress": {{ vngw.privateip }}, {% if vngw.lngwid is defined and vngw.lngwid != '' %} "gatewayDefaultSite": { "id": "{{ vngw.lngwid }}" }, {% endif %} "ipConfigurations": [ {% for ipc in vngw.ipcs %} { "name": "{{ ipc.name }}", "properties": { "privateIPAllocationMethod": "{{ ipc.allocmethod }}", {% if ipc.allocmethod == "Static" %} "privateIPAddress": "{{ ipc.privateip }}", {% endif %} "publicIPAddress": { "id": "{{ ipc.pipid }}" }, "subnet": { "id": "{{ ipc.subnetid }}" } } }, {% endfor %} ], "activeActive": {{ vngw.activeactive }}, "sku": { "name": "{{ vngw.sku }}", "tier": "{{ vngw.sku }}" }, "gatewayType": "{{ vngw.gwtype }}", "vpnType": "{{ vngw.vpntype }}", "enableBgp": {{ vngw.enablebgp }}, {% if vngw.enablebgp == "true" %} "bgpSettings": { "asn": {{ vngw.asn }}, "bgpPeeringAddress": "{{ vngw.peers }}", "peerWeight": {{ vngw.weight }} }, {% endif %} "vpnGatewayGeneration": "{{ vngw.generation }}" } }