2026.9.9.2

Overview

Name localnetworkgateway
Tag 2026.9.9.2
FullName br:bicepacrdevwcom.azurecr.io/bicep/modules/localnetworkgateway:2026.9.9.2
Last updated 2026-09-09 12:49:12:+00:00
Created 2026-09-09 12:49:12:+00:00
Digest sha256:242845fb7216eaff2df203b3184eeafc9ffa61a4e64eea293634f8dbf59af607

Parameters

Name Type Required Description
env string Yes
namePrefix string No
''
system string Yes
shortLocation string No
''
nameSuffix string No
''
localNetworkGatewayName string No
format('{0}{1}lng-{2}{3}{4}{5}{6}{7}{8}', namePrefix, if(empty(namePrefix), '', '-'), system, if(empty(system), '', '-'), shortLocation, if(empty(shortLocation), '', '-'), env, if(empty(nameSuffix), '', '-'), nameSuffix)
tags object Yes Tags to add to the resources
location string No
resourceGroup().location
Location for all resources
remoteNetworksAddressPrefixes array Yes List with all networks on remote site for tunnel access
gatewayIpAddress string Yes Peer address on remote site
enableBGP bool No
false
bgpSettings object No
{
}

Outputs

Name Type Description
localNetworkGatewayId string

Example

@description('The target environment.')
param env string

@description('The deployment version.')
param version string = '1.0.0.0'

param system string

@description('Tags to add to the resources')
param tags object

@description('List with all networks on remote site for tunnel access')
param remoteNetworksAddressPrefixes array

@description('Peer address on remote site')
param gatewayIpAddress string


module localnetworkgateway 'br:bicepacrdevwcom.azurecr.io/bicep/modules/localnetworkgateway:2026.9.9.2' = {
    name: 'localnetworkgateway${env}${version}'
    params: {
      env: env
      system: system
      tags: tags
      remoteNetworksAddressPrefixes: remoteNetworksAddressPrefixes
      gatewayIpAddress: gatewayIpAddress
    }
}