Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.14.0 published on Thursday, Jul 28, 2022 by Pulumi

Frontdoor

Manages an Azure Front Door instance.

Azure Front Door Service is Microsoft’s highly available and scalable web application acceleration platform and global HTTP(S) load balancer. It provides built-in DDoS protection and application layer security and caching. Front Door enables you to build applications that maximize and automate high-availability and performance for your end-users. Use Front Door with Azure services including Web/Mobile Apps, Cloud Services and Virtual Machines – or combine it with on-premises services for hybrid deployments and smooth cloud migration.

Below are some of the key scenarios that Azure Front Door Service addresses:

  • Use Front Door to improve application scale and availability with instant multi-region failover
  • Use Front Door to improve application performance with SSL offload and routing requests to the fastest available application backend.
  • Use Front Door for application layer security and DDoS protection for your application.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
        {
            Location = "West Europe",
        });
        var exampleFrontdoor = new Azure.FrontDoor.Frontdoor("exampleFrontdoor", new Azure.FrontDoor.FrontdoorArgs
        {
            ResourceGroupName = exampleResourceGroup.Name,
            RoutingRules = 
            {
                new Azure.FrontDoor.Inputs.FrontdoorRoutingRuleArgs
                {
                    Name = "exampleRoutingRule1",
                    AcceptedProtocols = 
                    {
                        "Http",
                        "Https",
                    },
                    PatternsToMatches = 
                    {
                        "/*",
                    },
                    FrontendEndpoints = 
                    {
                        "exampleFrontendEndpoint1",
                    },
                    ForwardingConfiguration = new Azure.FrontDoor.Inputs.FrontdoorRoutingRuleForwardingConfigurationArgs
                    {
                        ForwardingProtocol = "MatchRequest",
                        BackendPoolName = "exampleBackendBing",
                    },
                },
            },
            BackendPoolLoadBalancings = 
            {
                new Azure.FrontDoor.Inputs.FrontdoorBackendPoolLoadBalancingArgs
                {
                    Name = "exampleLoadBalancingSettings1",
                },
            },
            BackendPoolHealthProbes = 
            {
                new Azure.FrontDoor.Inputs.FrontdoorBackendPoolHealthProbeArgs
                {
                    Name = "exampleHealthProbeSetting1",
                },
            },
            BackendPools = 
            {
                new Azure.FrontDoor.Inputs.FrontdoorBackendPoolArgs
                {
                    Name = "exampleBackendBing",
                    Backends = 
                    {
                        new Azure.FrontDoor.Inputs.FrontdoorBackendPoolBackendArgs
                        {
                            HostHeader = "www.bing.com",
                            Address = "www.bing.com",
                            HttpPort = 80,
                            HttpsPort = 443,
                        },
                    },
                    LoadBalancingName = "exampleLoadBalancingSettings1",
                    HealthProbeName = "exampleHealthProbeSetting1",
                },
            },
            FrontendEndpoints = 
            {
                new Azure.FrontDoor.Inputs.FrontdoorFrontendEndpointArgs
                {
                    Name = "exampleFrontendEndpoint1",
                    HostName = "example-FrontDoor.azurefd.net",
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/frontdoor"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = frontdoor.NewFrontdoor(ctx, "exampleFrontdoor", &frontdoor.FrontdoorArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			RoutingRules: frontdoor.FrontdoorRoutingRuleArray{
				&frontdoor.FrontdoorRoutingRuleArgs{
					Name: pulumi.String("exampleRoutingRule1"),
					AcceptedProtocols: pulumi.StringArray{
						pulumi.String("Http"),
						pulumi.String("Https"),
					},
					PatternsToMatches: pulumi.StringArray{
						pulumi.String("/*"),
					},
					FrontendEndpoints: pulumi.StringArray{
						pulumi.String("exampleFrontendEndpoint1"),
					},
					ForwardingConfiguration: &frontdoor.FrontdoorRoutingRuleForwardingConfigurationArgs{
						ForwardingProtocol: pulumi.String("MatchRequest"),
						BackendPoolName:    pulumi.String("exampleBackendBing"),
					},
				},
			},
			BackendPoolLoadBalancings: frontdoor.FrontdoorBackendPoolLoadBalancingArray{
				&frontdoor.FrontdoorBackendPoolLoadBalancingArgs{
					Name: pulumi.String("exampleLoadBalancingSettings1"),
				},
			},
			BackendPoolHealthProbes: frontdoor.FrontdoorBackendPoolHealthProbeArray{
				&frontdoor.FrontdoorBackendPoolHealthProbeArgs{
					Name: pulumi.String("exampleHealthProbeSetting1"),
				},
			},
			BackendPools: frontdoor.FrontdoorBackendPoolArray{
				&frontdoor.FrontdoorBackendPoolArgs{
					Name: pulumi.String("exampleBackendBing"),
					Backends: frontdoor.FrontdoorBackendPoolBackendArray{
						&frontdoor.FrontdoorBackendPoolBackendArgs{
							HostHeader: pulumi.String("www.bing.com"),
							Address:    pulumi.String("www.bing.com"),
							HttpPort:   pulumi.Int(80),
							HttpsPort:  pulumi.Int(443),
						},
					},
					LoadBalancingName: pulumi.String("exampleLoadBalancingSettings1"),
					HealthProbeName:   pulumi.String("exampleHealthProbeSetting1"),
				},
			},
			FrontendEndpoints: frontdoor.FrontdoorFrontendEndpointArray{
				&frontdoor.FrontdoorFrontendEndpointArgs{
					Name:     pulumi.String("exampleFrontendEndpoint1"),
					HostName: pulumi.String("example-FrontDoor.azurefd.net"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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.frontdoor.Frontdoor;
import com.pulumi.azure.frontdoor.FrontdoorArgs;
import com.pulumi.azure.frontdoor.inputs.FrontdoorRoutingRuleArgs;
import com.pulumi.azure.frontdoor.inputs.FrontdoorRoutingRuleForwardingConfigurationArgs;
import com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolLoadBalancingArgs;
import com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolHealthProbeArgs;
import com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolArgs;
import com.pulumi.azure.frontdoor.inputs.FrontdoorFrontendEndpointArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleFrontdoor = new Frontdoor("exampleFrontdoor", FrontdoorArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .routingRules(FrontdoorRoutingRuleArgs.builder()
                .name("exampleRoutingRule1")
                .acceptedProtocols(                
                    "Http",
                    "Https")
                .patternsToMatches("/*")
                .frontendEndpoints("exampleFrontendEndpoint1")
                .forwardingConfiguration(FrontdoorRoutingRuleForwardingConfigurationArgs.builder()
                    .forwardingProtocol("MatchRequest")
                    .backendPoolName("exampleBackendBing")
                    .build())
                .build())
            .backendPoolLoadBalancings(FrontdoorBackendPoolLoadBalancingArgs.builder()
                .name("exampleLoadBalancingSettings1")
                .build())
            .backendPoolHealthProbes(FrontdoorBackendPoolHealthProbeArgs.builder()
                .name("exampleHealthProbeSetting1")
                .build())
            .backendPools(FrontdoorBackendPoolArgs.builder()
                .name("exampleBackendBing")
                .backends(FrontdoorBackendPoolBackendArgs.builder()
                    .hostHeader("www.bing.com")
                    .address("www.bing.com")
                    .httpPort(80)
                    .httpsPort(443)
                    .build())
                .loadBalancingName("exampleLoadBalancingSettings1")
                .healthProbeName("exampleHealthProbeSetting1")
                .build())
            .frontendEndpoints(FrontdoorFrontendEndpointArgs.builder()
                .name("exampleFrontendEndpoint1")
                .hostName("example-FrontDoor.azurefd.net")
                .build())
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_frontdoor = azure.frontdoor.Frontdoor("exampleFrontdoor",
    resource_group_name=example_resource_group.name,
    routing_rules=[azure.frontdoor.FrontdoorRoutingRuleArgs(
        name="exampleRoutingRule1",
        accepted_protocols=[
            "Http",
            "Https",
        ],
        patterns_to_matches=["/*"],
        frontend_endpoints=["exampleFrontendEndpoint1"],
        forwarding_configuration=azure.frontdoor.FrontdoorRoutingRuleForwardingConfigurationArgs(
            forwarding_protocol="MatchRequest",
            backend_pool_name="exampleBackendBing",
        ),
    )],
    backend_pool_load_balancings=[azure.frontdoor.FrontdoorBackendPoolLoadBalancingArgs(
        name="exampleLoadBalancingSettings1",
    )],
    backend_pool_health_probes=[azure.frontdoor.FrontdoorBackendPoolHealthProbeArgs(
        name="exampleHealthProbeSetting1",
    )],
    backend_pools=[azure.frontdoor.FrontdoorBackendPoolArgs(
        name="exampleBackendBing",
        backends=[azure.frontdoor.FrontdoorBackendPoolBackendArgs(
            host_header="www.bing.com",
            address="www.bing.com",
            http_port=80,
            https_port=443,
        )],
        load_balancing_name="exampleLoadBalancingSettings1",
        health_probe_name="exampleHealthProbeSetting1",
    )],
    frontend_endpoints=[azure.frontdoor.FrontdoorFrontendEndpointArgs(
        name="exampleFrontendEndpoint1",
        host_name="example-FrontDoor.azurefd.net",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleFrontdoor = new azure.frontdoor.Frontdoor("exampleFrontdoor", {
    resourceGroupName: exampleResourceGroup.name,
    routingRules: [{
        name: "exampleRoutingRule1",
        acceptedProtocols: [
            "Http",
            "Https",
        ],
        patternsToMatches: ["/*"],
        frontendEndpoints: ["exampleFrontendEndpoint1"],
        forwardingConfiguration: {
            forwardingProtocol: "MatchRequest",
            backendPoolName: "exampleBackendBing",
        },
    }],
    backendPoolLoadBalancings: [{
        name: "exampleLoadBalancingSettings1",
    }],
    backendPoolHealthProbes: [{
        name: "exampleHealthProbeSetting1",
    }],
    backendPools: [{
        name: "exampleBackendBing",
        backends: [{
            hostHeader: "www.bing.com",
            address: "www.bing.com",
            httpPort: 80,
            httpsPort: 443,
        }],
        loadBalancingName: "exampleLoadBalancingSettings1",
        healthProbeName: "exampleHealthProbeSetting1",
    }],
    frontendEndpoints: [{
        name: "exampleFrontendEndpoint1",
        hostName: "example-FrontDoor.azurefd.net",
    }],
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleFrontdoor:
    type: azure:frontdoor:Frontdoor
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      routingRules:
        - name: exampleRoutingRule1
          acceptedProtocols:
            - Http
            - Https
          patternsToMatches:
            - /*
          frontendEndpoints:
            - exampleFrontendEndpoint1
          forwardingConfiguration:
            forwardingProtocol: MatchRequest
            backendPoolName: exampleBackendBing
      backendPoolLoadBalancings:
        - name: exampleLoadBalancingSettings1
      backendPoolHealthProbes:
        - name: exampleHealthProbeSetting1
      backendPools:
        - name: exampleBackendBing
          backends:
            - hostHeader: www.bing.com
              address: www.bing.com
              httpPort: 80
              httpsPort: 443
          loadBalancingName: exampleLoadBalancingSettings1
          healthProbeName: exampleHealthProbeSetting1
      frontendEndpoints:
        - name: exampleFrontendEndpoint1
          hostName: example-FrontDoor.azurefd.net

Create a Frontdoor Resource

new Frontdoor(name: string, args: FrontdoorArgs, opts?: CustomResourceOptions);
@overload
def Frontdoor(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              backend_pool_health_probes: Optional[Sequence[FrontdoorBackendPoolHealthProbeArgs]] = None,
              backend_pool_load_balancings: Optional[Sequence[FrontdoorBackendPoolLoadBalancingArgs]] = None,
              backend_pool_settings: Optional[Sequence[FrontdoorBackendPoolSettingArgs]] = None,
              backend_pools: Optional[Sequence[FrontdoorBackendPoolArgs]] = None,
              friendly_name: Optional[str] = None,
              frontend_endpoints: Optional[Sequence[FrontdoorFrontendEndpointArgs]] = None,
              load_balancer_enabled: Optional[bool] = None,
              name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              routing_rules: Optional[Sequence[FrontdoorRoutingRuleArgs]] = None,
              tags: Optional[Mapping[str, str]] = None)
@overload
def Frontdoor(resource_name: str,
              args: FrontdoorArgs,
              opts: Optional[ResourceOptions] = None)
func NewFrontdoor(ctx *Context, name string, args FrontdoorArgs, opts ...ResourceOption) (*Frontdoor, error)
public Frontdoor(string name, FrontdoorArgs args, CustomResourceOptions? opts = null)
public Frontdoor(String name, FrontdoorArgs args)
public Frontdoor(String name, FrontdoorArgs args, CustomResourceOptions options)
type: azure:frontdoor:Frontdoor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FrontdoorArgs
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 FrontdoorArgs
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 FrontdoorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FrontdoorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FrontdoorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Frontdoor 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 Frontdoor resource accepts the following input properties:

BackendPoolHealthProbes List<FrontdoorBackendPoolHealthProbeArgs>

A backend_pool_health_probe block as defined below.

BackendPoolLoadBalancings List<FrontdoorBackendPoolLoadBalancingArgs>

A backend_pool_load_balancing block as defined below.

BackendPools List<FrontdoorBackendPoolArgs>

A backend_pool block as defined below.

FrontendEndpoints List<FrontdoorFrontendEndpointArgs>

A frontend_endpoint block as defined below.

ResourceGroupName string

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

RoutingRules List<FrontdoorRoutingRuleArgs>

A routing_rule block as defined below.

BackendPoolSettings List<FrontdoorBackendPoolSettingArgs>
FriendlyName string

A friendly name for the Front Door service.

LoadBalancerEnabled bool

Should the Front Door Load Balancer be Enabled? Defaults to true.

Name string

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

BackendPoolHealthProbes []FrontdoorBackendPoolHealthProbeArgs

A backend_pool_health_probe block as defined below.

BackendPoolLoadBalancings []FrontdoorBackendPoolLoadBalancingArgs

A backend_pool_load_balancing block as defined below.

BackendPools []FrontdoorBackendPoolArgs

A backend_pool block as defined below.

FrontendEndpoints []FrontdoorFrontendEndpointArgs

A frontend_endpoint block as defined below.

ResourceGroupName string

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

RoutingRules []FrontdoorRoutingRuleArgs

A routing_rule block as defined below.

BackendPoolSettings []FrontdoorBackendPoolSettingArgs
FriendlyName string

A friendly name for the Front Door service.

LoadBalancerEnabled bool

Should the Front Door Load Balancer be Enabled? Defaults to true.

Name string

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

backendPoolHealthProbes List<FrontdoorBackendPoolHealthProbeArgs>

A backend_pool_health_probe block as defined below.

backendPoolLoadBalancings List<FrontdoorBackendPoolLoadBalancingArgs>

A backend_pool_load_balancing block as defined below.

backendPools List<FrontdoorBackendPoolArgs>

A backend_pool block as defined below.

frontendEndpoints List<FrontdoorFrontendEndpointArgs>

A frontend_endpoint block as defined below.

resourceGroupName String

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

routingRules List<FrontdoorRoutingRuleArgs>

A routing_rule block as defined below.

backendPoolSettings List<FrontdoorBackendPoolSettingArgs>
friendlyName String

A friendly name for the Front Door service.

loadBalancerEnabled Boolean

Should the Front Door Load Balancer be Enabled? Defaults to true.

name String

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

tags Map<String,String>

A mapping of tags to assign to the resource.

backendPoolHealthProbes FrontdoorBackendPoolHealthProbeArgs[]

A backend_pool_health_probe block as defined below.

backendPoolLoadBalancings FrontdoorBackendPoolLoadBalancingArgs[]

A backend_pool_load_balancing block as defined below.

backendPools FrontdoorBackendPoolArgs[]

A backend_pool block as defined below.

frontendEndpoints FrontdoorFrontendEndpointArgs[]

A frontend_endpoint block as defined below.

resourceGroupName string

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

routingRules FrontdoorRoutingRuleArgs[]

A routing_rule block as defined below.

backendPoolSettings FrontdoorBackendPoolSettingArgs[]
friendlyName string

A friendly name for the Front Door service.

loadBalancerEnabled boolean

Should the Front Door Load Balancer be Enabled? Defaults to true.

name string

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

backend_pool_health_probes Sequence[FrontdoorBackendPoolHealthProbeArgs]

A backend_pool_health_probe block as defined below.

backend_pool_load_balancings Sequence[FrontdoorBackendPoolLoadBalancingArgs]

A backend_pool_load_balancing block as defined below.

backend_pools Sequence[FrontdoorBackendPoolArgs]

A backend_pool block as defined below.

frontend_endpoints Sequence[FrontdoorFrontendEndpointArgs]

A frontend_endpoint block as defined below.

resource_group_name str

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

routing_rules Sequence[FrontdoorRoutingRuleArgs]

A routing_rule block as defined below.

backend_pool_settings Sequence[FrontdoorBackendPoolSettingArgs]
friendly_name str

A friendly name for the Front Door service.

load_balancer_enabled bool

Should the Front Door Load Balancer be Enabled? Defaults to true.

name str

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

backendPoolHealthProbes List<Property Map>

A backend_pool_health_probe block as defined below.

backendPoolLoadBalancings List<Property Map>

A backend_pool_load_balancing block as defined below.

backendPools List<Property Map>

A backend_pool block as defined below.

frontendEndpoints List<Property Map>

A frontend_endpoint block as defined below.

resourceGroupName String

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

routingRules List<Property Map>

A routing_rule block as defined below.

backendPoolSettings List<Property Map>
friendlyName String

A friendly name for the Front Door service.

loadBalancerEnabled Boolean

Should the Front Door Load Balancer be Enabled? Defaults to true.

name String

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

tags Map<String>

A mapping of tags to assign to the resource.

Outputs

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

BackendPoolHealthProbesMap Dictionary<string, string>

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

BackendPoolLoadBalancingSettingsMap Dictionary<string, string>

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

BackendPoolsMap Dictionary<string, string>

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

Cname string

The host that each frontendEndpoint must CNAME to.

ExplicitResourceOrders List<FrontdoorExplicitResourceOrder>
FrontendEndpointsMap Dictionary<string, string>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

HeaderFrontdoorId string

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

Id string

The provider-assigned unique ID for this managed resource.

RoutingRulesMap Dictionary<string, string>

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

BackendPoolHealthProbesMap map[string]string

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

BackendPoolLoadBalancingSettingsMap map[string]string

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

BackendPoolsMap map[string]string

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

Cname string

The host that each frontendEndpoint must CNAME to.

ExplicitResourceOrders []FrontdoorExplicitResourceOrder
FrontendEndpointsMap map[string]string

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

HeaderFrontdoorId string

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

Id string

The provider-assigned unique ID for this managed resource.

RoutingRulesMap map[string]string

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

backendPoolHealthProbesMap Map<String,String>

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

backendPoolLoadBalancingSettingsMap Map<String,String>

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

backendPoolsMap Map<String,String>

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

cname String

The host that each frontendEndpoint must CNAME to.

explicitResourceOrders List<FrontdoorExplicitResourceOrder>
frontendEndpointsMap Map<String,String>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

headerFrontdoorId String

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

id String

The provider-assigned unique ID for this managed resource.

routingRulesMap Map<String,String>

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

backendPoolHealthProbesMap {[key: string]: string}

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

backendPoolLoadBalancingSettingsMap {[key: string]: string}

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

backendPoolsMap {[key: string]: string}

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

cname string

The host that each frontendEndpoint must CNAME to.

explicitResourceOrders FrontdoorExplicitResourceOrder[]
frontendEndpointsMap {[key: string]: string}

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

headerFrontdoorId string

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

id string

The provider-assigned unique ID for this managed resource.

routingRulesMap {[key: string]: string}

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

backend_pool_health_probes_map Mapping[str, str]

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

backend_pool_load_balancing_settings_map Mapping[str, str]

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

backend_pools_map Mapping[str, str]

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

cname str

The host that each frontendEndpoint must CNAME to.

explicit_resource_orders Sequence[FrontdoorExplicitResourceOrder]
frontend_endpoints_map Mapping[str, str]

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

header_frontdoor_id str

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

id str

The provider-assigned unique ID for this managed resource.

routing_rules_map Mapping[str, str]

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

backendPoolHealthProbesMap Map<String>

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

backendPoolLoadBalancingSettingsMap Map<String>

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

backendPoolsMap Map<String>

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

cname String

The host that each frontendEndpoint must CNAME to.

explicitResourceOrders List<Property Map>
frontendEndpointsMap Map<String>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

headerFrontdoorId String

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

id String

The provider-assigned unique ID for this managed resource.

routingRulesMap Map<String>

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

Look up an Existing Frontdoor Resource

Get an existing Frontdoor 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?: FrontdoorState, opts?: CustomResourceOptions): Frontdoor
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        backend_pool_health_probes: Optional[Sequence[FrontdoorBackendPoolHealthProbeArgs]] = None,
        backend_pool_health_probes_map: Optional[Mapping[str, str]] = None,
        backend_pool_load_balancing_settings_map: Optional[Mapping[str, str]] = None,
        backend_pool_load_balancings: Optional[Sequence[FrontdoorBackendPoolLoadBalancingArgs]] = None,
        backend_pool_settings: Optional[Sequence[FrontdoorBackendPoolSettingArgs]] = None,
        backend_pools: Optional[Sequence[FrontdoorBackendPoolArgs]] = None,
        backend_pools_map: Optional[Mapping[str, str]] = None,
        cname: Optional[str] = None,
        explicit_resource_orders: Optional[Sequence[FrontdoorExplicitResourceOrderArgs]] = None,
        friendly_name: Optional[str] = None,
        frontend_endpoints: Optional[Sequence[FrontdoorFrontendEndpointArgs]] = None,
        frontend_endpoints_map: Optional[Mapping[str, str]] = None,
        header_frontdoor_id: Optional[str] = None,
        load_balancer_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        routing_rules: Optional[Sequence[FrontdoorRoutingRuleArgs]] = None,
        routing_rules_map: Optional[Mapping[str, str]] = None,
        tags: Optional[Mapping[str, str]] = None) -> Frontdoor
func GetFrontdoor(ctx *Context, name string, id IDInput, state *FrontdoorState, opts ...ResourceOption) (*Frontdoor, error)
public static Frontdoor Get(string name, Input<string> id, FrontdoorState? state, CustomResourceOptions? opts = null)
public static Frontdoor get(String name, Output<String> id, FrontdoorState 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:
BackendPoolHealthProbes List<FrontdoorBackendPoolHealthProbeArgs>

A backend_pool_health_probe block as defined below.

BackendPoolHealthProbesMap Dictionary<string, string>

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

BackendPoolLoadBalancingSettingsMap Dictionary<string, string>

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

BackendPoolLoadBalancings List<FrontdoorBackendPoolLoadBalancingArgs>

A backend_pool_load_balancing block as defined below.

BackendPoolSettings List<FrontdoorBackendPoolSettingArgs>
BackendPools List<FrontdoorBackendPoolArgs>

A backend_pool block as defined below.

BackendPoolsMap Dictionary<string, string>

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

Cname string

The host that each frontendEndpoint must CNAME to.

ExplicitResourceOrders List<FrontdoorExplicitResourceOrderArgs>
FriendlyName string

A friendly name for the Front Door service.

FrontendEndpoints List<FrontdoorFrontendEndpointArgs>

A frontend_endpoint block as defined below.

FrontendEndpointsMap Dictionary<string, string>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

HeaderFrontdoorId string

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

LoadBalancerEnabled bool

Should the Front Door Load Balancer be Enabled? Defaults to true.

Name string

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

ResourceGroupName string

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

RoutingRules List<FrontdoorRoutingRuleArgs>

A routing_rule block as defined below.

RoutingRulesMap Dictionary<string, string>

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

BackendPoolHealthProbes []FrontdoorBackendPoolHealthProbeArgs

A backend_pool_health_probe block as defined below.

BackendPoolHealthProbesMap map[string]string

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

BackendPoolLoadBalancingSettingsMap map[string]string

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

BackendPoolLoadBalancings []FrontdoorBackendPoolLoadBalancingArgs

A backend_pool_load_balancing block as defined below.

BackendPoolSettings []FrontdoorBackendPoolSettingArgs
BackendPools []FrontdoorBackendPoolArgs

A backend_pool block as defined below.

BackendPoolsMap map[string]string

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

Cname string

The host that each frontendEndpoint must CNAME to.

ExplicitResourceOrders []FrontdoorExplicitResourceOrderArgs
FriendlyName string

A friendly name for the Front Door service.

FrontendEndpoints []FrontdoorFrontendEndpointArgs

A frontend_endpoint block as defined below.

FrontendEndpointsMap map[string]string

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

HeaderFrontdoorId string

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

LoadBalancerEnabled bool

Should the Front Door Load Balancer be Enabled? Defaults to true.

Name string

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

ResourceGroupName string

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

RoutingRules []FrontdoorRoutingRuleArgs

A routing_rule block as defined below.

RoutingRulesMap map[string]string

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

Tags map[string]string

A mapping of tags to assign to the resource.

backendPoolHealthProbes List<FrontdoorBackendPoolHealthProbeArgs>

A backend_pool_health_probe block as defined below.

backendPoolHealthProbesMap Map<String,String>

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

backendPoolLoadBalancingSettingsMap Map<String,String>

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

backendPoolLoadBalancings List<FrontdoorBackendPoolLoadBalancingArgs>

A backend_pool_load_balancing block as defined below.

backendPoolSettings List<FrontdoorBackendPoolSettingArgs>
backendPools List<FrontdoorBackendPoolArgs>

A backend_pool block as defined below.

backendPoolsMap Map<String,String>

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

cname String

The host that each frontendEndpoint must CNAME to.

explicitResourceOrders List<FrontdoorExplicitResourceOrderArgs>
friendlyName String

A friendly name for the Front Door service.

frontendEndpoints List<FrontdoorFrontendEndpointArgs>

A frontend_endpoint block as defined below.

frontendEndpointsMap Map<String,String>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

headerFrontdoorId String

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

loadBalancerEnabled Boolean

Should the Front Door Load Balancer be Enabled? Defaults to true.

name String

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

resourceGroupName String

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

routingRules List<FrontdoorRoutingRuleArgs>

A routing_rule block as defined below.

routingRulesMap Map<String,String>

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

tags Map<String,String>

A mapping of tags to assign to the resource.

backendPoolHealthProbes FrontdoorBackendPoolHealthProbeArgs[]

A backend_pool_health_probe block as defined below.

backendPoolHealthProbesMap {[key: string]: string}

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

backendPoolLoadBalancingSettingsMap {[key: string]: string}

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

backendPoolLoadBalancings FrontdoorBackendPoolLoadBalancingArgs[]

A backend_pool_load_balancing block as defined below.

backendPoolSettings FrontdoorBackendPoolSettingArgs[]
backendPools FrontdoorBackendPoolArgs[]

A backend_pool block as defined below.

backendPoolsMap {[key: string]: string}

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

cname string

The host that each frontendEndpoint must CNAME to.

explicitResourceOrders FrontdoorExplicitResourceOrderArgs[]
friendlyName string

A friendly name for the Front Door service.

frontendEndpoints FrontdoorFrontendEndpointArgs[]

A frontend_endpoint block as defined below.

frontendEndpointsMap {[key: string]: string}

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

headerFrontdoorId string

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

loadBalancerEnabled boolean

Should the Front Door Load Balancer be Enabled? Defaults to true.

name string

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

resourceGroupName string

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

routingRules FrontdoorRoutingRuleArgs[]

A routing_rule block as defined below.

routingRulesMap {[key: string]: string}

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

tags {[key: string]: string}

A mapping of tags to assign to the resource.

backend_pool_health_probes Sequence[FrontdoorBackendPoolHealthProbeArgs]

A backend_pool_health_probe block as defined below.

backend_pool_health_probes_map Mapping[str, str]

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

backend_pool_load_balancing_settings_map Mapping[str, str]

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

backend_pool_load_balancings Sequence[FrontdoorBackendPoolLoadBalancingArgs]

A backend_pool_load_balancing block as defined below.

backend_pool_settings Sequence[FrontdoorBackendPoolSettingArgs]
backend_pools Sequence[FrontdoorBackendPoolArgs]

A backend_pool block as defined below.

backend_pools_map Mapping[str, str]

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

cname str

The host that each frontendEndpoint must CNAME to.

explicit_resource_orders Sequence[FrontdoorExplicitResourceOrderArgs]
friendly_name str

A friendly name for the Front Door service.

frontend_endpoints Sequence[FrontdoorFrontendEndpointArgs]

A frontend_endpoint block as defined below.

frontend_endpoints_map Mapping[str, str]

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

header_frontdoor_id str

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

load_balancer_enabled bool

Should the Front Door Load Balancer be Enabled? Defaults to true.

name str

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

resource_group_name str

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

routing_rules Sequence[FrontdoorRoutingRuleArgs]

A routing_rule block as defined below.

routing_rules_map Mapping[str, str]

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

tags Mapping[str, str]

A mapping of tags to assign to the resource.

backendPoolHealthProbes List<Property Map>

A backend_pool_health_probe block as defined below.

backendPoolHealthProbesMap Map<String>

A map/dictionary of Backend Pool Health Probe Names (key) to the Backend Pool Health Probe ID (value)

backendPoolLoadBalancingSettingsMap Map<String>

A map/dictionary of Backend Pool Load Balancing Setting Names (key) to the Backend Pool Load Balancing Setting ID (value)

backendPoolLoadBalancings List<Property Map>

A backend_pool_load_balancing block as defined below.

backendPoolSettings List<Property Map>
backendPools List<Property Map>

A backend_pool block as defined below.

backendPoolsMap Map<String>

A map/dictionary of Backend Pool Names (key) to the Backend Pool ID (value)

cname String

The host that each frontendEndpoint must CNAME to.

explicitResourceOrders List<Property Map>
friendlyName String

A friendly name for the Front Door service.

frontendEndpoints List<Property Map>

A frontend_endpoint block as defined below.

frontendEndpointsMap Map<String>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

headerFrontdoorId String

The unique ID of the Front Door which is embedded into the incoming headers X-Azure-FDID attribute and maybe used to filter traffic sent by the Front Door to your backend.

loadBalancerEnabled Boolean

Should the Front Door Load Balancer be Enabled? Defaults to true.

name String

Specifies the name of the Front Door service. Must be globally unique. Changing this forces a new resource to be created.

resourceGroupName String

Specifies the name of the Resource Group in which the Front Door service should exist. Changing this forces a new resource to be created.

routingRules List<Property Map>

A routing_rule block as defined below.

routingRulesMap Map<String>

A map/dictionary of Routing Rule Names (key) to the Routing Rule ID (value)

tags Map<String>

A mapping of tags to assign to the resource.

Supporting Types

FrontdoorBackendPool

Backends List<FrontdoorBackendPoolBackend>

A backend block as defined below.

HealthProbeName string

Specifies the name of the backend_pool_health_probe block within this resource to use for this Backend Pool.

LoadBalancingName string

Specifies the name of the backend_pool_load_balancing block within this resource to use for this Backend Pool.

Name string

Specifies the name of the Backend Pool.

Id string

The ID of the FrontDoor.

Backends []FrontdoorBackendPoolBackend

A backend block as defined below.

HealthProbeName string

Specifies the name of the backend_pool_health_probe block within this resource to use for this Backend Pool.

LoadBalancingName string

Specifies the name of the backend_pool_load_balancing block within this resource to use for this Backend Pool.

Name string

Specifies the name of the Backend Pool.

Id string

The ID of the FrontDoor.

backends List<FrontdoorBackendPoolBackend>

A backend block as defined below.

healthProbeName String

Specifies the name of the backend_pool_health_probe block within this resource to use for this Backend Pool.

loadBalancingName String

Specifies the name of the backend_pool_load_balancing block within this resource to use for this Backend Pool.

name String

Specifies the name of the Backend Pool.

id String

The ID of the FrontDoor.

backends FrontdoorBackendPoolBackend[]

A backend block as defined below.

healthProbeName string

Specifies the name of the backend_pool_health_probe block within this resource to use for this Backend Pool.

loadBalancingName string

Specifies the name of the backend_pool_load_balancing block within this resource to use for this Backend Pool.

name string

Specifies the name of the Backend Pool.

id string

The ID of the FrontDoor.

backends Sequence[FrontdoorBackendPoolBackend]

A backend block as defined below.

health_probe_name str

Specifies the name of the backend_pool_health_probe block within this resource to use for this Backend Pool.

load_balancing_name str

Specifies the name of the backend_pool_load_balancing block within this resource to use for this Backend Pool.

name str

Specifies the name of the Backend Pool.

id str

The ID of the FrontDoor.

backends List<Property Map>

A backend block as defined below.

healthProbeName String

Specifies the name of the backend_pool_health_probe block within this resource to use for this Backend Pool.

loadBalancingName String

Specifies the name of the backend_pool_load_balancing block within this resource to use for this Backend Pool.

name String

Specifies the name of the Backend Pool.

id String

The ID of the FrontDoor.

FrontdoorBackendPoolBackend

Address string

Location of the backend (IP address or FQDN)

HostHeader string

The value to use as the host header sent to the backend.

HttpPort int

The HTTP TCP port number. Possible values are between 1 - 65535.

HttpsPort int

The HTTPS TCP port number. Possible values are between 1 - 65535.

Enabled bool

Specifies if the backend is enabled or not. Valid options are true or false. Defaults to true.

Priority int

Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy. Defaults to 1.

Weight int

Weight of this endpoint for load balancing purposes. Defaults to 50.

Address string

Location of the backend (IP address or FQDN)

HostHeader string

The value to use as the host header sent to the backend.

HttpPort int

The HTTP TCP port number. Possible values are between 1 - 65535.

HttpsPort int

The HTTPS TCP port number. Possible values are between 1 - 65535.

Enabled bool

Specifies if the backend is enabled or not. Valid options are true or false. Defaults to true.

Priority int

Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy. Defaults to 1.

Weight int

Weight of this endpoint for load balancing purposes. Defaults to 50.

address String

Location of the backend (IP address or FQDN)

hostHeader String

The value to use as the host header sent to the backend.

httpPort Integer

The HTTP TCP port number. Possible values are between 1 - 65535.

httpsPort Integer

The HTTPS TCP port number. Possible values are between 1 - 65535.

enabled Boolean

Specifies if the backend is enabled or not. Valid options are true or false. Defaults to true.

priority Integer

Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy. Defaults to 1.

weight Integer

Weight of this endpoint for load balancing purposes. Defaults to 50.

address string

Location of the backend (IP address or FQDN)

hostHeader string

The value to use as the host header sent to the backend.

httpPort number

The HTTP TCP port number. Possible values are between 1 - 65535.

httpsPort number

The HTTPS TCP port number. Possible values are between 1 - 65535.

enabled boolean

Specifies if the backend is enabled or not. Valid options are true or false. Defaults to true.

priority number

Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy. Defaults to 1.

weight number

Weight of this endpoint for load balancing purposes. Defaults to 50.

address str

Location of the backend (IP address or FQDN)

host_header str

The value to use as the host header sent to the backend.

http_port int

The HTTP TCP port number. Possible values are between 1 - 65535.

https_port int

The HTTPS TCP port number. Possible values are between 1 - 65535.

enabled bool

Specifies if the backend is enabled or not. Valid options are true or false. Defaults to true.

priority int

Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy. Defaults to 1.

weight int

Weight of this endpoint for load balancing purposes. Defaults to 50.

address String

Location of the backend (IP address or FQDN)

hostHeader String

The value to use as the host header sent to the backend.

httpPort Number

The HTTP TCP port number. Possible values are between 1 - 65535.

httpsPort Number

The HTTPS TCP port number. Possible values are between 1 - 65535.

enabled Boolean

Specifies if the backend is enabled or not. Valid options are true or false. Defaults to true.

priority Number

Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy. Defaults to 1.

weight Number

Weight of this endpoint for load balancing purposes. Defaults to 50.

FrontdoorBackendPoolHealthProbe

Name string

Specifies the name of the Health Probe.

Enabled bool

Is this health probe enabled? Defaults to true.

Id string

The ID of the FrontDoor.

IntervalInSeconds int

The number of seconds between each Health Probe. Defaults to 120.

Path string

The path to use for the Health Probe. Default is /.

ProbeMethod string

Specifies HTTP method the health probe uses when querying the backend pool instances. Possible values include: Get and Head. Defaults to Get.

Protocol string

Protocol scheme to use for the Health Probe. Defaults to Http.

Name string

Specifies the name of the Health Probe.

Enabled bool

Is this health probe enabled? Defaults to true.

Id string

The ID of the FrontDoor.

IntervalInSeconds int

The number of seconds between each Health Probe. Defaults to 120.

Path string

The path to use for the Health Probe. Default is /.

ProbeMethod string

Specifies HTTP method the health probe uses when querying the backend pool instances. Possible values include: Get and Head. Defaults to Get.

Protocol string

Protocol scheme to use for the Health Probe. Defaults to Http.

name String

Specifies the name of the Health Probe.

enabled Boolean

Is this health probe enabled? Defaults to true.

id String

The ID of the FrontDoor.

intervalInSeconds Integer

The number of seconds between each Health Probe. Defaults to 120.

path String

The path to use for the Health Probe. Default is /.

probeMethod String

Specifies HTTP method the health probe uses when querying the backend pool instances. Possible values include: Get and Head. Defaults to Get.

protocol String

Protocol scheme to use for the Health Probe. Defaults to Http.

name string

Specifies the name of the Health Probe.

enabled boolean

Is this health probe enabled? Defaults to true.

id string

The ID of the FrontDoor.

intervalInSeconds number

The number of seconds between each Health Probe. Defaults to 120.

path string

The path to use for the Health Probe. Default is /.

probeMethod string

Specifies HTTP method the health probe uses when querying the backend pool instances. Possible values include: Get and Head. Defaults to Get.

protocol string

Protocol scheme to use for the Health Probe. Defaults to Http.

name str

Specifies the name of the Health Probe.

enabled bool

Is this health probe enabled? Defaults to true.

id str

The ID of the FrontDoor.

interval_in_seconds int

The number of seconds between each Health Probe. Defaults to 120.

path str

The path to use for the Health Probe. Default is /.

probe_method str

Specifies HTTP method the health probe uses when querying the backend pool instances. Possible values include: Get and Head. Defaults to Get.

protocol str

Protocol scheme to use for the Health Probe. Defaults to Http.

name String

Specifies the name of the Health Probe.

enabled Boolean

Is this health probe enabled? Defaults to true.

id String

The ID of the FrontDoor.

intervalInSeconds Number

The number of seconds between each Health Probe. Defaults to 120.

path String

The path to use for the Health Probe. Default is /.

probeMethod String

Specifies HTTP method the health probe uses when querying the backend pool instances. Possible values include: Get and Head. Defaults to Get.

protocol String

Protocol scheme to use for the Health Probe. Defaults to Http.

FrontdoorBackendPoolLoadBalancing

Name string

Specifies the name of the Load Balancer.

AdditionalLatencyMilliseconds int

The additional latency in milliseconds for probes to fall into the lowest latency bucket. Defaults to 0.

Id string

The ID of the FrontDoor.

SampleSize int

The number of samples to consider for load balancing decisions. Defaults to 4.

SuccessfulSamplesRequired int

The number of samples within the sample period that must succeed. Defaults to 2.

Name string

Specifies the name of the Load Balancer.

AdditionalLatencyMilliseconds int

The additional latency in milliseconds for probes to fall into the lowest latency bucket. Defaults to 0.

Id string

The ID of the FrontDoor.

SampleSize int

The number of samples to consider for load balancing decisions. Defaults to 4.

SuccessfulSamplesRequired int

The number of samples within the sample period that must succeed. Defaults to 2.

name String

Specifies the name of the Load Balancer.

additionalLatencyMilliseconds Integer

The additional latency in milliseconds for probes to fall into the lowest latency bucket. Defaults to 0.

id String

The ID of the FrontDoor.

sampleSize Integer

The number of samples to consider for load balancing decisions. Defaults to 4.

successfulSamplesRequired Integer

The number of samples within the sample period that must succeed. Defaults to 2.

name string

Specifies the name of the Load Balancer.

additionalLatencyMilliseconds number

The additional latency in milliseconds for probes to fall into the lowest latency bucket. Defaults to 0.

id string

The ID of the FrontDoor.

sampleSize number

The number of samples to consider for load balancing decisions. Defaults to 4.

successfulSamplesRequired number

The number of samples within the sample period that must succeed. Defaults to 2.

name str

Specifies the name of the Load Balancer.

additional_latency_milliseconds int

The additional latency in milliseconds for probes to fall into the lowest latency bucket. Defaults to 0.

id str

The ID of the FrontDoor.

sample_size int

The number of samples to consider for load balancing decisions. Defaults to 4.

successful_samples_required int

The number of samples within the sample period that must succeed. Defaults to 2.

name String

Specifies the name of the Load Balancer.

additionalLatencyMilliseconds Number

The additional latency in milliseconds for probes to fall into the lowest latency bucket. Defaults to 0.

id String

The ID of the FrontDoor.

sampleSize Number

The number of samples to consider for load balancing decisions. Defaults to 4.

successfulSamplesRequired Number

The number of samples within the sample period that must succeed. Defaults to 2.

FrontdoorBackendPoolSetting

EnforceBackendPoolsCertificateNameCheck bool

Enforce certificate name check on HTTPS requests to all backend pools, this setting will have no effect on HTTP requests. Permitted values are true or false.

BackendPoolsSendReceiveTimeoutSeconds int

Specifies the send and receive timeout on forwarding request to the backend. When the timeout is reached, the request fails and returns. Possible values are between 0 - 240. Defaults to 60.

EnforceBackendPoolsCertificateNameCheck bool

Enforce certificate name check on HTTPS requests to all backend pools, this setting will have no effect on HTTP requests. Permitted values are true or false.

BackendPoolsSendReceiveTimeoutSeconds int

Specifies the send and receive timeout on forwarding request to the backend. When the timeout is reached, the request fails and returns. Possible values are between 0 - 240. Defaults to 60.

enforceBackendPoolsCertificateNameCheck Boolean

Enforce certificate name check on HTTPS requests to all backend pools, this setting will have no effect on HTTP requests. Permitted values are true or false.

backendPoolsSendReceiveTimeoutSeconds Integer

Specifies the send and receive timeout on forwarding request to the backend. When the timeout is reached, the request fails and returns. Possible values are between 0 - 240. Defaults to 60.

enforceBackendPoolsCertificateNameCheck boolean

Enforce certificate name check on HTTPS requests to all backend pools, this setting will have no effect on HTTP requests. Permitted values are true or false.

backendPoolsSendReceiveTimeoutSeconds number

Specifies the send and receive timeout on forwarding request to the backend. When the timeout is reached, the request fails and returns. Possible values are between 0 - 240. Defaults to 60.

enforce_backend_pools_certificate_name_check bool

Enforce certificate name check on HTTPS requests to all backend pools, this setting will have no effect on HTTP requests. Permitted values are true or false.

backend_pools_send_receive_timeout_seconds int

Specifies the send and receive timeout on forwarding request to the backend. When the timeout is reached, the request fails and returns. Possible values are between 0 - 240. Defaults to 60.

enforceBackendPoolsCertificateNameCheck Boolean

Enforce certificate name check on HTTPS requests to all backend pools, this setting will have no effect on HTTP requests. Permitted values are true or false.

backendPoolsSendReceiveTimeoutSeconds Number

Specifies the send and receive timeout on forwarding request to the backend. When the timeout is reached, the request fails and returns. Possible values are between 0 - 240. Defaults to 60.

FrontdoorExplicitResourceOrder

FrontdoorFrontendEndpoint

HostName string

Specifies the host name of the frontend_endpoint. Must be a domain name. In order to use a name.azurefd.net domain, the name value must match the Front Door name.

Name string

Specifies the name of the frontend_endpoint.

Id string

The ID of the FrontDoor.

SessionAffinityEnabled bool

Whether to allow session affinity on this host. Valid options are true or false Defaults to false.

SessionAffinityTtlSeconds int

The TTL to use in seconds for session affinity, if applicable. Defaults to 0.

WebApplicationFirewallPolicyLinkId string

Defines the Web Application Firewall policy ID for each host.

HostName string

Specifies the host name of the frontend_endpoint. Must be a domain name. In order to use a name.azurefd.net domain, the name value must match the Front Door name.

Name string

Specifies the name of the frontend_endpoint.

Id string

The ID of the FrontDoor.

SessionAffinityEnabled bool

Whether to allow session affinity on this host. Valid options are true or false Defaults to false.

SessionAffinityTtlSeconds int

The TTL to use in seconds for session affinity, if applicable. Defaults to 0.

WebApplicationFirewallPolicyLinkId string

Defines the Web Application Firewall policy ID for each host.

hostName String

Specifies the host name of the frontend_endpoint. Must be a domain name. In order to use a name.azurefd.net domain, the name value must match the Front Door name.

name String

Specifies the name of the frontend_endpoint.

id String

The ID of the FrontDoor.

sessionAffinityEnabled Boolean

Whether to allow session affinity on this host. Valid options are true or false Defaults to false.

sessionAffinityTtlSeconds Integer

The TTL to use in seconds for session affinity, if applicable. Defaults to 0.

webApplicationFirewallPolicyLinkId String

Defines the Web Application Firewall policy ID for each host.

hostName string

Specifies the host name of the frontend_endpoint. Must be a domain name. In order to use a name.azurefd.net domain, the name value must match the Front Door name.

name string

Specifies the name of the frontend_endpoint.

id string

The ID of the FrontDoor.

sessionAffinityEnabled boolean

Whether to allow session affinity on this host. Valid options are true or false Defaults to false.

sessionAffinityTtlSeconds number

The TTL to use in seconds for session affinity, if applicable. Defaults to 0.

webApplicationFirewallPolicyLinkId string

Defines the Web Application Firewall policy ID for each host.

host_name str

Specifies the host name of the frontend_endpoint. Must be a domain name. In order to use a name.azurefd.net domain, the name value must match the Front Door name.

name str

Specifies the name of the frontend_endpoint.

id str

The ID of the FrontDoor.

session_affinity_enabled bool

Whether to allow session affinity on this host. Valid options are true or false Defaults to false.

session_affinity_ttl_seconds int

The TTL to use in seconds for session affinity, if applicable. Defaults to 0.

web_application_firewall_policy_link_id str

Defines the Web Application Firewall policy ID for each host.

hostName String

Specifies the host name of the frontend_endpoint. Must be a domain name. In order to use a name.azurefd.net domain, the name value must match the Front Door name.

name String

Specifies the name of the frontend_endpoint.

id String

The ID of the FrontDoor.

sessionAffinityEnabled Boolean

Whether to allow session affinity on this host. Valid options are true or false Defaults to false.

sessionAffinityTtlSeconds Number

The TTL to use in seconds for session affinity, if applicable. Defaults to 0.

webApplicationFirewallPolicyLinkId String

Defines the Web Application Firewall policy ID for each host.

FrontdoorRoutingRule

AcceptedProtocols List<string>

Protocol schemes to match for the Backend Routing Rule. Defaults to Http.

FrontendEndpoints List<string>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

Name string

Specifies the name of the Routing Rule.

PatternsToMatches List<string>

The route patterns for the Backend Routing Rule. Defaults to /*.

Enabled bool

Enable or Disable use of this Backend Routing Rule. Permitted values are true or false. Defaults to true.

ForwardingConfiguration FrontdoorRoutingRuleForwardingConfiguration

A forwarding_configuration block as defined below.

Id string

The ID of the FrontDoor.

RedirectConfiguration FrontdoorRoutingRuleRedirectConfiguration

A redirect_configuration block as defined below.

AcceptedProtocols []string

Protocol schemes to match for the Backend Routing Rule. Defaults to Http.

FrontendEndpoints []string

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

Name string

Specifies the name of the Routing Rule.

PatternsToMatches []string

The route patterns for the Backend Routing Rule. Defaults to /*.

Enabled bool

Enable or Disable use of this Backend Routing Rule. Permitted values are true or false. Defaults to true.

ForwardingConfiguration FrontdoorRoutingRuleForwardingConfiguration

A forwarding_configuration block as defined below.

Id string

The ID of the FrontDoor.

RedirectConfiguration FrontdoorRoutingRuleRedirectConfiguration

A redirect_configuration block as defined below.

acceptedProtocols List<String>

Protocol schemes to match for the Backend Routing Rule. Defaults to Http.

frontendEndpoints List<String>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

name String

Specifies the name of the Routing Rule.

patternsToMatches List<String>

The route patterns for the Backend Routing Rule. Defaults to /*.

enabled Boolean

Enable or Disable use of this Backend Routing Rule. Permitted values are true or false. Defaults to true.

forwardingConfiguration FrontdoorRoutingRuleForwardingConfiguration

A forwarding_configuration block as defined below.

id String

The ID of the FrontDoor.

redirectConfiguration FrontdoorRoutingRuleRedirectConfiguration

A redirect_configuration block as defined below.

acceptedProtocols string[]

Protocol schemes to match for the Backend Routing Rule. Defaults to Http.

frontendEndpoints string[]

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

name string

Specifies the name of the Routing Rule.

patternsToMatches string[]

The route patterns for the Backend Routing Rule. Defaults to /*.

enabled boolean

Enable or Disable use of this Backend Routing Rule. Permitted values are true or false. Defaults to true.

forwardingConfiguration FrontdoorRoutingRuleForwardingConfiguration

A forwarding_configuration block as defined below.

id string

The ID of the FrontDoor.

redirectConfiguration FrontdoorRoutingRuleRedirectConfiguration

A redirect_configuration block as defined below.

accepted_protocols Sequence[str]

Protocol schemes to match for the Backend Routing Rule. Defaults to Http.

frontend_endpoints Sequence[str]

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

name str

Specifies the name of the Routing Rule.

patterns_to_matches Sequence[str]

The route patterns for the Backend Routing Rule. Defaults to /*.

enabled bool

Enable or Disable use of this Backend Routing Rule. Permitted values are true or false. Defaults to true.

forwarding_configuration FrontdoorRoutingRuleForwardingConfiguration

A forwarding_configuration block as defined below.

id str

The ID of the FrontDoor.

redirect_configuration FrontdoorRoutingRuleRedirectConfiguration

A redirect_configuration block as defined below.

acceptedProtocols List<String>

Protocol schemes to match for the Backend Routing Rule. Defaults to Http.

frontendEndpoints List<String>

The names of the frontend_endpoint blocks within this resource to associate with this routing_rule.

name String

Specifies the name of the Routing Rule.

patternsToMatches List<String>

The route patterns for the Backend Routing Rule. Defaults to /*.

enabled Boolean

Enable or Disable use of this Backend Routing Rule. Permitted values are true or false. Defaults to true.

forwardingConfiguration Property Map

A forwarding_configuration block as defined below.

id String

The ID of the FrontDoor.

redirectConfiguration Property Map

A redirect_configuration block as defined below.

FrontdoorRoutingRuleForwardingConfiguration

BackendPoolName string

Specifies the name of the Backend Pool to forward the incoming traffic to.

CacheDuration string

Specify the caching duration (in ISO8601 notation e.g. P1DT2H for 1 day and 2 hours). Needs to be greater than 0 and smaller than 365 days. cache_duration works only in combination with cache_enabled set to true.

CacheEnabled bool

Specifies whether to Enable caching or not. Valid options are true or false. Defaults to false.

CacheQueryParameterStripDirective string

Defines cache behaviour in relation to query string parameters. Valid options are StripAll, StripAllExcept, StripOnly or StripNone. Defaults to StripAll.

CacheQueryParameters List<string>

Specify query parameters (array). Works only in combination with cache_query_parameter_strip_directive set to StripAllExcept or StripOnly.

CacheUseDynamicCompression bool

Whether to use dynamic compression when caching. Valid options are true or false. Defaults to false.

CustomForwardingPath string

Path to use when constructing the request to forward to the backend. This functions as a URL Rewrite. Default behaviour preserves the URL path.

ForwardingProtocol string

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to HttpsOnly.

BackendPoolName string

Specifies the name of the Backend Pool to forward the incoming traffic to.

CacheDuration string

Specify the caching duration (in ISO8601 notation e.g. P1DT2H for 1 day and 2 hours). Needs to be greater than 0 and smaller than 365 days. cache_duration works only in combination with cache_enabled set to true.

CacheEnabled bool

Specifies whether to Enable caching or not. Valid options are true or false. Defaults to false.

CacheQueryParameterStripDirective string

Defines cache behaviour in relation to query string parameters. Valid options are StripAll, StripAllExcept, StripOnly or StripNone. Defaults to StripAll.

CacheQueryParameters []string

Specify query parameters (array). Works only in combination with cache_query_parameter_strip_directive set to StripAllExcept or StripOnly.

CacheUseDynamicCompression bool

Whether to use dynamic compression when caching. Valid options are true or false. Defaults to false.

CustomForwardingPath string

Path to use when constructing the request to forward to the backend. This functions as a URL Rewrite. Default behaviour preserves the URL path.

ForwardingProtocol string

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to HttpsOnly.

backendPoolName String

Specifies the name of the Backend Pool to forward the incoming traffic to.

cacheDuration String

Specify the caching duration (in ISO8601 notation e.g. P1DT2H for 1 day and 2 hours). Needs to be greater than 0 and smaller than 365 days. cache_duration works only in combination with cache_enabled set to true.

cacheEnabled Boolean

Specifies whether to Enable caching or not. Valid options are true or false. Defaults to false.

cacheQueryParameterStripDirective String

Defines cache behaviour in relation to query string parameters. Valid options are StripAll, StripAllExcept, StripOnly or StripNone. Defaults to StripAll.

cacheQueryParameters List<String>

Specify query parameters (array). Works only in combination with cache_query_parameter_strip_directive set to StripAllExcept or StripOnly.

cacheUseDynamicCompression Boolean

Whether to use dynamic compression when caching. Valid options are true or false. Defaults to false.

customForwardingPath String

Path to use when constructing the request to forward to the backend. This functions as a URL Rewrite. Default behaviour preserves the URL path.

forwardingProtocol String

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to HttpsOnly.

backendPoolName string

Specifies the name of the Backend Pool to forward the incoming traffic to.

cacheDuration string

Specify the caching duration (in ISO8601 notation e.g. P1DT2H for 1 day and 2 hours). Needs to be greater than 0 and smaller than 365 days. cache_duration works only in combination with cache_enabled set to true.

cacheEnabled boolean

Specifies whether to Enable caching or not. Valid options are true or false. Defaults to false.

cacheQueryParameterStripDirective string

Defines cache behaviour in relation to query string parameters. Valid options are StripAll, StripAllExcept, StripOnly or StripNone. Defaults to StripAll.

cacheQueryParameters string[]

Specify query parameters (array). Works only in combination with cache_query_parameter_strip_directive set to StripAllExcept or StripOnly.

cacheUseDynamicCompression boolean

Whether to use dynamic compression when caching. Valid options are true or false. Defaults to false.

customForwardingPath string

Path to use when constructing the request to forward to the backend. This functions as a URL Rewrite. Default behaviour preserves the URL path.

forwardingProtocol string

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to HttpsOnly.

backend_pool_name str

Specifies the name of the Backend Pool to forward the incoming traffic to.

cache_duration str

Specify the caching duration (in ISO8601 notation e.g. P1DT2H for 1 day and 2 hours). Needs to be greater than 0 and smaller than 365 days. cache_duration works only in combination with cache_enabled set to true.

cache_enabled bool

Specifies whether to Enable caching or not. Valid options are true or false. Defaults to false.

cache_query_parameter_strip_directive str

Defines cache behaviour in relation to query string parameters. Valid options are StripAll, StripAllExcept, StripOnly or StripNone. Defaults to StripAll.

cache_query_parameters Sequence[str]

Specify query parameters (array). Works only in combination with cache_query_parameter_strip_directive set to StripAllExcept or StripOnly.

cache_use_dynamic_compression bool

Whether to use dynamic compression when caching. Valid options are true or false. Defaults to false.

custom_forwarding_path str

Path to use when constructing the request to forward to the backend. This functions as a URL Rewrite. Default behaviour preserves the URL path.

forwarding_protocol str

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to HttpsOnly.

backendPoolName String

Specifies the name of the Backend Pool to forward the incoming traffic to.

cacheDuration String

Specify the caching duration (in ISO8601 notation e.g. P1DT2H for 1 day and 2 hours). Needs to be greater than 0 and smaller than 365 days. cache_duration works only in combination with cache_enabled set to true.

cacheEnabled Boolean

Specifies whether to Enable caching or not. Valid options are true or false. Defaults to false.

cacheQueryParameterStripDirective String

Defines cache behaviour in relation to query string parameters. Valid options are StripAll, StripAllExcept, StripOnly or StripNone. Defaults to StripAll.

cacheQueryParameters List<String>

Specify query parameters (array). Works only in combination with cache_query_parameter_strip_directive set to StripAllExcept or StripOnly.

cacheUseDynamicCompression Boolean

Whether to use dynamic compression when caching. Valid options are true or false. Defaults to false.

customForwardingPath String

Path to use when constructing the request to forward to the backend. This functions as a URL Rewrite. Default behaviour preserves the URL path.

forwardingProtocol String

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to HttpsOnly.

FrontdoorRoutingRuleRedirectConfiguration

RedirectProtocol string

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to MatchRequest

RedirectType string

Status code for the redirect. Valida options are Moved, Found, TemporaryRedirect, PermanentRedirect.

CustomFragment string

The destination fragment in the portion of URL after '#'. Set this to add a fragment to the redirect URL.

CustomHost string

Set this to change the URL for the redirection.

CustomPath string

The path to retain as per the incoming request, or update in the URL for the redirection.

CustomQueryString string

Replace any existing query string from the incoming request URL.

RedirectProtocol string

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to MatchRequest

RedirectType string

Status code for the redirect. Valida options are Moved, Found, TemporaryRedirect, PermanentRedirect.

CustomFragment string

The destination fragment in the portion of URL after '#'. Set this to add a fragment to the redirect URL.

CustomHost string

Set this to change the URL for the redirection.

CustomPath string

The path to retain as per the incoming request, or update in the URL for the redirection.

CustomQueryString string

Replace any existing query string from the incoming request URL.

redirectProtocol String

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to MatchRequest

redirectType String

Status code for the redirect. Valida options are Moved, Found, TemporaryRedirect, PermanentRedirect.

customFragment String

The destination fragment in the portion of URL after '#'. Set this to add a fragment to the redirect URL.

customHost String

Set this to change the URL for the redirection.

customPath String

The path to retain as per the incoming request, or update in the URL for the redirection.

customQueryString String

Replace any existing query string from the incoming request URL.

redirectProtocol string

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to MatchRequest

redirectType string

Status code for the redirect. Valida options are Moved, Found, TemporaryRedirect, PermanentRedirect.

customFragment string

The destination fragment in the portion of URL after '#'. Set this to add a fragment to the redirect URL.

customHost string

Set this to change the URL for the redirection.

customPath string

The path to retain as per the incoming request, or update in the URL for the redirection.

customQueryString string

Replace any existing query string from the incoming request URL.

redirect_protocol str

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to MatchRequest

redirect_type str

Status code for the redirect. Valida options are Moved, Found, TemporaryRedirect, PermanentRedirect.

custom_fragment str

The destination fragment in the portion of URL after '#'. Set this to add a fragment to the redirect URL.

custom_host str

Set this to change the URL for the redirection.

custom_path str

The path to retain as per the incoming request, or update in the URL for the redirection.

custom_query_string str

Replace any existing query string from the incoming request URL.

redirectProtocol String

Protocol to use when redirecting. Valid options are HttpOnly, HttpsOnly, or MatchRequest. Defaults to MatchRequest

redirectType String

Status code for the redirect. Valida options are Moved, Found, TemporaryRedirect, PermanentRedirect.

customFragment String

The destination fragment in the portion of URL after '#'. Set this to add a fragment to the redirect URL.

customHost String

Set this to change the URL for the redirection.

customPath String

The path to retain as per the incoming request, or update in the URL for the redirection.

customQueryString String

Replace any existing query string from the incoming request URL.

Import

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

 $ pulumi import azure:frontdoor/frontdoor:Frontdoor example /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/mygroup1/providers/Microsoft.Network/frontDoors/frontdoor1

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.