Data Source: azurermPrivateDnsResolverVirtualNetworkLink
Gets information about an existing Private DNS Resolver Virtual Network Link.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.dataAzurermPrivateDnsResolverVirtualNetworkLink.DataAzurermPrivateDnsResolverVirtualNetworkLink(
this,
"example",
{
dns_forwarding_ruleset_id: "example-dns-forwarding-ruleset-id",
name: "example-link",
}
);
Arguments Reference
The following arguments are supported:
-
name
- (Required) Name of the Private DNS Resolver Virtual Network Link. -
dnsForwardingRulesetId
- (Required) ID of the Private DNS Resolver DNS Forwarding Ruleset.
Attributes Reference
In addition to the Arguments listed above - the following Attributes are exported:
-
id
- The ID of the Private DNS Resolver Virtual Network Link. -
virtualNetworkId
- The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. -
metadata
- The metadata attached to the Private DNS Resolver Virtual Network Link.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Private DNS Resolver Virtual Network Link.