azurerm_cdn_frontdoor_route_disable_link_to_default_domain

Manages the Link To Default Domain property of a Front Door (standard/premium) Route.

!>IMPORTANT: This resource has been deprecated and should not be used for new deployments. The azurerm_cdn_frontdoor_route_disable_link_to_default_domain resource will be removed from the 4.0 AzureRM provider. Please use the link_to_default_domain field in the azurerm_cdn_frontdoor_route resource to control this value.

Example Usage

resource "azurerm_cdn_frontdoor_route_disable_link_to_default_domain" "example" {
  cdn_frontdoor_route_id          = azurerm_cdn_frontdoor_route.example.id
  cdn_frontdoor_custom_domain_ids = [azurerm_cdn_frontdoor_custom_domain.contoso.id, azurerm_cdn_frontdoor_custom_domain.fabrikam.id]
}

Arguments Reference

The following arguments are supported:

Attributes Reference

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


Timeouts

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

Import

FrontDoor Route Disable Link To Default Domain can be imported using the resource id, e.g.

terraform import azurerm_cdn_frontdoor_route_disable_link_to_default_domain.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1/routes/route1/disableLinkToDefaultDomain/disableLinkToDefaultDomain1