Overview
|
|
| Name |
privatezone |
| Tag |
2026.8.31.6 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/dns/privatezone:2026.8.31.6 |
| Last updated |
2026-08-31 10:48:57:+00:00 |
| Created |
2026-08-31 10:48:57:+00:00 |
| Digest |
sha256:902e4ac6d1dae0413923f700d24d1170da69c82d4debd260d943eb49ce590c78 |
Parameters
| Name |
Type |
Required |
Description |
dnsZoneName |
string |
Yes |
Name of the private DNS zone |
tags |
object |
No
{ } |
Tags to apply to the private DNS zone |
vnetResourceId |
string |
Yes |
VNet resource ID to link the private DNS zone to |
vnetLinkName |
string |
No
format('{0}-link', dnsZoneName) |
VNet link name |
enableRegistration |
bool |
No
false |
Enable registration for the VNet link |
Outputs
| Name |
Type |
Description |
privateDnsZoneId |
string |
|
privateDnsZoneName |
string |
|
vnetLinkId |
string |
|
vnetLinkName |
string |
|
Example
@description('The target environment.')
param env string
@description('The deployment version.')
param version string = '1.0.0.0'
@description('Name of the private DNS zone')
param dnsZoneName string
@description('VNet resource ID to link the private DNS zone to')
param vnetResourceId string
module privatezone 'br:bicepacrdevwcom.azurecr.io/bicep/modules/dns/privatezone:2026.8.31.6' = {
name: 'privatezone${env}${version}'
params: {
dnsZoneName: dnsZoneName
vnetResourceId: vnetResourceId
}
}