Partilhar via


Microsoft.Network dnsResolverDomainLists 2023-07-01-preview

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@2023-07-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    domains: [
      'string'
    ]
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

DnsResolverDomainListProperties

Name Description Value
domains The domains in the domain list. string[] (required)

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 = 1
Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (required)
properties Properties of the DNS resolver domain list. DnsResolverDomainListProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates

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": "2023-07-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "domains": [ "string" ]
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

DnsResolverDomainListProperties

Name Description Value
domains The domains in the domain list. string[] (required)

Microsoft.Network/dnsResolverDomainLists

Name Description Value
apiVersion The api version '2023-07-01-preview'
location The geo-location where the resource lives string (required)
name The resource name string

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

TrackedResourceTags

Name Description Value

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@2023-07-01-preview"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      domains = [
        "string"
      ]
    }
  })
}

Property values

DnsResolverDomainListProperties

Name Description Value
domains The domains in the domain list. string[] (required)

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 = 1
Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9_\-]*[a-zA-Z0-9])?$ (required)
properties Properties of the DNS resolver domain list. DnsResolverDomainListProperties (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Network/dnsResolverDomainLists@2023-07-01-preview"

TrackedResourceTags

Name Description Value