Gets information about an existing Private DNS Resolver.
data "azurerm_private_dns_resolver" "test" {
name = "example"
resource_group_name = "example-resourcegroup-name"
}
The following arguments are supported:
name
- (Required) Name of the Private DNS Resolver.
resource_group_name
- (Required) Name of the Resource Group where the Private DNS Resolver exists.
In addition to the Arguments listed above - the following Attributes are exported:
id
- The ID of the DNS Resolver.
location
- The Azure Region where the Private DNS Resolver exists.
virtual_network_id
- The ID of the Virtual Network that is linked to the Private DNS Resolver.
tags
- The tags assigned to the Private DNS Resolver.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Private DNS Resolver.