Private DNS Zone
Creates a private DNS zone and links it to one or more virtual networks. Required for private endpoint name resolution, for example privatelink.vaultcore.azure.net for Key Vault.
Summary
Private DNS zone with virtual network links for private endpoint resolution.
| Property |
Value |
| Owner |
platform-team |
| Support |
Support |
| Version |
1.0.0 |
Resource Types
| Resource Type |
Microsoft.Network/privateDnsZones |
Microsoft.Network/privateDnsZones/virtualNetworkLinks |
Usage
module private_dns_zone 'br:geitbicepmodweucr01.azurecr.io/bicep/modules/network/private-dns-zone:1.0.0' = {
name: 'private_dns_zone'
params: {
// Required parameters
par_private_dns_zone_name: <string>
}
}
Parameters
| Name |
Type |
Description |
Default |
par_private_dns_zone_name |
string |
Name of the private DNS zone, for example privatelink.vaultcore.azure.net. |
required |
par_tags |
object |
Resource tags applied to the zone and its links. |
`` |
par_virtual_network_links |
array |
Optional. Virtual networks to link to the zone. Defaults to none, which leaves the zone unresolvable from any network. |
`` |
Outputs
| Name |
Type |
Description |
out_private_dns_zone_id |
string |
Resource ID of the deployed private DNS zone. |
out_private_dns_zone_name |
string |
Name of the deployed private DNS zone. |
Versions
Pin an exact version. Ranges are not supported.
| Version |
Reference |
1.0.0 (latest) |
br/Euvic-Modules:network/private-dns-zone:1.0.0 |