For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Network/privateDnsZones/A resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Network/privateDnsZones/A@2020-01-01' = {
name: 'string'
parent: resourceSymbolicName
etag: 'string'
properties: {
aaaaRecords: [
{
ipv6Address: 'string'
}
]
aRecords: [
{
ipv4Address: 'string'
}
]
cnameRecord: {
cname: 'string'
}
metadata: {}
mxRecords: [
{
exchange: 'string'
preference: int
}
]
ptrRecords: [
{
ptrdname: 'string'
}
]
soaRecord: {
email: 'string'
expireTime: int
host: 'string'
minimumTtl: int
refreshTime: int
retryTime: int
serialNumber: int
}
srvRecords: [
{
port: int
priority: int
target: 'string'
weight: int
}
]
ttl: int
txtRecords: [
{
value: [
'string'
]
}
]
}
}
Property values
privateDnsZones/A
Name
Description
Value
name
The resource name
See how to set names and types for child resources in Bicep.
string (required)
parent
In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.
Application Gateway routing Internet traffic to a virtual network (internal mode) API Management instance which services a web API hosted in an Azure Web App.
Application Gateway routing Internet traffic to a virtual network (internal mode) API Management instance which services a web API hosted in an Azure Web App.
The domain name of the mail host for this MX record.
string
preference
The preference value for this MX record.
int
PtrRecord
Name
Description
Value
ptrdname
The PTR target domain name for this PTR record.
string
SoaRecord
Name
Description
Value
email
The email contact for this SOA record.
string
expireTime
The expire time for this SOA record.
int
host
The domain name of the authoritative name server for this SOA record.
string
minimumTtl
The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
int
refreshTime
The refresh value for this SOA record.
int
retryTime
The retry time for this SOA record.
int
serialNumber
The serial number for this SOA record.
int
SrvRecord
Name
Description
Value
port
The port value for this SRV record.
int
priority
The priority value for this SRV record.
int
target
The target domain name for this SRV record.
string
weight
The weight value for this SRV record.
int
TxtRecord
Name
Description
Value
value
The text value of this TXT record.
string[]
Feedback
Was this page helpful?
Feedback
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.