Skip to content

Data Source: azurermCdnFrontdoorEndpoint

Use this data source to access information about an existing Front Door (standard/premium) 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.dataAzurermCdnFrontdoorEndpoint.DataAzurermCdnFrontdoorEndpoint(
  this,
  "example",
  {
    name: "existing-endpoint",
    profile_name: "existing-cdn-profile",
    resource_group_name: "existing-resources",
  }
);

Argument Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the Front Door Endpoint.

  • profileName - (Required) The name of the Front Door Profile within which Front Door Endpoint exists.

  • resourceGroupName - (Required) The name of the Resource Group where the Front Door Profile exists.

Attributes Reference

The following attributes are exported:

  • id - The ID of this Front Door Endpoint.

  • enabled - Specifies whether this Front Door Endpoint is enabled or not.

  • hostName - Specifies the host name of the Front Door Endpoint, in the format {endpointName}.{dnsZone} (for example, contosoAzureedgeNet).

  • tags - Specifies a mapping of Tags assigned to this Front Door Endpoint.

Timeouts

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

  • read - (Defaults to 5 minutes) Used when retrieving the Front Door Endpoint.