Skip to content

Data Source: azurermPrivateDnsResolverOutboundEndpoint

Gets information about an existing Private DNS Resolver Outbound Endpoint.

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.dataAzurermPrivateDnsResolverOutboundEndpoint.DataAzurermPrivateDnsResolverOutboundEndpoint(
  this,
  "example",
  {
    name: "example-endpoint",
    private_dns_resolver_id: "example-private-dns-resolver-id",
  }
);

Arguments Reference

The following arguments are supported:

  • name - (Required) Name of the Private DNS Resolver Outbound Endpoint.

  • privateDnsResolverId - (Required) ID of the Private DNS Resolver Outbound Endpoint.

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Private DNS Resolver Outbound Endpoint.

  • location - The Azure Region where the Private DNS Resolver Outbound Endpoint exists.

  • subnetId - The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint.

  • tags - The tags assigned to the Private DNS Resolver Outbound Endpoint.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Private DNS Resolver Outbound Endpoint.