1. Packages
  2. Azure Classic
  3. API Docs
  4. cdn
  5. FrontdoorRoute

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.cdn.FrontdoorRoute

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Manages a Front Door (standard/premium) Route.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as std from "@pulumi/std";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-cdn-frontdoor",
        location: "West Europe",
    });
    const exampleZone = new azure.dns.Zone("example", {
        name: "example.com",
        resourceGroupName: example.name,
    });
    const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("example", {
        name: "example-profile",
        resourceGroupName: example.name,
        skuName: "Standard_AzureFrontDoor",
    });
    const exampleFrontdoorOriginGroup = new azure.cdn.FrontdoorOriginGroup("example", {
        name: "example-originGroup",
        cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
        loadBalancing: {
            additionalLatencyInMilliseconds: 0,
            sampleSize: 16,
            successfulSamplesRequired: 3,
        },
    });
    const exampleFrontdoorOrigin = new azure.cdn.FrontdoorOrigin("example", {
        name: "example-origin",
        cdnFrontdoorOriginGroupId: exampleFrontdoorOriginGroup.id,
        enabled: true,
        certificateNameCheckEnabled: false,
        hostName: "contoso.com",
        httpPort: 80,
        httpsPort: 443,
        originHostHeader: "www.contoso.com",
        priority: 1,
        weight: 1,
    });
    const exampleFrontdoorEndpoint = new azure.cdn.FrontdoorEndpoint("example", {
        name: "example-endpoint",
        cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
    });
    const exampleFrontdoorRuleSet = new azure.cdn.FrontdoorRuleSet("example", {
        name: "ExampleRuleSet",
        cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
    });
    const contoso = new azure.cdn.FrontdoorCustomDomain("contoso", {
        name: "contoso-custom-domain",
        cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
        dnsZoneId: exampleZone.id,
        hostName: std.joinOutput({
            separator: ".",
            input: [
                "contoso",
                exampleZone.name,
            ],
        }).apply(invoke => invoke.result),
        tls: {
            certificateType: "ManagedCertificate",
            minimumTlsVersion: "TLS12",
        },
    });
    const fabrikam = new azure.cdn.FrontdoorCustomDomain("fabrikam", {
        name: "fabrikam-custom-domain",
        cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
        dnsZoneId: exampleZone.id,
        hostName: std.joinOutput({
            separator: ".",
            input: [
                "fabrikam",
                exampleZone.name,
            ],
        }).apply(invoke => invoke.result),
        tls: {
            certificateType: "ManagedCertificate",
            minimumTlsVersion: "TLS12",
        },
    });
    const exampleFrontdoorRoute = new azure.cdn.FrontdoorRoute("example", {
        name: "example-route",
        cdnFrontdoorEndpointId: exampleFrontdoorEndpoint.id,
        cdnFrontdoorOriginGroupId: exampleFrontdoorOriginGroup.id,
        cdnFrontdoorOriginIds: [exampleFrontdoorOrigin.id],
        cdnFrontdoorRuleSetIds: [exampleFrontdoorRuleSet.id],
        enabled: true,
        forwardingProtocol: "HttpsOnly",
        httpsRedirectEnabled: true,
        patternsToMatches: ["/*"],
        supportedProtocols: [
            "Http",
            "Https",
        ],
        cdnFrontdoorCustomDomainIds: [
            contoso.id,
            fabrikam.id,
        ],
        linkToDefaultDomain: false,
        cache: {
            queryStringCachingBehavior: "IgnoreSpecifiedQueryStrings",
            queryStrings: [
                "account",
                "settings",
            ],
            compressionEnabled: true,
            contentTypesToCompresses: [
                "text/html",
                "text/javascript",
                "text/xml",
            ],
        },
    });
    const contosoFrontdoorCustomDomainAssociation = new azure.cdn.FrontdoorCustomDomainAssociation("contoso", {
        cdnFrontdoorCustomDomainId: contoso.id,
        cdnFrontdoorRouteIds: [exampleFrontdoorRoute.id],
    });
    const fabrikamFrontdoorCustomDomainAssociation = new azure.cdn.FrontdoorCustomDomainAssociation("fabrikam", {
        cdnFrontdoorCustomDomainId: fabrikam.id,
        cdnFrontdoorRouteIds: [exampleFrontdoorRoute.id],
    });
    
    import pulumi
    import pulumi_azure as azure
    import pulumi_std as std
    
    example = azure.core.ResourceGroup("example",
        name="example-cdn-frontdoor",
        location="West Europe")
    example_zone = azure.dns.Zone("example",
        name="example.com",
        resource_group_name=example.name)
    example_frontdoor_profile = azure.cdn.FrontdoorProfile("example",
        name="example-profile",
        resource_group_name=example.name,
        sku_name="Standard_AzureFrontDoor")
    example_frontdoor_origin_group = azure.cdn.FrontdoorOriginGroup("example",
        name="example-originGroup",
        cdn_frontdoor_profile_id=example_frontdoor_profile.id,
        load_balancing=azure.cdn.FrontdoorOriginGroupLoadBalancingArgs(
            additional_latency_in_milliseconds=0,
            sample_size=16,
            successful_samples_required=3,
        ))
    example_frontdoor_origin = azure.cdn.FrontdoorOrigin("example",
        name="example-origin",
        cdn_frontdoor_origin_group_id=example_frontdoor_origin_group.id,
        enabled=True,
        certificate_name_check_enabled=False,
        host_name="contoso.com",
        http_port=80,
        https_port=443,
        origin_host_header="www.contoso.com",
        priority=1,
        weight=1)
    example_frontdoor_endpoint = azure.cdn.FrontdoorEndpoint("example",
        name="example-endpoint",
        cdn_frontdoor_profile_id=example_frontdoor_profile.id)
    example_frontdoor_rule_set = azure.cdn.FrontdoorRuleSet("example",
        name="ExampleRuleSet",
        cdn_frontdoor_profile_id=example_frontdoor_profile.id)
    contoso = azure.cdn.FrontdoorCustomDomain("contoso",
        name="contoso-custom-domain",
        cdn_frontdoor_profile_id=example_frontdoor_profile.id,
        dns_zone_id=example_zone.id,
        host_name=std.join_output(separator=".",
            input=[
                "contoso",
                example_zone.name,
            ]).apply(lambda invoke: invoke.result),
        tls=azure.cdn.FrontdoorCustomDomainTlsArgs(
            certificate_type="ManagedCertificate",
            minimum_tls_version="TLS12",
        ))
    fabrikam = azure.cdn.FrontdoorCustomDomain("fabrikam",
        name="fabrikam-custom-domain",
        cdn_frontdoor_profile_id=example_frontdoor_profile.id,
        dns_zone_id=example_zone.id,
        host_name=std.join_output(separator=".",
            input=[
                "fabrikam",
                example_zone.name,
            ]).apply(lambda invoke: invoke.result),
        tls=azure.cdn.FrontdoorCustomDomainTlsArgs(
            certificate_type="ManagedCertificate",
            minimum_tls_version="TLS12",
        ))
    example_frontdoor_route = azure.cdn.FrontdoorRoute("example",
        name="example-route",
        cdn_frontdoor_endpoint_id=example_frontdoor_endpoint.id,
        cdn_frontdoor_origin_group_id=example_frontdoor_origin_group.id,
        cdn_frontdoor_origin_ids=[example_frontdoor_origin.id],
        cdn_frontdoor_rule_set_ids=[example_frontdoor_rule_set.id],
        enabled=True,
        forwarding_protocol="HttpsOnly",
        https_redirect_enabled=True,
        patterns_to_matches=["/*"],
        supported_protocols=[
            "Http",
            "Https",
        ],
        cdn_frontdoor_custom_domain_ids=[
            contoso.id,
            fabrikam.id,
        ],
        link_to_default_domain=False,
        cache=azure.cdn.FrontdoorRouteCacheArgs(
            query_string_caching_behavior="IgnoreSpecifiedQueryStrings",
            query_strings=[
                "account",
                "settings",
            ],
            compression_enabled=True,
            content_types_to_compresses=[
                "text/html",
                "text/javascript",
                "text/xml",
            ],
        ))
    contoso_frontdoor_custom_domain_association = azure.cdn.FrontdoorCustomDomainAssociation("contoso",
        cdn_frontdoor_custom_domain_id=contoso.id,
        cdn_frontdoor_route_ids=[example_frontdoor_route.id])
    fabrikam_frontdoor_custom_domain_association = azure.cdn.FrontdoorCustomDomainAssociation("fabrikam",
        cdn_frontdoor_custom_domain_id=fabrikam.id,
        cdn_frontdoor_route_ids=[example_frontdoor_route.id])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cdn"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/dns"
    	"github.com/pulumi/pulumi-std/sdk/go/std"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-cdn-frontdoor"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleZone, err := dns.NewZone(ctx, "example", &dns.ZoneArgs{
    			Name:              pulumi.String("example.com"),
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleFrontdoorProfile, err := cdn.NewFrontdoorProfile(ctx, "example", &cdn.FrontdoorProfileArgs{
    			Name:              pulumi.String("example-profile"),
    			ResourceGroupName: example.Name,
    			SkuName:           pulumi.String("Standard_AzureFrontDoor"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleFrontdoorOriginGroup, err := cdn.NewFrontdoorOriginGroup(ctx, "example", &cdn.FrontdoorOriginGroupArgs{
    			Name:                  pulumi.String("example-originGroup"),
    			CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(),
    			LoadBalancing: &cdn.FrontdoorOriginGroupLoadBalancingArgs{
    				AdditionalLatencyInMilliseconds: pulumi.Int(0),
    				SampleSize:                      pulumi.Int(16),
    				SuccessfulSamplesRequired:       pulumi.Int(3),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleFrontdoorOrigin, err := cdn.NewFrontdoorOrigin(ctx, "example", &cdn.FrontdoorOriginArgs{
    			Name:                        pulumi.String("example-origin"),
    			CdnFrontdoorOriginGroupId:   exampleFrontdoorOriginGroup.ID(),
    			Enabled:                     pulumi.Bool(true),
    			CertificateNameCheckEnabled: pulumi.Bool(false),
    			HostName:                    pulumi.String("contoso.com"),
    			HttpPort:                    pulumi.Int(80),
    			HttpsPort:                   pulumi.Int(443),
    			OriginHostHeader:            pulumi.String("www.contoso.com"),
    			Priority:                    pulumi.Int(1),
    			Weight:                      pulumi.Int(1),
    		})
    		if err != nil {
    			return err
    		}
    		exampleFrontdoorEndpoint, err := cdn.NewFrontdoorEndpoint(ctx, "example", &cdn.FrontdoorEndpointArgs{
    			Name:                  pulumi.String("example-endpoint"),
    			CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		exampleFrontdoorRuleSet, err := cdn.NewFrontdoorRuleSet(ctx, "example", &cdn.FrontdoorRuleSetArgs{
    			Name:                  pulumi.String("ExampleRuleSet"),
    			CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		contoso, err := cdn.NewFrontdoorCustomDomain(ctx, "contoso", &cdn.FrontdoorCustomDomainArgs{
    			Name:                  pulumi.String("contoso-custom-domain"),
    			CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(),
    			DnsZoneId:             exampleZone.ID(),
    			HostName: std.JoinOutput(ctx, std.JoinOutputArgs{
    				Separator: pulumi.String("."),
    				Input: pulumi.StringArray{
    					pulumi.String("contoso"),
    					exampleZone.Name,
    				},
    			}, nil).ApplyT(func(invoke std.JoinResult) (*string, error) {
    				return invoke.Result, nil
    			}).(pulumi.StringPtrOutput),
    			Tls: &cdn.FrontdoorCustomDomainTlsArgs{
    				CertificateType:   pulumi.String("ManagedCertificate"),
    				MinimumTlsVersion: pulumi.String("TLS12"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		fabrikam, err := cdn.NewFrontdoorCustomDomain(ctx, "fabrikam", &cdn.FrontdoorCustomDomainArgs{
    			Name:                  pulumi.String("fabrikam-custom-domain"),
    			CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(),
    			DnsZoneId:             exampleZone.ID(),
    			HostName: std.JoinOutput(ctx, std.JoinOutputArgs{
    				Separator: pulumi.String("."),
    				Input: pulumi.StringArray{
    					pulumi.String("fabrikam"),
    					exampleZone.Name,
    				},
    			}, nil).ApplyT(func(invoke std.JoinResult) (*string, error) {
    				return invoke.Result, nil
    			}).(pulumi.StringPtrOutput),
    			Tls: &cdn.FrontdoorCustomDomainTlsArgs{
    				CertificateType:   pulumi.String("ManagedCertificate"),
    				MinimumTlsVersion: pulumi.String("TLS12"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleFrontdoorRoute, err := cdn.NewFrontdoorRoute(ctx, "example", &cdn.FrontdoorRouteArgs{
    			Name:                      pulumi.String("example-route"),
    			CdnFrontdoorEndpointId:    exampleFrontdoorEndpoint.ID(),
    			CdnFrontdoorOriginGroupId: exampleFrontdoorOriginGroup.ID(),
    			CdnFrontdoorOriginIds: pulumi.StringArray{
    				exampleFrontdoorOrigin.ID(),
    			},
    			CdnFrontdoorRuleSetIds: pulumi.StringArray{
    				exampleFrontdoorRuleSet.ID(),
    			},
    			Enabled:              pulumi.Bool(true),
    			ForwardingProtocol:   pulumi.String("HttpsOnly"),
    			HttpsRedirectEnabled: pulumi.Bool(true),
    			PatternsToMatches: pulumi.StringArray{
    				pulumi.String("/*"),
    			},
    			SupportedProtocols: pulumi.StringArray{
    				pulumi.String("Http"),
    				pulumi.String("Https"),
    			},
    			CdnFrontdoorCustomDomainIds: pulumi.StringArray{
    				contoso.ID(),
    				fabrikam.ID(),
    			},
    			LinkToDefaultDomain: pulumi.Bool(false),
    			Cache: &cdn.FrontdoorRouteCacheArgs{
    				QueryStringCachingBehavior: pulumi.String("IgnoreSpecifiedQueryStrings"),
    				QueryStrings: pulumi.StringArray{
    					pulumi.String("account"),
    					pulumi.String("settings"),
    				},
    				CompressionEnabled: pulumi.Bool(true),
    				ContentTypesToCompresses: pulumi.StringArray{
    					pulumi.String("text/html"),
    					pulumi.String("text/javascript"),
    					pulumi.String("text/xml"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cdn.NewFrontdoorCustomDomainAssociation(ctx, "contoso", &cdn.FrontdoorCustomDomainAssociationArgs{
    			CdnFrontdoorCustomDomainId: contoso.ID(),
    			CdnFrontdoorRouteIds: pulumi.StringArray{
    				exampleFrontdoorRoute.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cdn.NewFrontdoorCustomDomainAssociation(ctx, "fabrikam", &cdn.FrontdoorCustomDomainAssociationArgs{
    			CdnFrontdoorCustomDomainId: fabrikam.ID(),
    			CdnFrontdoorRouteIds: pulumi.StringArray{
    				exampleFrontdoorRoute.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    using Std = Pulumi.Std;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-cdn-frontdoor",
            Location = "West Europe",
        });
    
        var exampleZone = new Azure.Dns.Zone("example", new()
        {
            Name = "example.com",
            ResourceGroupName = example.Name,
        });
    
        var exampleFrontdoorProfile = new Azure.Cdn.FrontdoorProfile("example", new()
        {
            Name = "example-profile",
            ResourceGroupName = example.Name,
            SkuName = "Standard_AzureFrontDoor",
        });
    
        var exampleFrontdoorOriginGroup = new Azure.Cdn.FrontdoorOriginGroup("example", new()
        {
            Name = "example-originGroup",
            CdnFrontdoorProfileId = exampleFrontdoorProfile.Id,
            LoadBalancing = new Azure.Cdn.Inputs.FrontdoorOriginGroupLoadBalancingArgs
            {
                AdditionalLatencyInMilliseconds = 0,
                SampleSize = 16,
                SuccessfulSamplesRequired = 3,
            },
        });
    
        var exampleFrontdoorOrigin = new Azure.Cdn.FrontdoorOrigin("example", new()
        {
            Name = "example-origin",
            CdnFrontdoorOriginGroupId = exampleFrontdoorOriginGroup.Id,
            Enabled = true,
            CertificateNameCheckEnabled = false,
            HostName = "contoso.com",
            HttpPort = 80,
            HttpsPort = 443,
            OriginHostHeader = "www.contoso.com",
            Priority = 1,
            Weight = 1,
        });
    
        var exampleFrontdoorEndpoint = new Azure.Cdn.FrontdoorEndpoint("example", new()
        {
            Name = "example-endpoint",
            CdnFrontdoorProfileId = exampleFrontdoorProfile.Id,
        });
    
        var exampleFrontdoorRuleSet = new Azure.Cdn.FrontdoorRuleSet("example", new()
        {
            Name = "ExampleRuleSet",
            CdnFrontdoorProfileId = exampleFrontdoorProfile.Id,
        });
    
        var contoso = new Azure.Cdn.FrontdoorCustomDomain("contoso", new()
        {
            Name = "contoso-custom-domain",
            CdnFrontdoorProfileId = exampleFrontdoorProfile.Id,
            DnsZoneId = exampleZone.Id,
            HostName = Std.Join.Invoke(new()
            {
                Separator = ".",
                Input = new[]
                {
                    "contoso",
                    exampleZone.Name,
                },
            }).Apply(invoke => invoke.Result),
            Tls = new Azure.Cdn.Inputs.FrontdoorCustomDomainTlsArgs
            {
                CertificateType = "ManagedCertificate",
                MinimumTlsVersion = "TLS12",
            },
        });
    
        var fabrikam = new Azure.Cdn.FrontdoorCustomDomain("fabrikam", new()
        {
            Name = "fabrikam-custom-domain",
            CdnFrontdoorProfileId = exampleFrontdoorProfile.Id,
            DnsZoneId = exampleZone.Id,
            HostName = Std.Join.Invoke(new()
            {
                Separator = ".",
                Input = new[]
                {
                    "fabrikam",
                    exampleZone.Name,
                },
            }).Apply(invoke => invoke.Result),
            Tls = new Azure.Cdn.Inputs.FrontdoorCustomDomainTlsArgs
            {
                CertificateType = "ManagedCertificate",
                MinimumTlsVersion = "TLS12",
            },
        });
    
        var exampleFrontdoorRoute = new Azure.Cdn.FrontdoorRoute("example", new()
        {
            Name = "example-route",
            CdnFrontdoorEndpointId = exampleFrontdoorEndpoint.Id,
            CdnFrontdoorOriginGroupId = exampleFrontdoorOriginGroup.Id,
            CdnFrontdoorOriginIds = new[]
            {
                exampleFrontdoorOrigin.Id,
            },
            CdnFrontdoorRuleSetIds = new[]
            {
                exampleFrontdoorRuleSet.Id,
            },
            Enabled = true,
            ForwardingProtocol = "HttpsOnly",
            HttpsRedirectEnabled = true,
            PatternsToMatches = new[]
            {
                "/*",
            },
            SupportedProtocols = new[]
            {
                "Http",
                "Https",
            },
            CdnFrontdoorCustomDomainIds = new[]
            {
                contoso.Id,
                fabrikam.Id,
            },
            LinkToDefaultDomain = false,
            Cache = new Azure.Cdn.Inputs.FrontdoorRouteCacheArgs
            {
                QueryStringCachingBehavior = "IgnoreSpecifiedQueryStrings",
                QueryStrings = new[]
                {
                    "account",
                    "settings",
                },
                CompressionEnabled = true,
                ContentTypesToCompresses = new[]
                {
                    "text/html",
                    "text/javascript",
                    "text/xml",
                },
            },
        });
    
        var contosoFrontdoorCustomDomainAssociation = new Azure.Cdn.FrontdoorCustomDomainAssociation("contoso", new()
        {
            CdnFrontdoorCustomDomainId = contoso.Id,
            CdnFrontdoorRouteIds = new[]
            {
                exampleFrontdoorRoute.Id,
            },
        });
    
        var fabrikamFrontdoorCustomDomainAssociation = new Azure.Cdn.FrontdoorCustomDomainAssociation("fabrikam", new()
        {
            CdnFrontdoorCustomDomainId = fabrikam.Id,
            CdnFrontdoorRouteIds = new[]
            {
                exampleFrontdoorRoute.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.dns.Zone;
    import com.pulumi.azure.dns.ZoneArgs;
    import com.pulumi.azure.cdn.FrontdoorProfile;
    import com.pulumi.azure.cdn.FrontdoorProfileArgs;
    import com.pulumi.azure.cdn.FrontdoorOriginGroup;
    import com.pulumi.azure.cdn.FrontdoorOriginGroupArgs;
    import com.pulumi.azure.cdn.inputs.FrontdoorOriginGroupLoadBalancingArgs;
    import com.pulumi.azure.cdn.FrontdoorOrigin;
    import com.pulumi.azure.cdn.FrontdoorOriginArgs;
    import com.pulumi.azure.cdn.FrontdoorEndpoint;
    import com.pulumi.azure.cdn.FrontdoorEndpointArgs;
    import com.pulumi.azure.cdn.FrontdoorRuleSet;
    import com.pulumi.azure.cdn.FrontdoorRuleSetArgs;
    import com.pulumi.azure.cdn.FrontdoorCustomDomain;
    import com.pulumi.azure.cdn.FrontdoorCustomDomainArgs;
    import com.pulumi.azure.cdn.inputs.FrontdoorCustomDomainTlsArgs;
    import com.pulumi.azure.cdn.FrontdoorRoute;
    import com.pulumi.azure.cdn.FrontdoorRouteArgs;
    import com.pulumi.azure.cdn.inputs.FrontdoorRouteCacheArgs;
    import com.pulumi.azure.cdn.FrontdoorCustomDomainAssociation;
    import com.pulumi.azure.cdn.FrontdoorCustomDomainAssociationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-cdn-frontdoor")
                .location("West Europe")
                .build());
    
            var exampleZone = new Zone("exampleZone", ZoneArgs.builder()        
                .name("example.com")
                .resourceGroupName(example.name())
                .build());
    
            var exampleFrontdoorProfile = new FrontdoorProfile("exampleFrontdoorProfile", FrontdoorProfileArgs.builder()        
                .name("example-profile")
                .resourceGroupName(example.name())
                .skuName("Standard_AzureFrontDoor")
                .build());
    
            var exampleFrontdoorOriginGroup = new FrontdoorOriginGroup("exampleFrontdoorOriginGroup", FrontdoorOriginGroupArgs.builder()        
                .name("example-originGroup")
                .cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
                .loadBalancing(FrontdoorOriginGroupLoadBalancingArgs.builder()
                    .additionalLatencyInMilliseconds(0)
                    .sampleSize(16)
                    .successfulSamplesRequired(3)
                    .build())
                .build());
    
            var exampleFrontdoorOrigin = new FrontdoorOrigin("exampleFrontdoorOrigin", FrontdoorOriginArgs.builder()        
                .name("example-origin")
                .cdnFrontdoorOriginGroupId(exampleFrontdoorOriginGroup.id())
                .enabled(true)
                .certificateNameCheckEnabled(false)
                .hostName("contoso.com")
                .httpPort(80)
                .httpsPort(443)
                .originHostHeader("www.contoso.com")
                .priority(1)
                .weight(1)
                .build());
    
            var exampleFrontdoorEndpoint = new FrontdoorEndpoint("exampleFrontdoorEndpoint", FrontdoorEndpointArgs.builder()        
                .name("example-endpoint")
                .cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
                .build());
    
            var exampleFrontdoorRuleSet = new FrontdoorRuleSet("exampleFrontdoorRuleSet", FrontdoorRuleSetArgs.builder()        
                .name("ExampleRuleSet")
                .cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
                .build());
    
            var contoso = new FrontdoorCustomDomain("contoso", FrontdoorCustomDomainArgs.builder()        
                .name("contoso-custom-domain")
                .cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
                .dnsZoneId(exampleZone.id())
                .hostName(StdFunctions.join().applyValue(invoke -> invoke.result()))
                .tls(FrontdoorCustomDomainTlsArgs.builder()
                    .certificateType("ManagedCertificate")
                    .minimumTlsVersion("TLS12")
                    .build())
                .build());
    
            var fabrikam = new FrontdoorCustomDomain("fabrikam", FrontdoorCustomDomainArgs.builder()        
                .name("fabrikam-custom-domain")
                .cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
                .dnsZoneId(exampleZone.id())
                .hostName(StdFunctions.join().applyValue(invoke -> invoke.result()))
                .tls(FrontdoorCustomDomainTlsArgs.builder()
                    .certificateType("ManagedCertificate")
                    .minimumTlsVersion("TLS12")
                    .build())
                .build());
    
            var exampleFrontdoorRoute = new FrontdoorRoute("exampleFrontdoorRoute", FrontdoorRouteArgs.builder()        
                .name("example-route")
                .cdnFrontdoorEndpointId(exampleFrontdoorEndpoint.id())
                .cdnFrontdoorOriginGroupId(exampleFrontdoorOriginGroup.id())
                .cdnFrontdoorOriginIds(exampleFrontdoorOrigin.id())
                .cdnFrontdoorRuleSetIds(exampleFrontdoorRuleSet.id())
                .enabled(true)
                .forwardingProtocol("HttpsOnly")
                .httpsRedirectEnabled(true)
                .patternsToMatches("/*")
                .supportedProtocols(            
                    "Http",
                    "Https")
                .cdnFrontdoorCustomDomainIds(            
                    contoso.id(),
                    fabrikam.id())
                .linkToDefaultDomain(false)
                .cache(FrontdoorRouteCacheArgs.builder()
                    .queryStringCachingBehavior("IgnoreSpecifiedQueryStrings")
                    .queryStrings(                
                        "account",
                        "settings")
                    .compressionEnabled(true)
                    .contentTypesToCompresses(                
                        "text/html",
                        "text/javascript",
                        "text/xml")
                    .build())
                .build());
    
            var contosoFrontdoorCustomDomainAssociation = new FrontdoorCustomDomainAssociation("contosoFrontdoorCustomDomainAssociation", FrontdoorCustomDomainAssociationArgs.builder()        
                .cdnFrontdoorCustomDomainId(contoso.id())
                .cdnFrontdoorRouteIds(exampleFrontdoorRoute.id())
                .build());
    
            var fabrikamFrontdoorCustomDomainAssociation = new FrontdoorCustomDomainAssociation("fabrikamFrontdoorCustomDomainAssociation", FrontdoorCustomDomainAssociationArgs.builder()        
                .cdnFrontdoorCustomDomainId(fabrikam.id())
                .cdnFrontdoorRouteIds(exampleFrontdoorRoute.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-cdn-frontdoor
          location: West Europe
      exampleZone:
        type: azure:dns:Zone
        name: example
        properties:
          name: example.com
          resourceGroupName: ${example.name}
      exampleFrontdoorProfile:
        type: azure:cdn:FrontdoorProfile
        name: example
        properties:
          name: example-profile
          resourceGroupName: ${example.name}
          skuName: Standard_AzureFrontDoor
      exampleFrontdoorOriginGroup:
        type: azure:cdn:FrontdoorOriginGroup
        name: example
        properties:
          name: example-originGroup
          cdnFrontdoorProfileId: ${exampleFrontdoorProfile.id}
          loadBalancing:
            additionalLatencyInMilliseconds: 0
            sampleSize: 16
            successfulSamplesRequired: 3
      exampleFrontdoorOrigin:
        type: azure:cdn:FrontdoorOrigin
        name: example
        properties:
          name: example-origin
          cdnFrontdoorOriginGroupId: ${exampleFrontdoorOriginGroup.id}
          enabled: true
          certificateNameCheckEnabled: false
          hostName: contoso.com
          httpPort: 80
          httpsPort: 443
          originHostHeader: www.contoso.com
          priority: 1
          weight: 1
      exampleFrontdoorEndpoint:
        type: azure:cdn:FrontdoorEndpoint
        name: example
        properties:
          name: example-endpoint
          cdnFrontdoorProfileId: ${exampleFrontdoorProfile.id}
      exampleFrontdoorRuleSet:
        type: azure:cdn:FrontdoorRuleSet
        name: example
        properties:
          name: ExampleRuleSet
          cdnFrontdoorProfileId: ${exampleFrontdoorProfile.id}
      contoso:
        type: azure:cdn:FrontdoorCustomDomain
        properties:
          name: contoso-custom-domain
          cdnFrontdoorProfileId: ${exampleFrontdoorProfile.id}
          dnsZoneId: ${exampleZone.id}
          hostName:
            fn::invoke:
              Function: std:join
              Arguments:
                separator: .
                input:
                  - contoso
                  - ${exampleZone.name}
              Return: result
          tls:
            certificateType: ManagedCertificate
            minimumTlsVersion: TLS12
      fabrikam:
        type: azure:cdn:FrontdoorCustomDomain
        properties:
          name: fabrikam-custom-domain
          cdnFrontdoorProfileId: ${exampleFrontdoorProfile.id}
          dnsZoneId: ${exampleZone.id}
          hostName:
            fn::invoke:
              Function: std:join
              Arguments:
                separator: .
                input:
                  - fabrikam
                  - ${exampleZone.name}
              Return: result
          tls:
            certificateType: ManagedCertificate
            minimumTlsVersion: TLS12
      exampleFrontdoorRoute:
        type: azure:cdn:FrontdoorRoute
        name: example
        properties:
          name: example-route
          cdnFrontdoorEndpointId: ${exampleFrontdoorEndpoint.id}
          cdnFrontdoorOriginGroupId: ${exampleFrontdoorOriginGroup.id}
          cdnFrontdoorOriginIds:
            - ${exampleFrontdoorOrigin.id}
          cdnFrontdoorRuleSetIds:
            - ${exampleFrontdoorRuleSet.id}
          enabled: true
          forwardingProtocol: HttpsOnly
          httpsRedirectEnabled: true
          patternsToMatches:
            - /*
          supportedProtocols:
            - Http
            - Https
          cdnFrontdoorCustomDomainIds:
            - ${contoso.id}
            - ${fabrikam.id}
          linkToDefaultDomain: false
          cache:
            queryStringCachingBehavior: IgnoreSpecifiedQueryStrings
            queryStrings:
              - account
              - settings
            compressionEnabled: true
            contentTypesToCompresses:
              - text/html
              - text/javascript
              - text/xml
      contosoFrontdoorCustomDomainAssociation:
        type: azure:cdn:FrontdoorCustomDomainAssociation
        name: contoso
        properties:
          cdnFrontdoorCustomDomainId: ${contoso.id}
          cdnFrontdoorRouteIds:
            - ${exampleFrontdoorRoute.id}
      fabrikamFrontdoorCustomDomainAssociation:
        type: azure:cdn:FrontdoorCustomDomainAssociation
        name: fabrikam
        properties:
          cdnFrontdoorCustomDomainId: ${fabrikam.id}
          cdnFrontdoorRouteIds:
            - ${exampleFrontdoorRoute.id}
    

    Create FrontdoorRoute Resource

    new FrontdoorRoute(name: string, args: FrontdoorRouteArgs, opts?: CustomResourceOptions);
    @overload
    def FrontdoorRoute(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       cache: Optional[FrontdoorRouteCacheArgs] = None,
                       cdn_frontdoor_custom_domain_ids: Optional[Sequence[str]] = None,
                       cdn_frontdoor_endpoint_id: Optional[str] = None,
                       cdn_frontdoor_origin_group_id: Optional[str] = None,
                       cdn_frontdoor_origin_ids: Optional[Sequence[str]] = None,
                       cdn_frontdoor_origin_path: Optional[str] = None,
                       cdn_frontdoor_rule_set_ids: Optional[Sequence[str]] = None,
                       enabled: Optional[bool] = None,
                       forwarding_protocol: Optional[str] = None,
                       https_redirect_enabled: Optional[bool] = None,
                       link_to_default_domain: Optional[bool] = None,
                       name: Optional[str] = None,
                       patterns_to_matches: Optional[Sequence[str]] = None,
                       supported_protocols: Optional[Sequence[str]] = None)
    @overload
    def FrontdoorRoute(resource_name: str,
                       args: FrontdoorRouteArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewFrontdoorRoute(ctx *Context, name string, args FrontdoorRouteArgs, opts ...ResourceOption) (*FrontdoorRoute, error)
    public FrontdoorRoute(string name, FrontdoorRouteArgs args, CustomResourceOptions? opts = null)
    public FrontdoorRoute(String name, FrontdoorRouteArgs args)
    public FrontdoorRoute(String name, FrontdoorRouteArgs args, CustomResourceOptions options)
    
    type: azure:cdn:FrontdoorRoute
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args FrontdoorRouteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FrontdoorRouteArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FrontdoorRouteArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FrontdoorRouteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FrontdoorRouteArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    FrontdoorRoute Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FrontdoorRoute resource accepts the following input properties:

    CdnFrontdoorEndpointId string
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    CdnFrontdoorOriginGroupId string
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    CdnFrontdoorOriginIds List<string>
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    PatternsToMatches List<string>
    The route patterns of the rule.
    SupportedProtocols List<string>

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    Cache FrontdoorRouteCache

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    CdnFrontdoorCustomDomainIds List<string>
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    CdnFrontdoorOriginPath string
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    CdnFrontdoorRuleSetIds List<string>
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    Enabled bool
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    ForwardingProtocol string
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    HttpsRedirectEnabled bool

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    LinkToDefaultDomain bool
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    Name string
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    CdnFrontdoorEndpointId string
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    CdnFrontdoorOriginGroupId string
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    CdnFrontdoorOriginIds []string
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    PatternsToMatches []string
    The route patterns of the rule.
    SupportedProtocols []string

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    Cache FrontdoorRouteCacheArgs

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    CdnFrontdoorCustomDomainIds []string
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    CdnFrontdoorOriginPath string
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    CdnFrontdoorRuleSetIds []string
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    Enabled bool
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    ForwardingProtocol string
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    HttpsRedirectEnabled bool

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    LinkToDefaultDomain bool
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    Name string
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorEndpointId String
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorOriginGroupId String
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    cdnFrontdoorOriginIds List<String>
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    patternsToMatches List<String>
    The route patterns of the rule.
    supportedProtocols List<String>

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    cache FrontdoorRouteCache

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    cdnFrontdoorCustomDomainIds List<String>
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    cdnFrontdoorOriginPath String
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    cdnFrontdoorRuleSetIds List<String>
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    enabled Boolean
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    forwardingProtocol String
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    httpsRedirectEnabled Boolean

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    linkToDefaultDomain Boolean
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    name String
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorEndpointId string
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorOriginGroupId string
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    cdnFrontdoorOriginIds string[]
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    patternsToMatches string[]
    The route patterns of the rule.
    supportedProtocols string[]

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    cache FrontdoorRouteCache

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    cdnFrontdoorCustomDomainIds string[]
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    cdnFrontdoorOriginPath string
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    cdnFrontdoorRuleSetIds string[]
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    enabled boolean
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    forwardingProtocol string
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    httpsRedirectEnabled boolean

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    linkToDefaultDomain boolean
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    name string
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    cdn_frontdoor_endpoint_id str
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    cdn_frontdoor_origin_group_id str
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    cdn_frontdoor_origin_ids Sequence[str]
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    patterns_to_matches Sequence[str]
    The route patterns of the rule.
    supported_protocols Sequence[str]

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    cache FrontdoorRouteCacheArgs

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    cdn_frontdoor_custom_domain_ids Sequence[str]
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    cdn_frontdoor_origin_path str
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    cdn_frontdoor_rule_set_ids Sequence[str]
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    enabled bool
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    forwarding_protocol str
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    https_redirect_enabled bool

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    link_to_default_domain bool
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    name str
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorEndpointId String
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorOriginGroupId String
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    cdnFrontdoorOriginIds List<String>
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    patternsToMatches List<String>
    The route patterns of the rule.
    supportedProtocols List<String>

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    cache Property Map

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    cdnFrontdoorCustomDomainIds List<String>
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    cdnFrontdoorOriginPath String
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    cdnFrontdoorRuleSetIds List<String>
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    enabled Boolean
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    forwardingProtocol String
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    httpsRedirectEnabled Boolean

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    linkToDefaultDomain Boolean
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    name String
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FrontdoorRoute resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FrontdoorRoute Resource

    Get an existing FrontdoorRoute resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FrontdoorRouteState, opts?: CustomResourceOptions): FrontdoorRoute
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cache: Optional[FrontdoorRouteCacheArgs] = None,
            cdn_frontdoor_custom_domain_ids: Optional[Sequence[str]] = None,
            cdn_frontdoor_endpoint_id: Optional[str] = None,
            cdn_frontdoor_origin_group_id: Optional[str] = None,
            cdn_frontdoor_origin_ids: Optional[Sequence[str]] = None,
            cdn_frontdoor_origin_path: Optional[str] = None,
            cdn_frontdoor_rule_set_ids: Optional[Sequence[str]] = None,
            enabled: Optional[bool] = None,
            forwarding_protocol: Optional[str] = None,
            https_redirect_enabled: Optional[bool] = None,
            link_to_default_domain: Optional[bool] = None,
            name: Optional[str] = None,
            patterns_to_matches: Optional[Sequence[str]] = None,
            supported_protocols: Optional[Sequence[str]] = None) -> FrontdoorRoute
    func GetFrontdoorRoute(ctx *Context, name string, id IDInput, state *FrontdoorRouteState, opts ...ResourceOption) (*FrontdoorRoute, error)
    public static FrontdoorRoute Get(string name, Input<string> id, FrontdoorRouteState? state, CustomResourceOptions? opts = null)
    public static FrontdoorRoute get(String name, Output<String> id, FrontdoorRouteState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Cache FrontdoorRouteCache

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    CdnFrontdoorCustomDomainIds List<string>
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    CdnFrontdoorEndpointId string
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    CdnFrontdoorOriginGroupId string
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    CdnFrontdoorOriginIds List<string>
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    CdnFrontdoorOriginPath string
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    CdnFrontdoorRuleSetIds List<string>
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    Enabled bool
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    ForwardingProtocol string
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    HttpsRedirectEnabled bool

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    LinkToDefaultDomain bool
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    Name string
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    PatternsToMatches List<string>
    The route patterns of the rule.
    SupportedProtocols List<string>

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    Cache FrontdoorRouteCacheArgs

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    CdnFrontdoorCustomDomainIds []string
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    CdnFrontdoorEndpointId string
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    CdnFrontdoorOriginGroupId string
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    CdnFrontdoorOriginIds []string
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    CdnFrontdoorOriginPath string
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    CdnFrontdoorRuleSetIds []string
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    Enabled bool
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    ForwardingProtocol string
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    HttpsRedirectEnabled bool

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    LinkToDefaultDomain bool
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    Name string
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    PatternsToMatches []string
    The route patterns of the rule.
    SupportedProtocols []string

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    cache FrontdoorRouteCache

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    cdnFrontdoorCustomDomainIds List<String>
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    cdnFrontdoorEndpointId String
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorOriginGroupId String
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    cdnFrontdoorOriginIds List<String>
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    cdnFrontdoorOriginPath String
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    cdnFrontdoorRuleSetIds List<String>
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    enabled Boolean
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    forwardingProtocol String
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    httpsRedirectEnabled Boolean

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    linkToDefaultDomain Boolean
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    name String
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    patternsToMatches List<String>
    The route patterns of the rule.
    supportedProtocols List<String>

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    cache FrontdoorRouteCache

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    cdnFrontdoorCustomDomainIds string[]
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    cdnFrontdoorEndpointId string
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorOriginGroupId string
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    cdnFrontdoorOriginIds string[]
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    cdnFrontdoorOriginPath string
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    cdnFrontdoorRuleSetIds string[]
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    enabled boolean
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    forwardingProtocol string
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    httpsRedirectEnabled boolean

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    linkToDefaultDomain boolean
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    name string
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    patternsToMatches string[]
    The route patterns of the rule.
    supportedProtocols string[]

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    cache FrontdoorRouteCacheArgs

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    cdn_frontdoor_custom_domain_ids Sequence[str]
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    cdn_frontdoor_endpoint_id str
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    cdn_frontdoor_origin_group_id str
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    cdn_frontdoor_origin_ids Sequence[str]
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    cdn_frontdoor_origin_path str
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    cdn_frontdoor_rule_set_ids Sequence[str]
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    enabled bool
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    forwarding_protocol str
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    https_redirect_enabled bool

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    link_to_default_domain bool
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    name str
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    patterns_to_matches Sequence[str]
    The route patterns of the rule.
    supported_protocols Sequence[str]

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    cache Property Map

    A cache block as defined below.

    NOTE: To disable caching, do not provide the cache block in the configuration file.

    cdnFrontdoorCustomDomainIds List<String>
    The IDs of the Front Door Custom Domains which are associated with this Front Door Route.
    cdnFrontdoorEndpointId String
    The resource ID of the Front Door Endpoint where this Front Door Route should exist. Changing this forces a new Front Door Route to be created.
    cdnFrontdoorOriginGroupId String
    The resource ID of the Front Door Origin Group where this Front Door Route should be created.
    cdnFrontdoorOriginIds List<String>
    One or more Front Door Origin resource IDs that this Front Door Route will link to.
    cdnFrontdoorOriginPath String
    A directory path on the Front Door Origin that can be used to retrieve content (e.g. contoso.cloudapp.net/originpath).
    cdnFrontdoorRuleSetIds List<String>
    A list of the Front Door Rule Set IDs which should be assigned to this Front Door Route.
    enabled Boolean
    Is this Front Door Route enabled? Possible values are true or false. Defaults to true.
    forwardingProtocol String
    The Protocol that will be use when forwarding traffic to backends. Possible values are HttpOnly, HttpsOnly or MatchRequest. Defaults to MatchRequest.
    httpsRedirectEnabled Boolean

    Automatically redirect HTTP traffic to HTTPS traffic? Possible values are true or false. Defaults to true.

    NOTE: The https_redirect_enabled rule is the first rule that will be executed.

    linkToDefaultDomain Boolean
    Should this Front Door Route be linked to the default endpoint? Possible values include true or false. Defaults to true.
    name String
    The name which should be used for this Front Door Route. Valid values must begin with a letter or number, end with a letter or number and may only contain letters, numbers and hyphens with a maximum length of 90 characters. Changing this forces a new Front Door Route to be created.
    patternsToMatches List<String>
    The route patterns of the rule.
    supportedProtocols List<String>

    One or more Protocols supported by this Front Door Route. Possible values are Http or Https.

    NOTE: If https_redirect_enabled is set to true the supported_protocols field must contain both Http and Https values.

    Supporting Types

    FrontdoorRouteCache, FrontdoorRouteCacheArgs

    CompressionEnabled bool

    Is content compression enabled? Possible values are true or false. Defaults to false.

    NOTE: Content won't be compressed when the requested content is smaller than 1 KB or larger than 8 MB(inclusive).

    ContentTypesToCompresses List<string>
    A list of one or more Content types (formerly known as MIME types) to compress. Possible values include application/eot, application/font, application/font-sfnt, application/javascript, application/json, application/opentype, application/otf, application/pkcs7-mime, application/truetype, application/ttf, application/vnd.ms-fontobject, application/xhtml+xml, application/xml, application/xml+rss, application/x-font-opentype, application/x-font-truetype, application/x-font-ttf, application/x-httpd-cgi, application/x-mpegurl, application/x-opentype, application/x-otf, application/x-perl, application/x-ttf, application/x-javascript, font/eot, font/ttf, font/otf, font/opentype, image/svg+xml, text/css, text/csv, text/html, text/javascript, text/js, text/plain, text/richtext, text/tab-separated-values, text/xml, text/x-script, text/x-component or text/x-java-source.
    QueryStringCachingBehavior string

    Defines how the Front Door Route will cache requests that include query strings. Possible values include IgnoreQueryString, IgnoreSpecifiedQueryStrings, IncludeSpecifiedQueryStrings or UseQueryString. Defaults to IgnoreQueryString.

    NOTE: The value of the query_string_caching_behavior determines if the query_strings field will be used as an include list or an ignore list.

    QueryStrings List<string>
    Query strings to include or ignore.
    CompressionEnabled bool

    Is content compression enabled? Possible values are true or false. Defaults to false.

    NOTE: Content won't be compressed when the requested content is smaller than 1 KB or larger than 8 MB(inclusive).

    ContentTypesToCompresses []string
    A list of one or more Content types (formerly known as MIME types) to compress. Possible values include application/eot, application/font, application/font-sfnt, application/javascript, application/json, application/opentype, application/otf, application/pkcs7-mime, application/truetype, application/ttf, application/vnd.ms-fontobject, application/xhtml+xml, application/xml, application/xml+rss, application/x-font-opentype, application/x-font-truetype, application/x-font-ttf, application/x-httpd-cgi, application/x-mpegurl, application/x-opentype, application/x-otf, application/x-perl, application/x-ttf, application/x-javascript, font/eot, font/ttf, font/otf, font/opentype, image/svg+xml, text/css, text/csv, text/html, text/javascript, text/js, text/plain, text/richtext, text/tab-separated-values, text/xml, text/x-script, text/x-component or text/x-java-source.
    QueryStringCachingBehavior string

    Defines how the Front Door Route will cache requests that include query strings. Possible values include IgnoreQueryString, IgnoreSpecifiedQueryStrings, IncludeSpecifiedQueryStrings or UseQueryString. Defaults to IgnoreQueryString.

    NOTE: The value of the query_string_caching_behavior determines if the query_strings field will be used as an include list or an ignore list.

    QueryStrings []string
    Query strings to include or ignore.
    compressionEnabled Boolean

    Is content compression enabled? Possible values are true or false. Defaults to false.

    NOTE: Content won't be compressed when the requested content is smaller than 1 KB or larger than 8 MB(inclusive).

    contentTypesToCompresses List<String>
    A list of one or more Content types (formerly known as MIME types) to compress. Possible values include application/eot, application/font, application/font-sfnt, application/javascript, application/json, application/opentype, application/otf, application/pkcs7-mime, application/truetype, application/ttf, application/vnd.ms-fontobject, application/xhtml+xml, application/xml, application/xml+rss, application/x-font-opentype, application/x-font-truetype, application/x-font-ttf, application/x-httpd-cgi, application/x-mpegurl, application/x-opentype, application/x-otf, application/x-perl, application/x-ttf, application/x-javascript, font/eot, font/ttf, font/otf, font/opentype, image/svg+xml, text/css, text/csv, text/html, text/javascript, text/js, text/plain, text/richtext, text/tab-separated-values, text/xml, text/x-script, text/x-component or text/x-java-source.
    queryStringCachingBehavior String

    Defines how the Front Door Route will cache requests that include query strings. Possible values include IgnoreQueryString, IgnoreSpecifiedQueryStrings, IncludeSpecifiedQueryStrings or UseQueryString. Defaults to IgnoreQueryString.

    NOTE: The value of the query_string_caching_behavior determines if the query_strings field will be used as an include list or an ignore list.

    queryStrings List<String>
    Query strings to include or ignore.
    compressionEnabled boolean

    Is content compression enabled? Possible values are true or false. Defaults to false.

    NOTE: Content won't be compressed when the requested content is smaller than 1 KB or larger than 8 MB(inclusive).

    contentTypesToCompresses string[]
    A list of one or more Content types (formerly known as MIME types) to compress. Possible values include application/eot, application/font, application/font-sfnt, application/javascript, application/json, application/opentype, application/otf, application/pkcs7-mime, application/truetype, application/ttf, application/vnd.ms-fontobject, application/xhtml+xml, application/xml, application/xml+rss, application/x-font-opentype, application/x-font-truetype, application/x-font-ttf, application/x-httpd-cgi, application/x-mpegurl, application/x-opentype, application/x-otf, application/x-perl, application/x-ttf, application/x-javascript, font/eot, font/ttf, font/otf, font/opentype, image/svg+xml, text/css, text/csv, text/html, text/javascript, text/js, text/plain, text/richtext, text/tab-separated-values, text/xml, text/x-script, text/x-component or text/x-java-source.
    queryStringCachingBehavior string

    Defines how the Front Door Route will cache requests that include query strings. Possible values include IgnoreQueryString, IgnoreSpecifiedQueryStrings, IncludeSpecifiedQueryStrings or UseQueryString. Defaults to IgnoreQueryString.

    NOTE: The value of the query_string_caching_behavior determines if the query_strings field will be used as an include list or an ignore list.

    queryStrings string[]
    Query strings to include or ignore.
    compression_enabled bool

    Is content compression enabled? Possible values are true or false. Defaults to false.

    NOTE: Content won't be compressed when the requested content is smaller than 1 KB or larger than 8 MB(inclusive).

    content_types_to_compresses Sequence[str]
    A list of one or more Content types (formerly known as MIME types) to compress. Possible values include application/eot, application/font, application/font-sfnt, application/javascript, application/json, application/opentype, application/otf, application/pkcs7-mime, application/truetype, application/ttf, application/vnd.ms-fontobject, application/xhtml+xml, application/xml, application/xml+rss, application/x-font-opentype, application/x-font-truetype, application/x-font-ttf, application/x-httpd-cgi, application/x-mpegurl, application/x-opentype, application/x-otf, application/x-perl, application/x-ttf, application/x-javascript, font/eot, font/ttf, font/otf, font/opentype, image/svg+xml, text/css, text/csv, text/html, text/javascript, text/js, text/plain, text/richtext, text/tab-separated-values, text/xml, text/x-script, text/x-component or text/x-java-source.
    query_string_caching_behavior str

    Defines how the Front Door Route will cache requests that include query strings. Possible values include IgnoreQueryString, IgnoreSpecifiedQueryStrings, IncludeSpecifiedQueryStrings or UseQueryString. Defaults to IgnoreQueryString.

    NOTE: The value of the query_string_caching_behavior determines if the query_strings field will be used as an include list or an ignore list.

    query_strings Sequence[str]
    Query strings to include or ignore.
    compressionEnabled Boolean

    Is content compression enabled? Possible values are true or false. Defaults to false.

    NOTE: Content won't be compressed when the requested content is smaller than 1 KB or larger than 8 MB(inclusive).

    contentTypesToCompresses List<String>
    A list of one or more Content types (formerly known as MIME types) to compress. Possible values include application/eot, application/font, application/font-sfnt, application/javascript, application/json, application/opentype, application/otf, application/pkcs7-mime, application/truetype, application/ttf, application/vnd.ms-fontobject, application/xhtml+xml, application/xml, application/xml+rss, application/x-font-opentype, application/x-font-truetype, application/x-font-ttf, application/x-httpd-cgi, application/x-mpegurl, application/x-opentype, application/x-otf, application/x-perl, application/x-ttf, application/x-javascript, font/eot, font/ttf, font/otf, font/opentype, image/svg+xml, text/css, text/csv, text/html, text/javascript, text/js, text/plain, text/richtext, text/tab-separated-values, text/xml, text/x-script, text/x-component or text/x-java-source.
    queryStringCachingBehavior String

    Defines how the Front Door Route will cache requests that include query strings. Possible values include IgnoreQueryString, IgnoreSpecifiedQueryStrings, IncludeSpecifiedQueryStrings or UseQueryString. Defaults to IgnoreQueryString.

    NOTE: The value of the query_string_caching_behavior determines if the query_strings field will be used as an include list or an ignore list.

    queryStrings List<String>
    Query strings to include or ignore.

    Import

    Front Door Routes can be imported using the resource id, e.g.

    $ pulumi import azure:cdn/frontdoorRoute:FrontdoorRoute example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/afdEndpoints/endpoint1/routes/route1
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi