Microsoft.Network dnsZones 2017-10-01
Bicep resource definition
The dnsZones resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Network/dnsZones resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Network/dnsZones@2017-10-01' = {
etag: 'string'
location: 'string'
name: 'string'
properties: {
zoneType: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property values
Microsoft.Network/dnsZones
Name | Description | Value |
---|---|---|
etag | The etag of the zone. | string |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | The properties of the zone. | ZoneProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
TrackedResourceTags
Name | Description | Value |
---|
ZoneProperties
Name | Description | Value |
---|---|---|
zoneType | The type of this DNS zone (Public or Private). | 'Private' 'Public' |
Quickstart samples
The following quickstart samples deploy this resource type.
Bicep File | Description |
---|---|
Azure DNS domain hosting example | This template shows how to create a DNS zone within Azure DNS and how to add some record sets to it. |
Front Door Standard/Premium with Azure DNS and custom domain | This template creates a Front Door Standard/Premium including a custom domain on Azure DNS and Microsoft-managed certificate. |
ARM template resource definition
The dnsZones resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Network/dnsZones resource, add the following JSON to your template.
{
"type": "Microsoft.Network/dnsZones",
"apiVersion": "2017-10-01",
"name": "string",
"etag": "string",
"location": "string",
"properties": {
"zoneType": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property values
Microsoft.Network/dnsZones
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2017-10-01' |
etag | The etag of the zone. | string |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | The properties of the zone. | ZoneProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Network/dnsZones' |
TrackedResourceTags
Name | Description | Value |
---|
ZoneProperties
Name | Description | Value |
---|---|---|
zoneType | The type of this DNS zone (Public or Private). | 'Private' 'Public' |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Azure DNS domain hosting example |
This template shows how to create a DNS zone within Azure DNS and how to add some record sets to it. |
Create a DNS Zone with the correct records for Office 365 |
This template configures the records needed to integrate Azure DNS with Office 365 by adding the correct CNAME, SRV, MX, and TXT records. |
Front Door Standard/Premium with Azure DNS and custom domain |
This template creates a Front Door Standard/Premium including a custom domain on Azure DNS and Microsoft-managed certificate. |
Terraform (AzAPI provider) resource definition
The dnsZones resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Network/dnsZones resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/dnsZones@2017-10-01"
name = "string"
etag = "string"
location = "string"
body = jsonencode({
properties = {
zoneType = "string"
}
})
tags = {
{customized property} = "string"
}
}
Property values
Microsoft.Network/dnsZones
Name | Description | Value |
---|---|---|
etag | The etag of the zone. | string |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | The properties of the zone. | ZoneProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Network/dnsZones@2017-10-01" |
TrackedResourceTags
Name | Description | Value |
---|
ZoneProperties
Name | Description | Value |
---|---|---|
zoneType | The type of this DNS zone (Public or Private). | 'Private' 'Public' |