Overview
|
|
| Name |
localnetworkgateway |
| Tag |
2026.8.26.3 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/localnetworkgateway:2026.8.26.3 |
| Last updated |
2026-08-26 07:46:08:+00:00 |
| Created |
2026-08-26 07:46:08:+00:00 |
| Digest |
sha256:f749b3d36d19fc7e807164a401cacbdac67f703b936c7311477083ec780b5284 |
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.8.26.3' = {
name: 'localnetworkgateway${env}${version}'
params: {
env: env
system: system
tags: tags
remoteNetworksAddressPrefixes: remoteNetworksAddressPrefixes
gatewayIpAddress: gatewayIpAddress
}
}