Overview
|
|
| Name |
tunnels |
| Tag |
2026.8.25.2 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/tunnels:2026.8.25.2 |
| Last updated |
2026-08-25 09:48:59:+00:00 |
| Created |
2026-08-25 09:48:59:+00:00 |
| Digest |
sha256:5a00943ebc22f79e65c2b638556a963ed7bc3001f3a01776fba4011fdd000299 |
Parameters
| Name |
Type |
Required |
Description |
env |
string |
Yes |
|
version |
string |
Yes |
|
namePrefix |
string |
No
'' |
|
system |
string |
Yes |
|
shortLocation |
string |
No
'' |
|
nameSuffix |
string |
No
'' |
|
tags |
object |
Yes |
|
virtualNetworkGatewaySubnetId |
string |
Yes |
Reference to virtual network gateway subnet id |
tunnelsConfigurations |
array |
Yes |
Array with tunnels configuration jsons |
deploymentKeyVaultname |
string |
Yes |
Deployment key vault name - contains pre-shared keys for tunnels in format preSharedKey-[name] |
usePointToPointConfiguration |
bool |
No
false |
|
vpnClientAddressPoolPrefixes |
string |
No
'' |
|
activeActiveMode |
bool |
No
false |
|
publicIPAllocationMethod |
string
'Static', 'Dynamic' |
No
'Dynamic' |
Public IP allocation method |
publicIpSkuTier |
string
'Global', 'Regional' |
No
'Regional' |
Public IP address sku tier |
publicIpSkuName |
string
'Basic', 'Standard', 'StandardV2' |
No
'StandardV2' |
Public IP address sku name |
vngSkuName |
string
'Basic', 'ErGw1AZ', 'ErGw2AZ', 'ErGw3AZ', 'HighPerformance', 'Standard', 'UltraPerformance', 'VpnGw1', 'VpnGw1AZ', 'VpnGw2', 'VpnGw2AZ', 'VpnGw3', 'VpnGw3AZ', 'VpnGw4', 'VpnGw4AZ', 'VpnGw5', 'VpnGw5AZ' |
No
'VpnGw1' |
Gateway SKU name |
vngSkuTier |
string
'Basic', 'ErGw1AZ', 'ErGw2AZ', 'ErGw3AZ', 'HighPerformance', 'Standard', 'UltraPerformance', 'VpnGw1', 'VpnGw1AZ', 'VpnGw2', 'VpnGw2AZ', 'VpnGw3', 'VpnGw3AZ', 'VpnGw4', 'VpnGw4AZ', 'VpnGw5', 'VpnGw5AZ' |
No
'VpnGw1' |
Gateway SKU tier |
enableBGP |
bool |
No
false |
|
vngNatRules |
array |
No
[ ] |
|
Outputs
Example
@description('The target environment.')
param env string
@description('The deployment version.')
param version string = '1.0.0.0'
param system string
param tags object
@description('Reference to virtual network gateway subnet id')
param virtualNetworkGatewaySubnetId string
@description('Array with tunnels configuration jsons')
param tunnelsConfigurations array
@description('Deployment key vault name - contains pre-shared keys for tunnels in format preSharedKey-[name]')
param deploymentKeyVaultname string
module tunnels 'br:bicepacrdevwcom.azurecr.io/bicep/modules/tunnels:2026.8.25.2' = {
name: 'tunnels${env}${version}'
params: {
env: env
version: version
system: system
tags: tags
virtualNetworkGatewaySubnetId: virtualNetworkGatewaySubnetId
tunnelsConfigurations: tunnelsConfigurations
deploymentKeyVaultname: deploymentKeyVaultname
}
}