Overview
|
|
| Name |
privatezone |
| Tag |
2026.8.26.3 |
| FullName |
br:bicepacrdevwcom.azurecr.io/bicep/modules/dns/privatezone:2026.8.26.3 |
| Last updated |
2026-08-26 07:43:19:+00:00 |
| Created |
2026-08-26 07:43:19:+00:00 |
| Digest |
sha256:4612ab359eeb01f180dc167434ff2d0f893a48415bcdd8456be2a9e2c8d475be |
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.26.3' = {
name: 'privatezone${env}${version}'
params: {
dnsZoneName: dnsZoneName
vnetResourceId: vnetResourceId
}
}