Microsoft.Network dnszones 2015-05-04-preview
Bicep resource definition
The dnszones resource type can be deployed to:
- 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@2015-05-04-preview' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
etag: 'string'
properties: {
maxNumberOfRecordSets: int
numberOfRecordSets: int
}
}
Property values
dnszones
Name | Description | Value |
---|---|---|
name | The resource name | string (required) Character limit: 1-63 characters 2 to 34 labels Each label is a set of characters separated by a period. For example, contoso.com has 2 labels. Valid characters: Each label can contain alphanumerics, underscores, and hyphens. Each label is separated by a period. |
location | The geo-location where the resource lives | string (required) |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
etag | Gets or sets the ETag of the zone that is being updated, as received from a Get operation. | string |
properties | Gets or sets the properties of the zone. | ZoneProperties |
ZoneProperties
Name | Description | Value |
---|---|---|
maxNumberOfRecordSets | Gets or sets the maximum number of record sets that can be created in this zone. | int |
numberOfRecordSets | Gets or sets the current number of record sets in this zone. | int |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
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. |
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. |
ARM template resource definition
The dnszones resource type can be deployed to:
- 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": "2015-05-04-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"etag": "string",
"properties": {
"maxNumberOfRecordSets": "int",
"numberOfRecordSets": "int"
}
}
Property values
dnszones
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Network/dnszones' |
apiVersion | The resource api version | '2015-05-04-preview' |
name | The resource name | string (required) Character limit: 1-63 characters 2 to 34 labels Each label is a set of characters separated by a period. For example, contoso.com has 2 labels. Valid characters: Each label can contain alphanumerics, underscores, and hyphens. Each label is separated by a period. |
location | The geo-location where the resource lives | string (required) |
tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
etag | Gets or sets the ETag of the zone that is being updated, as received from a Get operation. | string |
properties | Gets or sets the properties of the zone. | ZoneProperties |
ZoneProperties
Name | Description | Value |
---|---|---|
maxNumberOfRecordSets | Gets or sets the maximum number of record sets that can be created in this zone. | int |
numberOfRecordSets | Gets or sets the current number of record sets in this zone. | int |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
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. |
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. |
Terraform (AzAPI provider) resource definition
The dnszones resource type can be deployed to:
- 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@2015-05-04-preview"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
maxNumberOfRecordSets = int
numberOfRecordSets = int
}
etag = "string"
})
}
Property values
dnszones
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.Network/dnszones@2015-05-04-preview" |
name | The resource name | string (required) Character limit: 1-63 characters 2 to 34 labels Each label is a set of characters separated by a period. For example, contoso.com has 2 labels. Valid characters: Each label can contain alphanumerics, underscores, and hyphens. Each label is separated by a period. |
location | The geo-location where the resource lives | string (required) |
parent_id | To deploy to a resource group, use the ID of that resource group. | string (required) |
tags | Resource tags. | Dictionary of tag names and values. |
etag | Gets or sets the ETag of the zone that is being updated, as received from a Get operation. | string |
properties | Gets or sets the properties of the zone. | ZoneProperties |
ZoneProperties
Name | Description | Value |
---|---|---|
maxNumberOfRecordSets | Gets or sets the maximum number of record sets that can be created in this zone. | int |
numberOfRecordSets | Gets or sets the current number of record sets in this zone. | int |