Share via


Microsoft.Network dnsResolverDomainLists 2025-05-01

Bicep resource definition

The dnsResolverDomainLists resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/dnsResolverDomainLists resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Network/dnsResolverDomainLists@2025-05-01' = {
  ___location: 'string'
  name: 'string'
  properties: {
    domains: [
      'string'
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Network/dnsResolverDomainLists

Name Description Value
___location The geo-___location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 1
Max length = 80
Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (required)
properties Properties of the DNS resolver ___domain list. DnsResolverDomainListProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

DnsResolverDomainListProperties

Name Description Value
domains The domains in the ___domain list. Will be null if user is using large ___domain list. string[]

TrackedResourceTags

Name Description Value

ARM template resource definition

The dnsResolverDomainLists resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/dnsResolverDomainLists resource, add the following JSON to your template.

{
  "type": "Microsoft.Network/dnsResolverDomainLists",
  "apiVersion": "2025-05-01",
  "name": "string",
  "___location": "string",
  "properties": {
    "domains": [ "string" ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Network/dnsResolverDomainLists

Name Description Value
apiVersion The api version '2025-05-01'
___location The geo-___location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 1
Max length = 80
Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (required)
properties Properties of the DNS resolver ___domain list. DnsResolverDomainListProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Network/dnsResolverDomainLists'

DnsResolverDomainListProperties

Name Description Value
domains The domains in the ___domain list. Will be null if user is using large ___domain list. string[]

TrackedResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The dnsResolverDomainLists 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/dnsResolverDomainLists resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/dnsResolverDomainLists@2025-05-01"
  name = "string"
  parent_id = "string"
  ___location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      domains = [
        "string"
      ]
    }
  }
}

Property Values

Microsoft.Network/dnsResolverDomainLists

Name Description Value
___location The geo-___location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 1
Max length = 80
Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (required)
properties Properties of the DNS resolver ___domain list. DnsResolverDomainListProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Network/dnsResolverDomainLists@2025-05-01"

DnsResolverDomainListProperties

Name Description Value
domains The domains in the ___domain list. Will be null if user is using large ___domain list. string[]

TrackedResourceTags

Name Description Value