Overview
|
|
| Name |
privatezone |
| Tag |
2026.8.25.4 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/dns/privatezone:2026.8.25.4 |
| Last updated |
2026-08-25 10:38:27:+00:00 |
| Created |
2026-08-25 10:38:27:+00:00 |
| Digest |
sha256:526f6d391312f98f9737d5ffc74b638853f211f65d6ccde3c2571890023bcee2 |
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.25.4' = {
name: 'privatezone${env}${version}'
params: {
dnsZoneName: dnsZoneName
vnetResourceId: vnetResourceId
}
}