Skip to content

Data Source: azurermCdnFrontdoorRuleSet

Use this data source to access information about an existing Front Door (standard/premium) Rule Set.

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.dataAzurermCdnFrontdoorRuleSet.DataAzurermCdnFrontdoorRuleSet(
  this,
  "example",
  {
    name: "existing-rule-set",
    profile_name: "existing-profile",
    resource_group_name: "existing-resources",
  }
);

Arguments Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the Front Door Rule Set to retrieve.

  • profileName - (Required) Specifies the name of the Front Door Profile where this Front Door Rule Set exists.

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

Attributes Reference

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

  • id - The ID of the Front Door Rule Set.

  • cdnFrontdoorProfileId - The ID of the Front Door Profile within which this Front Door Rule Set exists.

Timeouts

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

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