Overview
|
|
| Name |
privatezone |
| Tag |
2026.8.25.2 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/dns/privatezone:2026.8.25.2 |
| Last updated |
2026-08-25 09:44:18:+00:00 |
| Created |
2026-08-25 09:44:18:+00:00 |
| Digest |
sha256:dc478e5ad5f65f09b66e90e8f1d2fbf11a96e492d1c74a5494623bc2983e49c4 |
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.2' = {
name: 'privatezone${env}${version}'
params: {
dnsZoneName: dnsZoneName
vnetResourceId: vnetResourceId
}
}