We recommend using Azure Native.
azure.cdn.FrontdoorRule
Explore with Pulumi AI
Manages a Front Door (standard/premium) Rule.
!>IMPORTANT: The Rules resource must include a depends_on
meta-argument which references the azure.cdn.FrontdoorOrigin
and the azure.cdn.FrontdoorOriginGroup
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-cdn-frontdoor",
location: "West Europe",
});
const exampleFrontdoorProfile = new azure.cdn.FrontdoorProfile("example", {
name: "example-profile",
resourceGroupName: example.name,
skuName: "Premium_AzureFrontDoor",
});
const exampleFrontdoorEndpoint = new azure.cdn.FrontdoorEndpoint("example", {
name: "example-endpoint",
cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
tags: {
endpoint: "contoso.com",
},
});
const exampleFrontdoorOriginGroup = new azure.cdn.FrontdoorOriginGroup("example", {
name: "example-originGroup",
cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
sessionAffinityEnabled: true,
restoreTrafficTimeToHealedOrNewEndpointInMinutes: 10,
healthProbe: {
intervalInSeconds: 240,
path: "/healthProbe",
protocol: "Https",
requestType: "GET",
},
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: exampleFrontdoorEndpoint.hostName,
httpPort: 80,
httpsPort: 443,
originHostHeader: "contoso.com",
priority: 1,
weight: 500,
});
const exampleFrontdoorRuleSet = new azure.cdn.FrontdoorRuleSet("example", {
name: "exampleruleset",
cdnFrontdoorProfileId: exampleFrontdoorProfile.id,
});
const exampleFrontdoorRule = new azure.cdn.FrontdoorRule("example", {
name: "examplerule",
cdnFrontdoorRuleSetId: exampleFrontdoorRuleSet.id,
order: 1,
behaviorOnMatch: "Continue",
actions: {
routeConfigurationOverrideAction: {
cdnFrontdoorOriginGroupId: exampleFrontdoorOriginGroup.id,
forwardingProtocol: "HttpsOnly",
queryStringCachingBehavior: "IncludeSpecifiedQueryStrings",
queryStringParameters: [
"foo",
"clientIp={client_ip}",
],
compressionEnabled: true,
cacheBehavior: "OverrideIfOriginMissing",
cacheDuration: "365.23:59:59",
},
urlRedirectAction: {
redirectType: "PermanentRedirect",
redirectProtocol: "MatchRequest",
queryString: "clientIp={client_ip}",
destinationPath: "/exampleredirection",
destinationHostname: "contoso.com",
destinationFragment: "UrlRedirect",
},
},
conditions: {
hostNameConditions: [{
operator: "Equal",
negateCondition: false,
matchValues: [
"www.contoso.com",
"images.contoso.com",
"video.contoso.com",
],
transforms: [
"Lowercase",
"Trim",
],
}],
isDeviceConditions: [{
operator: "Equal",
negateCondition: false,
matchValues: "Mobile",
}],
postArgsConditions: [{
postArgsName: "customerName",
operator: "BeginsWith",
matchValues: [
"J",
"K",
],
transforms: ["Uppercase"],
}],
requestMethodConditions: [{
operator: "Equal",
negateCondition: false,
matchValues: ["DELETE"],
}],
urlFilenameConditions: [{
operator: "Equal",
negateCondition: false,
matchValues: ["media.mp4"],
transforms: [
"Lowercase",
"RemoveNulls",
"Trim",
],
}],
},
}, {
dependsOn: [
exampleFrontdoorOriginGroup,
exampleFrontdoorOrigin,
],
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-cdn-frontdoor",
location="West Europe")
example_frontdoor_profile = azure.cdn.FrontdoorProfile("example",
name="example-profile",
resource_group_name=example.name,
sku_name="Premium_AzureFrontDoor")
example_frontdoor_endpoint = azure.cdn.FrontdoorEndpoint("example",
name="example-endpoint",
cdn_frontdoor_profile_id=example_frontdoor_profile.id,
tags={
"endpoint": "contoso.com",
})
example_frontdoor_origin_group = azure.cdn.FrontdoorOriginGroup("example",
name="example-originGroup",
cdn_frontdoor_profile_id=example_frontdoor_profile.id,
session_affinity_enabled=True,
restore_traffic_time_to_healed_or_new_endpoint_in_minutes=10,
health_probe={
"interval_in_seconds": 240,
"path": "/healthProbe",
"protocol": "Https",
"request_type": "GET",
},
load_balancing={
"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=example_frontdoor_endpoint.host_name,
http_port=80,
https_port=443,
origin_host_header="contoso.com",
priority=1,
weight=500)
example_frontdoor_rule_set = azure.cdn.FrontdoorRuleSet("example",
name="exampleruleset",
cdn_frontdoor_profile_id=example_frontdoor_profile.id)
example_frontdoor_rule = azure.cdn.FrontdoorRule("example",
name="examplerule",
cdn_frontdoor_rule_set_id=example_frontdoor_rule_set.id,
order=1,
behavior_on_match="Continue",
actions={
"route_configuration_override_action": {
"cdn_frontdoor_origin_group_id": example_frontdoor_origin_group.id,
"forwarding_protocol": "HttpsOnly",
"query_string_caching_behavior": "IncludeSpecifiedQueryStrings",
"query_string_parameters": [
"foo",
"clientIp={client_ip}",
],
"compression_enabled": True,
"cache_behavior": "OverrideIfOriginMissing",
"cache_duration": "365.23:59:59",
},
"url_redirect_action": {
"redirect_type": "PermanentRedirect",
"redirect_protocol": "MatchRequest",
"query_string": "clientIp={client_ip}",
"destination_path": "/exampleredirection",
"destination_hostname": "contoso.com",
"destination_fragment": "UrlRedirect",
},
},
conditions={
"host_name_conditions": [{
"operator": "Equal",
"negate_condition": False,
"match_values": [
"www.contoso.com",
"images.contoso.com",
"video.contoso.com",
],
"transforms": [
"Lowercase",
"Trim",
],
}],
"is_device_conditions": [{
"operator": "Equal",
"negate_condition": False,
"match_values": "Mobile",
}],
"post_args_conditions": [{
"post_args_name": "customerName",
"operator": "BeginsWith",
"match_values": [
"J",
"K",
],
"transforms": ["Uppercase"],
}],
"request_method_conditions": [{
"operator": "Equal",
"negate_condition": False,
"match_values": ["DELETE"],
}],
"url_filename_conditions": [{
"operator": "Equal",
"negate_condition": False,
"match_values": ["media.mp4"],
"transforms": [
"Lowercase",
"RemoveNulls",
"Trim",
],
}],
},
opts = pulumi.ResourceOptions(depends_on=[
example_frontdoor_origin_group,
example_frontdoor_origin,
]))
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/cdn"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"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
}
exampleFrontdoorProfile, err := cdn.NewFrontdoorProfile(ctx, "example", &cdn.FrontdoorProfileArgs{
Name: pulumi.String("example-profile"),
ResourceGroupName: example.Name,
SkuName: pulumi.String("Premium_AzureFrontDoor"),
})
if err != nil {
return err
}
exampleFrontdoorEndpoint, err := cdn.NewFrontdoorEndpoint(ctx, "example", &cdn.FrontdoorEndpointArgs{
Name: pulumi.String("example-endpoint"),
CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(),
Tags: pulumi.StringMap{
"endpoint": pulumi.String("contoso.com"),
},
})
if err != nil {
return err
}
exampleFrontdoorOriginGroup, err := cdn.NewFrontdoorOriginGroup(ctx, "example", &cdn.FrontdoorOriginGroupArgs{
Name: pulumi.String("example-originGroup"),
CdnFrontdoorProfileId: exampleFrontdoorProfile.ID(),
SessionAffinityEnabled: pulumi.Bool(true),
RestoreTrafficTimeToHealedOrNewEndpointInMinutes: pulumi.Int(10),
HealthProbe: &cdn.FrontdoorOriginGroupHealthProbeArgs{
IntervalInSeconds: pulumi.Int(240),
Path: pulumi.String("/healthProbe"),
Protocol: pulumi.String("Https"),
RequestType: pulumi.String("GET"),
},
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: exampleFrontdoorEndpoint.HostName,
HttpPort: pulumi.Int(80),
HttpsPort: pulumi.Int(443),
OriginHostHeader: pulumi.String("contoso.com"),
Priority: pulumi.Int(1),
Weight: pulumi.Int(500),
})
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
}
_, err = cdn.NewFrontdoorRule(ctx, "example", &cdn.FrontdoorRuleArgs{
Name: pulumi.String("examplerule"),
CdnFrontdoorRuleSetId: exampleFrontdoorRuleSet.ID(),
Order: pulumi.Int(1),
BehaviorOnMatch: pulumi.String("Continue"),
Actions: &cdn.FrontdoorRuleActionsArgs{
RouteConfigurationOverrideAction: &cdn.FrontdoorRuleActionsRouteConfigurationOverrideActionArgs{
CdnFrontdoorOriginGroupId: exampleFrontdoorOriginGroup.ID(),
ForwardingProtocol: pulumi.String("HttpsOnly"),
QueryStringCachingBehavior: pulumi.String("IncludeSpecifiedQueryStrings"),
QueryStringParameters: pulumi.StringArray{
pulumi.String("foo"),
pulumi.String("clientIp={client_ip}"),
},
CompressionEnabled: pulumi.Bool(true),
CacheBehavior: pulumi.String("OverrideIfOriginMissing"),
CacheDuration: pulumi.String("365.23:59:59"),
},
UrlRedirectAction: &cdn.FrontdoorRuleActionsUrlRedirectActionArgs{
RedirectType: pulumi.String("PermanentRedirect"),
RedirectProtocol: pulumi.String("MatchRequest"),
QueryString: pulumi.String("clientIp={client_ip}"),
DestinationPath: pulumi.String("/exampleredirection"),
DestinationHostname: pulumi.String("contoso.com"),
DestinationFragment: pulumi.String("UrlRedirect"),
},
},
Conditions: &cdn.FrontdoorRuleConditionsArgs{
HostNameConditions: cdn.FrontdoorRuleConditionsHostNameConditionArray{
&cdn.FrontdoorRuleConditionsHostNameConditionArgs{
Operator: pulumi.String("Equal"),
NegateCondition: pulumi.Bool(false),
MatchValues: pulumi.StringArray{
pulumi.String("www.contoso.com"),
pulumi.String("images.contoso.com"),
pulumi.String("video.contoso.com"),
},
Transforms: pulumi.StringArray{
pulumi.String("Lowercase"),
pulumi.String("Trim"),
},
},
},
IsDeviceConditions: cdn.FrontdoorRuleConditionsIsDeviceConditionArray{
&cdn.FrontdoorRuleConditionsIsDeviceConditionArgs{
Operator: pulumi.String("Equal"),
NegateCondition: pulumi.Bool(false),
MatchValues: pulumi.String("Mobile"),
},
},
PostArgsConditions: cdn.FrontdoorRuleConditionsPostArgsConditionArray{
&cdn.FrontdoorRuleConditionsPostArgsConditionArgs{
PostArgsName: pulumi.String("customerName"),
Operator: pulumi.String("BeginsWith"),
MatchValues: pulumi.StringArray{
pulumi.String("J"),
pulumi.String("K"),
},
Transforms: pulumi.StringArray{
pulumi.String("Uppercase"),
},
},
},
RequestMethodConditions: cdn.FrontdoorRuleConditionsRequestMethodConditionArray{
&cdn.FrontdoorRuleConditionsRequestMethodConditionArgs{
Operator: pulumi.String("Equal"),
NegateCondition: pulumi.Bool(false),
MatchValues: pulumi.StringArray{
pulumi.String("DELETE"),
},
},
},
UrlFilenameConditions: cdn.FrontdoorRuleConditionsUrlFilenameConditionArray{
&cdn.FrontdoorRuleConditionsUrlFilenameConditionArgs{
Operator: pulumi.String("Equal"),
NegateCondition: pulumi.Bool(false),
MatchValues: pulumi.StringArray{
pulumi.String("media.mp4"),
},
Transforms: pulumi.StringArray{
pulumi.String("Lowercase"),
pulumi.String("RemoveNulls"),
pulumi.String("Trim"),
},
},
},
},
}, pulumi.DependsOn([]pulumi.Resource{
exampleFrontdoorOriginGroup,
exampleFrontdoorOrigin,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-cdn-frontdoor",
Location = "West Europe",
});
var exampleFrontdoorProfile = new Azure.Cdn.FrontdoorProfile("example", new()
{
Name = "example-profile",
ResourceGroupName = example.Name,
SkuName = "Premium_AzureFrontDoor",
});
var exampleFrontdoorEndpoint = new Azure.Cdn.FrontdoorEndpoint("example", new()
{
Name = "example-endpoint",
CdnFrontdoorProfileId = exampleFrontdoorProfile.Id,
Tags =
{
{ "endpoint", "contoso.com" },
},
});
var exampleFrontdoorOriginGroup = new Azure.Cdn.FrontdoorOriginGroup("example", new()
{
Name = "example-originGroup",
CdnFrontdoorProfileId = exampleFrontdoorProfile.Id,
SessionAffinityEnabled = true,
RestoreTrafficTimeToHealedOrNewEndpointInMinutes = 10,
HealthProbe = new Azure.Cdn.Inputs.FrontdoorOriginGroupHealthProbeArgs
{
IntervalInSeconds = 240,
Path = "/healthProbe",
Protocol = "Https",
RequestType = "GET",
},
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 = exampleFrontdoorEndpoint.HostName,
HttpPort = 80,
HttpsPort = 443,
OriginHostHeader = "contoso.com",
Priority = 1,
Weight = 500,
});
var exampleFrontdoorRuleSet = new Azure.Cdn.FrontdoorRuleSet("example", new()
{
Name = "exampleruleset",
CdnFrontdoorProfileId = exampleFrontdoorProfile.Id,
});
var exampleFrontdoorRule = new Azure.Cdn.FrontdoorRule("example", new()
{
Name = "examplerule",
CdnFrontdoorRuleSetId = exampleFrontdoorRuleSet.Id,
Order = 1,
BehaviorOnMatch = "Continue",
Actions = new Azure.Cdn.Inputs.FrontdoorRuleActionsArgs
{
RouteConfigurationOverrideAction = new Azure.Cdn.Inputs.FrontdoorRuleActionsRouteConfigurationOverrideActionArgs
{
CdnFrontdoorOriginGroupId = exampleFrontdoorOriginGroup.Id,
ForwardingProtocol = "HttpsOnly",
QueryStringCachingBehavior = "IncludeSpecifiedQueryStrings",
QueryStringParameters = new[]
{
"foo",
"clientIp={client_ip}",
},
CompressionEnabled = true,
CacheBehavior = "OverrideIfOriginMissing",
CacheDuration = "365.23:59:59",
},
UrlRedirectAction = new Azure.Cdn.Inputs.FrontdoorRuleActionsUrlRedirectActionArgs
{
RedirectType = "PermanentRedirect",
RedirectProtocol = "MatchRequest",
QueryString = "clientIp={client_ip}",
DestinationPath = "/exampleredirection",
DestinationHostname = "contoso.com",
DestinationFragment = "UrlRedirect",
},
},
Conditions = new Azure.Cdn.Inputs.FrontdoorRuleConditionsArgs
{
HostNameConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsHostNameConditionArgs
{
Operator = "Equal",
NegateCondition = false,
MatchValues = new[]
{
"www.contoso.com",
"images.contoso.com",
"video.contoso.com",
},
Transforms = new[]
{
"Lowercase",
"Trim",
},
},
},
IsDeviceConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsIsDeviceConditionArgs
{
Operator = "Equal",
NegateCondition = false,
MatchValues = "Mobile",
},
},
PostArgsConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsPostArgsConditionArgs
{
PostArgsName = "customerName",
Operator = "BeginsWith",
MatchValues = new[]
{
"J",
"K",
},
Transforms = new[]
{
"Uppercase",
},
},
},
RequestMethodConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsRequestMethodConditionArgs
{
Operator = "Equal",
NegateCondition = false,
MatchValues = new[]
{
"DELETE",
},
},
},
UrlFilenameConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsUrlFilenameConditionArgs
{
Operator = "Equal",
NegateCondition = false,
MatchValues = new[]
{
"media.mp4",
},
Transforms = new[]
{
"Lowercase",
"RemoveNulls",
"Trim",
},
},
},
},
}, new CustomResourceOptions
{
DependsOn =
{
exampleFrontdoorOriginGroup,
exampleFrontdoorOrigin,
},
});
});
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.cdn.FrontdoorProfile;
import com.pulumi.azure.cdn.FrontdoorProfileArgs;
import com.pulumi.azure.cdn.FrontdoorEndpoint;
import com.pulumi.azure.cdn.FrontdoorEndpointArgs;
import com.pulumi.azure.cdn.FrontdoorOriginGroup;
import com.pulumi.azure.cdn.FrontdoorOriginGroupArgs;
import com.pulumi.azure.cdn.inputs.FrontdoorOriginGroupHealthProbeArgs;
import com.pulumi.azure.cdn.inputs.FrontdoorOriginGroupLoadBalancingArgs;
import com.pulumi.azure.cdn.FrontdoorOrigin;
import com.pulumi.azure.cdn.FrontdoorOriginArgs;
import com.pulumi.azure.cdn.FrontdoorRuleSet;
import com.pulumi.azure.cdn.FrontdoorRuleSetArgs;
import com.pulumi.azure.cdn.FrontdoorRule;
import com.pulumi.azure.cdn.FrontdoorRuleArgs;
import com.pulumi.azure.cdn.inputs.FrontdoorRuleActionsArgs;
import com.pulumi.azure.cdn.inputs.FrontdoorRuleActionsRouteConfigurationOverrideActionArgs;
import com.pulumi.azure.cdn.inputs.FrontdoorRuleActionsUrlRedirectActionArgs;
import com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsArgs;
import com.pulumi.resources.CustomResourceOptions;
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 exampleFrontdoorProfile = new FrontdoorProfile("exampleFrontdoorProfile", FrontdoorProfileArgs.builder()
.name("example-profile")
.resourceGroupName(example.name())
.skuName("Premium_AzureFrontDoor")
.build());
var exampleFrontdoorEndpoint = new FrontdoorEndpoint("exampleFrontdoorEndpoint", FrontdoorEndpointArgs.builder()
.name("example-endpoint")
.cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
.tags(Map.of("endpoint", "contoso.com"))
.build());
var exampleFrontdoorOriginGroup = new FrontdoorOriginGroup("exampleFrontdoorOriginGroup", FrontdoorOriginGroupArgs.builder()
.name("example-originGroup")
.cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
.sessionAffinityEnabled(true)
.restoreTrafficTimeToHealedOrNewEndpointInMinutes(10)
.healthProbe(FrontdoorOriginGroupHealthProbeArgs.builder()
.intervalInSeconds(240)
.path("/healthProbe")
.protocol("Https")
.requestType("GET")
.build())
.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(exampleFrontdoorEndpoint.hostName())
.httpPort(80)
.httpsPort(443)
.originHostHeader("contoso.com")
.priority(1)
.weight(500)
.build());
var exampleFrontdoorRuleSet = new FrontdoorRuleSet("exampleFrontdoorRuleSet", FrontdoorRuleSetArgs.builder()
.name("exampleruleset")
.cdnFrontdoorProfileId(exampleFrontdoorProfile.id())
.build());
var exampleFrontdoorRule = new FrontdoorRule("exampleFrontdoorRule", FrontdoorRuleArgs.builder()
.name("examplerule")
.cdnFrontdoorRuleSetId(exampleFrontdoorRuleSet.id())
.order(1)
.behaviorOnMatch("Continue")
.actions(FrontdoorRuleActionsArgs.builder()
.routeConfigurationOverrideAction(FrontdoorRuleActionsRouteConfigurationOverrideActionArgs.builder()
.cdnFrontdoorOriginGroupId(exampleFrontdoorOriginGroup.id())
.forwardingProtocol("HttpsOnly")
.queryStringCachingBehavior("IncludeSpecifiedQueryStrings")
.queryStringParameters(
"foo",
"clientIp={client_ip}")
.compressionEnabled(true)
.cacheBehavior("OverrideIfOriginMissing")
.cacheDuration("365.23:59:59")
.build())
.urlRedirectAction(FrontdoorRuleActionsUrlRedirectActionArgs.builder()
.redirectType("PermanentRedirect")
.redirectProtocol("MatchRequest")
.queryString("clientIp={client_ip}")
.destinationPath("/exampleredirection")
.destinationHostname("contoso.com")
.destinationFragment("UrlRedirect")
.build())
.build())
.conditions(FrontdoorRuleConditionsArgs.builder()
.hostNameConditions(FrontdoorRuleConditionsHostNameConditionArgs.builder()
.operator("Equal")
.negateCondition(false)
.matchValues(
"www.contoso.com",
"images.contoso.com",
"video.contoso.com")
.transforms(
"Lowercase",
"Trim")
.build())
.isDeviceConditions(FrontdoorRuleConditionsIsDeviceConditionArgs.builder()
.operator("Equal")
.negateCondition(false)
.matchValues("Mobile")
.build())
.postArgsConditions(FrontdoorRuleConditionsPostArgsConditionArgs.builder()
.postArgsName("customerName")
.operator("BeginsWith")
.matchValues(
"J",
"K")
.transforms("Uppercase")
.build())
.requestMethodConditions(FrontdoorRuleConditionsRequestMethodConditionArgs.builder()
.operator("Equal")
.negateCondition(false)
.matchValues("DELETE")
.build())
.urlFilenameConditions(FrontdoorRuleConditionsUrlFilenameConditionArgs.builder()
.operator("Equal")
.negateCondition(false)
.matchValues("media.mp4")
.transforms(
"Lowercase",
"RemoveNulls",
"Trim")
.build())
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(
exampleFrontdoorOriginGroup,
exampleFrontdoorOrigin)
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-cdn-frontdoor
location: West Europe
exampleFrontdoorProfile:
type: azure:cdn:FrontdoorProfile
name: example
properties:
name: example-profile
resourceGroupName: ${example.name}
skuName: Premium_AzureFrontDoor
exampleFrontdoorEndpoint:
type: azure:cdn:FrontdoorEndpoint
name: example
properties:
name: example-endpoint
cdnFrontdoorProfileId: ${exampleFrontdoorProfile.id}
tags:
endpoint: contoso.com
exampleFrontdoorOriginGroup:
type: azure:cdn:FrontdoorOriginGroup
name: example
properties:
name: example-originGroup
cdnFrontdoorProfileId: ${exampleFrontdoorProfile.id}
sessionAffinityEnabled: true
restoreTrafficTimeToHealedOrNewEndpointInMinutes: 10
healthProbe:
intervalInSeconds: 240
path: /healthProbe
protocol: Https
requestType: GET
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: ${exampleFrontdoorEndpoint.hostName}
httpPort: 80
httpsPort: 443
originHostHeader: contoso.com
priority: 1
weight: 500
exampleFrontdoorRuleSet:
type: azure:cdn:FrontdoorRuleSet
name: example
properties:
name: exampleruleset
cdnFrontdoorProfileId: ${exampleFrontdoorProfile.id}
exampleFrontdoorRule:
type: azure:cdn:FrontdoorRule
name: example
properties:
name: examplerule
cdnFrontdoorRuleSetId: ${exampleFrontdoorRuleSet.id}
order: 1
behaviorOnMatch: Continue
actions:
routeConfigurationOverrideAction:
cdnFrontdoorOriginGroupId: ${exampleFrontdoorOriginGroup.id}
forwardingProtocol: HttpsOnly
queryStringCachingBehavior: IncludeSpecifiedQueryStrings
queryStringParameters:
- foo
- clientIp={client_ip}
compressionEnabled: true
cacheBehavior: OverrideIfOriginMissing
cacheDuration: 365.23:59:59
urlRedirectAction:
redirectType: PermanentRedirect
redirectProtocol: MatchRequest
queryString: clientIp={client_ip}
destinationPath: /exampleredirection
destinationHostname: contoso.com
destinationFragment: UrlRedirect
conditions:
hostNameConditions:
- operator: Equal
negateCondition: false
matchValues:
- www.contoso.com
- images.contoso.com
- video.contoso.com
transforms:
- Lowercase
- Trim
isDeviceConditions:
- operator: Equal
negateCondition: false
matchValues: Mobile
postArgsConditions:
- postArgsName: customerName
operator: BeginsWith
matchValues:
- J
- K
transforms:
- Uppercase
requestMethodConditions:
- operator: Equal
negateCondition: false
matchValues:
- DELETE
urlFilenameConditions:
- operator: Equal
negateCondition: false
matchValues:
- media.mp4
transforms:
- Lowercase
- RemoveNulls
- Trim
options:
dependson:
- ${exampleFrontdoorOriginGroup}
- ${exampleFrontdoorOrigin}
Specifying IP Address Ranges
When specifying IP address ranges in the socket_address_condition
and the remote_address_condition
match_values
use the following format:
Use CIDR
notation when specifying IP address blocks. This means that the syntax for an IP address block is the base IP address followed by a forward slash and the prefix size For example:
IPv4
example:5.5.5.64/26
matches any requests that arrive from addresses5.5.5.64
through5.5.5.127
.IPv6
example:1:2:3:/48
matches any requests that arrive from addresses1:2:3:0:0:0:0:0
through1:2:3:ffff:ffff:ffff:ffff:ffff
.
When you specify multiple IP addresses and IP address blocks, OR
logic is applied.
IPv4
example: if you add two IP addresses1.2.3.4
and10.20.30.40
, the condition is matched for any requests that arrive from either address1.2.3.4
or10.20.30.40
.IPv6
example: if you add two IP addresses1:2:3:4:5:6:7:8
and10:20:30:40:50:60:70:80
, the condition is matched for any requests that arrive from either address1:2:3:4:5:6:7:8
or10:20:30:40:50:60:70:80
.
Action Server Variables
Rule Set server variables provide access to structured information about the request. You can use server variables to dynamically change the request/response headers or URL rewrite paths/query strings, for example, when a new page load or when a form is posted.
Supported Action Server Variables
Variable name | Description |
---|---|
socket_ip | The IP address of the direct connection to Front Door Profiles edge. If the client used an HTTP proxy or a load balancer to send the request, the value of socket_ip is the IP address of the proxy or load balancer. |
client_ip | The IP address of the client that made the original request. If there was an X-Forwarded-For header in the request, then the client IP address is picked from the header. |
client_port | The IP port of the client that made the request. |
hostname | The host name in the request from the client. |
geo_country | Indicates the requester’s country/region of origin through its country/region code. |
http_method | The method used to make the URL request, such as GET or POST . |
http_version | The request protocol. Usually HTTP/1.0 , HTTP/1.1 , or HTTP/2.0 . |
query_string | The list of variable/value pairs that follows the “?” in the requested URL. For example, in the request http://contoso.com:8080/article.aspx?id=123&title=fabrikam , the query_string value will be id=123&title=fabrikam . |
request_scheme | The request scheme: http or https . |
request_uri | The full original request URI (with arguments). For example, in the request http://contoso.com:8080/article.aspx?id=123&title=fabrikam , the request_uri value will be /article.aspx?id=123&title=fabrikam . |
ssl_protocol | The protocol of an established TLS connection. |
server_port | The port of the server that accepted a request. |
url_path | Identifies the specific resource in the host that the web client wants to access. This is the part of the request URI without the arguments. For example, in the request http://contoso.com:8080/article.aspx?id=123&title=fabrikam , the uri_path value will be /article.aspx . |
Action Server Variable Format
Server variables can be specified using the following formats:
{variable}
- Include the entire server variable. For example, if the client IP address is111.222.333.444
then the{client_ip}
token would evaluate to111.222.333.444
.{variable:offset}
- Include the server variable after a specific offset, until the end of the variable. The offset is zero-based. For example, if the client IP address is111.222.333.444
then the{client_ip:3}
token would evaluate to.222.333.444
.{variable:offset:length}
- Include the server variable after a specific offset, up to the specified length. The offset is zero-based. For example, if the client IP address is111.222.333.444
then the{client_ip:4:3}
token would evaluate to222
.
Action Server Variables Support
Action Server variables are supported on the following actions:
route_configuration_override_action
request_header_action
response_header_action
url_redirect_action
url_rewrite_action
Condition Operator list
For rules that accept values from the standard operator list, the following operators are valid:
Operator | Description | Condition Value |
---|---|---|
Any | Matches when there is any value, regardless of what it is. | Any |
Equal | Matches when the value exactly matches the specified string. | Equal |
Contains | Matches when the value contains the specified string. | Contains |
Less Than | Matches when the length of the value is less than the specified integer. | LessThan |
Greater Than | Matches when the length of the value is greater than the specified integer. | GreaterThan |
Less Than or Equal | Matches when the length of the value is less than or equal to the specified integer. | LessThanOrEqual |
Greater Than or Equal | Matches when the length of the value is greater than or equal to the specified integer. | GreaterThanOrEqual |
Begins With | Matches when the value begins with the specified string. | BeginsWith |
Ends With | Matches when the value ends with the specified string. | EndsWith |
RegEx | Matches when the value matches the specified regular expression. See below for further details. | RegEx |
Not Any | Matches when there is no value. | Any and negateCondition = true |
Not Equal | Matches when the value does not match the specified string. | Equal and negateCondition : true |
Not Contains | Matches when the value does not contain the specified string. | Contains and negateCondition = true |
Not Less Than | Matches when the length of the value is not less than the specified integer. | LessThan and negateCondition = true |
Not Greater Than | Matches when the length of the value is not greater than the specified integer. | GreaterThan and negateCondition = true |
Not Less Than or Equal | Matches when the length of the value is not less than or equal to the specified integer. | LessThanOrEqual and negateCondition = true |
Not Greater Than or Equals | Matches when the length of the value is not greater than or equal to the specified integer. | GreaterThanOrEqual and negateCondition = true |
Not Begins With | Matches when the value does not begin with the specified string. | BeginsWith and negateCondition = true |
Not Ends With | Matches when the value does not end with the specified string. | EndsWith and negateCondition = true |
Not RegEx | Matches when the value does not match the specified regular expression. See Condition Regular Expressions for further details. | RegEx and negateCondition = true |
Condition Regular Expressions
Regular expressions don’t support the following operations:
- Backreferences and capturing subexpressions.
- Arbitrary zero-width assertions.
- Subroutine references and recursive patterns.
- Conditional patterns.
- Backtracking control verbs.
- The
\C
single-byte directive. - The
\R
newline match directive. - The
\K
start of match reset directive. - Callouts and embedded code.
- Atomic grouping and possessive quantifiers.
Condition Transform List
For rules that can transform strings, the following transforms are valid:
Transform | Description |
---|---|
Lowercase | Converts the string to the lowercase representation. |
Uppercase | Converts the string to the uppercase representation. |
Trim | Trims leading and trailing whitespace from the string. |
RemoveNulls | Removes null values from the string. |
URLEncode | URL-encodes the string. |
URLDecode | URL-decodes the string. |
Create FrontdoorRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FrontdoorRule(name: string, args: FrontdoorRuleArgs, opts?: CustomResourceOptions);
@overload
def FrontdoorRule(resource_name: str,
args: FrontdoorRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FrontdoorRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[FrontdoorRuleActionsArgs] = None,
cdn_frontdoor_rule_set_id: Optional[str] = None,
order: Optional[int] = None,
behavior_on_match: Optional[str] = None,
conditions: Optional[FrontdoorRuleConditionsArgs] = None,
name: Optional[str] = None)
func NewFrontdoorRule(ctx *Context, name string, args FrontdoorRuleArgs, opts ...ResourceOption) (*FrontdoorRule, error)
public FrontdoorRule(string name, FrontdoorRuleArgs args, CustomResourceOptions? opts = null)
public FrontdoorRule(String name, FrontdoorRuleArgs args)
public FrontdoorRule(String name, FrontdoorRuleArgs args, CustomResourceOptions options)
type: azure:cdn:FrontdoorRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FrontdoorRuleArgs
- 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 FrontdoorRuleArgs
- 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 FrontdoorRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FrontdoorRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FrontdoorRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var frontdoorRuleResource = new Azure.Cdn.FrontdoorRule("frontdoorRuleResource", new()
{
Actions = new Azure.Cdn.Inputs.FrontdoorRuleActionsArgs
{
RequestHeaderActions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleActionsRequestHeaderActionArgs
{
HeaderAction = "string",
HeaderName = "string",
Value = "string",
},
},
ResponseHeaderActions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleActionsResponseHeaderActionArgs
{
HeaderAction = "string",
HeaderName = "string",
Value = "string",
},
},
RouteConfigurationOverrideAction = new Azure.Cdn.Inputs.FrontdoorRuleActionsRouteConfigurationOverrideActionArgs
{
CacheBehavior = "string",
CacheDuration = "string",
CdnFrontdoorOriginGroupId = "string",
CompressionEnabled = false,
ForwardingProtocol = "string",
QueryStringCachingBehavior = "string",
QueryStringParameters = new[]
{
"string",
},
},
UrlRedirectAction = new Azure.Cdn.Inputs.FrontdoorRuleActionsUrlRedirectActionArgs
{
DestinationHostname = "string",
RedirectType = "string",
DestinationFragment = "string",
DestinationPath = "string",
QueryString = "string",
RedirectProtocol = "string",
},
UrlRewriteAction = new Azure.Cdn.Inputs.FrontdoorRuleActionsUrlRewriteActionArgs
{
Destination = "string",
SourcePattern = "string",
PreserveUnmatchedPath = false,
},
},
CdnFrontdoorRuleSetId = "string",
Order = 0,
BehaviorOnMatch = "string",
Conditions = new Azure.Cdn.Inputs.FrontdoorRuleConditionsArgs
{
ClientPortConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsClientPortConditionArgs
{
Operator = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
},
},
CookiesConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsCookiesConditionArgs
{
CookieName = "string",
Operator = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
HostNameConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsHostNameConditionArgs
{
Operator = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
HttpVersionConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsHttpVersionConditionArgs
{
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Operator = "string",
},
},
IsDeviceConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsIsDeviceConditionArgs
{
MatchValues = "string",
NegateCondition = false,
Operator = "string",
},
},
PostArgsConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsPostArgsConditionArgs
{
Operator = "string",
PostArgsName = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
QueryStringConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsQueryStringConditionArgs
{
Operator = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
RemoteAddressConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsRemoteAddressConditionArgs
{
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Operator = "string",
},
},
RequestBodyConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsRequestBodyConditionArgs
{
MatchValues = new[]
{
"string",
},
Operator = "string",
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
RequestHeaderConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsRequestHeaderConditionArgs
{
HeaderName = "string",
Operator = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
RequestMethodConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsRequestMethodConditionArgs
{
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Operator = "string",
},
},
RequestSchemeConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsRequestSchemeConditionArgs
{
MatchValues = "string",
NegateCondition = false,
Operator = "string",
},
},
RequestUriConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsRequestUriConditionArgs
{
Operator = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
ServerPortConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsServerPortConditionArgs
{
MatchValues = new[]
{
"string",
},
Operator = "string",
NegateCondition = false,
},
},
SocketAddressConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsSocketAddressConditionArgs
{
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Operator = "string",
},
},
SslProtocolConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsSslProtocolConditionArgs
{
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Operator = "string",
},
},
UrlFileExtensionConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsUrlFileExtensionConditionArgs
{
MatchValues = new[]
{
"string",
},
Operator = "string",
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
UrlFilenameConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsUrlFilenameConditionArgs
{
Operator = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
UrlPathConditions = new[]
{
new Azure.Cdn.Inputs.FrontdoorRuleConditionsUrlPathConditionArgs
{
Operator = "string",
MatchValues = new[]
{
"string",
},
NegateCondition = false,
Transforms = new[]
{
"string",
},
},
},
},
Name = "string",
});
example, err := cdn.NewFrontdoorRule(ctx, "frontdoorRuleResource", &cdn.FrontdoorRuleArgs{
Actions: &cdn.FrontdoorRuleActionsArgs{
RequestHeaderActions: cdn.FrontdoorRuleActionsRequestHeaderActionArray{
&cdn.FrontdoorRuleActionsRequestHeaderActionArgs{
HeaderAction: pulumi.String("string"),
HeaderName: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ResponseHeaderActions: cdn.FrontdoorRuleActionsResponseHeaderActionArray{
&cdn.FrontdoorRuleActionsResponseHeaderActionArgs{
HeaderAction: pulumi.String("string"),
HeaderName: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
RouteConfigurationOverrideAction: &cdn.FrontdoorRuleActionsRouteConfigurationOverrideActionArgs{
CacheBehavior: pulumi.String("string"),
CacheDuration: pulumi.String("string"),
CdnFrontdoorOriginGroupId: pulumi.String("string"),
CompressionEnabled: pulumi.Bool(false),
ForwardingProtocol: pulumi.String("string"),
QueryStringCachingBehavior: pulumi.String("string"),
QueryStringParameters: pulumi.StringArray{
pulumi.String("string"),
},
},
UrlRedirectAction: &cdn.FrontdoorRuleActionsUrlRedirectActionArgs{
DestinationHostname: pulumi.String("string"),
RedirectType: pulumi.String("string"),
DestinationFragment: pulumi.String("string"),
DestinationPath: pulumi.String("string"),
QueryString: pulumi.String("string"),
RedirectProtocol: pulumi.String("string"),
},
UrlRewriteAction: &cdn.FrontdoorRuleActionsUrlRewriteActionArgs{
Destination: pulumi.String("string"),
SourcePattern: pulumi.String("string"),
PreserveUnmatchedPath: pulumi.Bool(false),
},
},
CdnFrontdoorRuleSetId: pulumi.String("string"),
Order: pulumi.Int(0),
BehaviorOnMatch: pulumi.String("string"),
Conditions: &cdn.FrontdoorRuleConditionsArgs{
ClientPortConditions: cdn.FrontdoorRuleConditionsClientPortConditionArray{
&cdn.FrontdoorRuleConditionsClientPortConditionArgs{
Operator: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
},
},
CookiesConditions: cdn.FrontdoorRuleConditionsCookiesConditionArray{
&cdn.FrontdoorRuleConditionsCookiesConditionArgs{
CookieName: pulumi.String("string"),
Operator: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
HostNameConditions: cdn.FrontdoorRuleConditionsHostNameConditionArray{
&cdn.FrontdoorRuleConditionsHostNameConditionArgs{
Operator: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
HttpVersionConditions: cdn.FrontdoorRuleConditionsHttpVersionConditionArray{
&cdn.FrontdoorRuleConditionsHttpVersionConditionArgs{
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Operator: pulumi.String("string"),
},
},
IsDeviceConditions: cdn.FrontdoorRuleConditionsIsDeviceConditionArray{
&cdn.FrontdoorRuleConditionsIsDeviceConditionArgs{
MatchValues: pulumi.String("string"),
NegateCondition: pulumi.Bool(false),
Operator: pulumi.String("string"),
},
},
PostArgsConditions: cdn.FrontdoorRuleConditionsPostArgsConditionArray{
&cdn.FrontdoorRuleConditionsPostArgsConditionArgs{
Operator: pulumi.String("string"),
PostArgsName: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
QueryStringConditions: cdn.FrontdoorRuleConditionsQueryStringConditionArray{
&cdn.FrontdoorRuleConditionsQueryStringConditionArgs{
Operator: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
RemoteAddressConditions: cdn.FrontdoorRuleConditionsRemoteAddressConditionArray{
&cdn.FrontdoorRuleConditionsRemoteAddressConditionArgs{
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Operator: pulumi.String("string"),
},
},
RequestBodyConditions: cdn.FrontdoorRuleConditionsRequestBodyConditionArray{
&cdn.FrontdoorRuleConditionsRequestBodyConditionArgs{
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
Operator: pulumi.String("string"),
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
RequestHeaderConditions: cdn.FrontdoorRuleConditionsRequestHeaderConditionArray{
&cdn.FrontdoorRuleConditionsRequestHeaderConditionArgs{
HeaderName: pulumi.String("string"),
Operator: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
RequestMethodConditions: cdn.FrontdoorRuleConditionsRequestMethodConditionArray{
&cdn.FrontdoorRuleConditionsRequestMethodConditionArgs{
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Operator: pulumi.String("string"),
},
},
RequestSchemeConditions: cdn.FrontdoorRuleConditionsRequestSchemeConditionArray{
&cdn.FrontdoorRuleConditionsRequestSchemeConditionArgs{
MatchValues: pulumi.String("string"),
NegateCondition: pulumi.Bool(false),
Operator: pulumi.String("string"),
},
},
RequestUriConditions: cdn.FrontdoorRuleConditionsRequestUriConditionArray{
&cdn.FrontdoorRuleConditionsRequestUriConditionArgs{
Operator: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ServerPortConditions: cdn.FrontdoorRuleConditionsServerPortConditionArray{
&cdn.FrontdoorRuleConditionsServerPortConditionArgs{
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
Operator: pulumi.String("string"),
NegateCondition: pulumi.Bool(false),
},
},
SocketAddressConditions: cdn.FrontdoorRuleConditionsSocketAddressConditionArray{
&cdn.FrontdoorRuleConditionsSocketAddressConditionArgs{
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Operator: pulumi.String("string"),
},
},
SslProtocolConditions: cdn.FrontdoorRuleConditionsSslProtocolConditionArray{
&cdn.FrontdoorRuleConditionsSslProtocolConditionArgs{
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Operator: pulumi.String("string"),
},
},
UrlFileExtensionConditions: cdn.FrontdoorRuleConditionsUrlFileExtensionConditionArray{
&cdn.FrontdoorRuleConditionsUrlFileExtensionConditionArgs{
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
Operator: pulumi.String("string"),
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
UrlFilenameConditions: cdn.FrontdoorRuleConditionsUrlFilenameConditionArray{
&cdn.FrontdoorRuleConditionsUrlFilenameConditionArgs{
Operator: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
UrlPathConditions: cdn.FrontdoorRuleConditionsUrlPathConditionArray{
&cdn.FrontdoorRuleConditionsUrlPathConditionArgs{
Operator: pulumi.String("string"),
MatchValues: pulumi.StringArray{
pulumi.String("string"),
},
NegateCondition: pulumi.Bool(false),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Name: pulumi.String("string"),
})
var frontdoorRuleResource = new FrontdoorRule("frontdoorRuleResource", FrontdoorRuleArgs.builder()
.actions(FrontdoorRuleActionsArgs.builder()
.requestHeaderActions(FrontdoorRuleActionsRequestHeaderActionArgs.builder()
.headerAction("string")
.headerName("string")
.value("string")
.build())
.responseHeaderActions(FrontdoorRuleActionsResponseHeaderActionArgs.builder()
.headerAction("string")
.headerName("string")
.value("string")
.build())
.routeConfigurationOverrideAction(FrontdoorRuleActionsRouteConfigurationOverrideActionArgs.builder()
.cacheBehavior("string")
.cacheDuration("string")
.cdnFrontdoorOriginGroupId("string")
.compressionEnabled(false)
.forwardingProtocol("string")
.queryStringCachingBehavior("string")
.queryStringParameters("string")
.build())
.urlRedirectAction(FrontdoorRuleActionsUrlRedirectActionArgs.builder()
.destinationHostname("string")
.redirectType("string")
.destinationFragment("string")
.destinationPath("string")
.queryString("string")
.redirectProtocol("string")
.build())
.urlRewriteAction(FrontdoorRuleActionsUrlRewriteActionArgs.builder()
.destination("string")
.sourcePattern("string")
.preserveUnmatchedPath(false)
.build())
.build())
.cdnFrontdoorRuleSetId("string")
.order(0)
.behaviorOnMatch("string")
.conditions(FrontdoorRuleConditionsArgs.builder()
.clientPortConditions(FrontdoorRuleConditionsClientPortConditionArgs.builder()
.operator("string")
.matchValues("string")
.negateCondition(false)
.build())
.cookiesConditions(FrontdoorRuleConditionsCookiesConditionArgs.builder()
.cookieName("string")
.operator("string")
.matchValues("string")
.negateCondition(false)
.transforms("string")
.build())
.hostNameConditions(FrontdoorRuleConditionsHostNameConditionArgs.builder()
.operator("string")
.matchValues("string")
.negateCondition(false)
.transforms("string")
.build())
.httpVersionConditions(FrontdoorRuleConditionsHttpVersionConditionArgs.builder()
.matchValues("string")
.negateCondition(false)
.operator("string")
.build())
.isDeviceConditions(FrontdoorRuleConditionsIsDeviceConditionArgs.builder()
.matchValues("string")
.negateCondition(false)
.operator("string")
.build())
.postArgsConditions(FrontdoorRuleConditionsPostArgsConditionArgs.builder()
.operator("string")
.postArgsName("string")
.matchValues("string")
.negateCondition(false)
.transforms("string")
.build())
.queryStringConditions(FrontdoorRuleConditionsQueryStringConditionArgs.builder()
.operator("string")
.matchValues("string")
.negateCondition(false)
.transforms("string")
.build())
.remoteAddressConditions(FrontdoorRuleConditionsRemoteAddressConditionArgs.builder()
.matchValues("string")
.negateCondition(false)
.operator("string")
.build())
.requestBodyConditions(FrontdoorRuleConditionsRequestBodyConditionArgs.builder()
.matchValues("string")
.operator("string")
.negateCondition(false)
.transforms("string")
.build())
.requestHeaderConditions(FrontdoorRuleConditionsRequestHeaderConditionArgs.builder()
.headerName("string")
.operator("string")
.matchValues("string")
.negateCondition(false)
.transforms("string")
.build())
.requestMethodConditions(FrontdoorRuleConditionsRequestMethodConditionArgs.builder()
.matchValues("string")
.negateCondition(false)
.operator("string")
.build())
.requestSchemeConditions(FrontdoorRuleConditionsRequestSchemeConditionArgs.builder()
.matchValues("string")
.negateCondition(false)
.operator("string")
.build())
.requestUriConditions(FrontdoorRuleConditionsRequestUriConditionArgs.builder()
.operator("string")
.matchValues("string")
.negateCondition(false)
.transforms("string")
.build())
.serverPortConditions(FrontdoorRuleConditionsServerPortConditionArgs.builder()
.matchValues("string")
.operator("string")
.negateCondition(false)
.build())
.socketAddressConditions(FrontdoorRuleConditionsSocketAddressConditionArgs.builder()
.matchValues("string")
.negateCondition(false)
.operator("string")
.build())
.sslProtocolConditions(FrontdoorRuleConditionsSslProtocolConditionArgs.builder()
.matchValues("string")
.negateCondition(false)
.operator("string")
.build())
.urlFileExtensionConditions(FrontdoorRuleConditionsUrlFileExtensionConditionArgs.builder()
.matchValues("string")
.operator("string")
.negateCondition(false)
.transforms("string")
.build())
.urlFilenameConditions(FrontdoorRuleConditionsUrlFilenameConditionArgs.builder()
.operator("string")
.matchValues("string")
.negateCondition(false)
.transforms("string")
.build())
.urlPathConditions(FrontdoorRuleConditionsUrlPathConditionArgs.builder()
.operator("string")
.matchValues("string")
.negateCondition(false)
.transforms("string")
.build())
.build())
.name("string")
.build());
frontdoor_rule_resource = azure.cdn.FrontdoorRule("frontdoorRuleResource",
actions={
"request_header_actions": [{
"header_action": "string",
"header_name": "string",
"value": "string",
}],
"response_header_actions": [{
"header_action": "string",
"header_name": "string",
"value": "string",
}],
"route_configuration_override_action": {
"cache_behavior": "string",
"cache_duration": "string",
"cdn_frontdoor_origin_group_id": "string",
"compression_enabled": False,
"forwarding_protocol": "string",
"query_string_caching_behavior": "string",
"query_string_parameters": ["string"],
},
"url_redirect_action": {
"destination_hostname": "string",
"redirect_type": "string",
"destination_fragment": "string",
"destination_path": "string",
"query_string": "string",
"redirect_protocol": "string",
},
"url_rewrite_action": {
"destination": "string",
"source_pattern": "string",
"preserve_unmatched_path": False,
},
},
cdn_frontdoor_rule_set_id="string",
order=0,
behavior_on_match="string",
conditions={
"client_port_conditions": [{
"operator": "string",
"match_values": ["string"],
"negate_condition": False,
}],
"cookies_conditions": [{
"cookie_name": "string",
"operator": "string",
"match_values": ["string"],
"negate_condition": False,
"transforms": ["string"],
}],
"host_name_conditions": [{
"operator": "string",
"match_values": ["string"],
"negate_condition": False,
"transforms": ["string"],
}],
"http_version_conditions": [{
"match_values": ["string"],
"negate_condition": False,
"operator": "string",
}],
"is_device_conditions": [{
"match_values": "string",
"negate_condition": False,
"operator": "string",
}],
"post_args_conditions": [{
"operator": "string",
"post_args_name": "string",
"match_values": ["string"],
"negate_condition": False,
"transforms": ["string"],
}],
"query_string_conditions": [{
"operator": "string",
"match_values": ["string"],
"negate_condition": False,
"transforms": ["string"],
}],
"remote_address_conditions": [{
"match_values": ["string"],
"negate_condition": False,
"operator": "string",
}],
"request_body_conditions": [{
"match_values": ["string"],
"operator": "string",
"negate_condition": False,
"transforms": ["string"],
}],
"request_header_conditions": [{
"header_name": "string",
"operator": "string",
"match_values": ["string"],
"negate_condition": False,
"transforms": ["string"],
}],
"request_method_conditions": [{
"match_values": ["string"],
"negate_condition": False,
"operator": "string",
}],
"request_scheme_conditions": [{
"match_values": "string",
"negate_condition": False,
"operator": "string",
}],
"request_uri_conditions": [{
"operator": "string",
"match_values": ["string"],
"negate_condition": False,
"transforms": ["string"],
}],
"server_port_conditions": [{
"match_values": ["string"],
"operator": "string",
"negate_condition": False,
}],
"socket_address_conditions": [{
"match_values": ["string"],
"negate_condition": False,
"operator": "string",
}],
"ssl_protocol_conditions": [{
"match_values": ["string"],
"negate_condition": False,
"operator": "string",
}],
"url_file_extension_conditions": [{
"match_values": ["string"],
"operator": "string",
"negate_condition": False,
"transforms": ["string"],
}],
"url_filename_conditions": [{
"operator": "string",
"match_values": ["string"],
"negate_condition": False,
"transforms": ["string"],
}],
"url_path_conditions": [{
"operator": "string",
"match_values": ["string"],
"negate_condition": False,
"transforms": ["string"],
}],
},
name="string")
const frontdoorRuleResource = new azure.cdn.FrontdoorRule("frontdoorRuleResource", {
actions: {
requestHeaderActions: [{
headerAction: "string",
headerName: "string",
value: "string",
}],
responseHeaderActions: [{
headerAction: "string",
headerName: "string",
value: "string",
}],
routeConfigurationOverrideAction: {
cacheBehavior: "string",
cacheDuration: "string",
cdnFrontdoorOriginGroupId: "string",
compressionEnabled: false,
forwardingProtocol: "string",
queryStringCachingBehavior: "string",
queryStringParameters: ["string"],
},
urlRedirectAction: {
destinationHostname: "string",
redirectType: "string",
destinationFragment: "string",
destinationPath: "string",
queryString: "string",
redirectProtocol: "string",
},
urlRewriteAction: {
destination: "string",
sourcePattern: "string",
preserveUnmatchedPath: false,
},
},
cdnFrontdoorRuleSetId: "string",
order: 0,
behaviorOnMatch: "string",
conditions: {
clientPortConditions: [{
operator: "string",
matchValues: ["string"],
negateCondition: false,
}],
cookiesConditions: [{
cookieName: "string",
operator: "string",
matchValues: ["string"],
negateCondition: false,
transforms: ["string"],
}],
hostNameConditions: [{
operator: "string",
matchValues: ["string"],
negateCondition: false,
transforms: ["string"],
}],
httpVersionConditions: [{
matchValues: ["string"],
negateCondition: false,
operator: "string",
}],
isDeviceConditions: [{
matchValues: "string",
negateCondition: false,
operator: "string",
}],
postArgsConditions: [{
operator: "string",
postArgsName: "string",
matchValues: ["string"],
negateCondition: false,
transforms: ["string"],
}],
queryStringConditions: [{
operator: "string",
matchValues: ["string"],
negateCondition: false,
transforms: ["string"],
}],
remoteAddressConditions: [{
matchValues: ["string"],
negateCondition: false,
operator: "string",
}],
requestBodyConditions: [{
matchValues: ["string"],
operator: "string",
negateCondition: false,
transforms: ["string"],
}],
requestHeaderConditions: [{
headerName: "string",
operator: "string",
matchValues: ["string"],
negateCondition: false,
transforms: ["string"],
}],
requestMethodConditions: [{
matchValues: ["string"],
negateCondition: false,
operator: "string",
}],
requestSchemeConditions: [{
matchValues: "string",
negateCondition: false,
operator: "string",
}],
requestUriConditions: [{
operator: "string",
matchValues: ["string"],
negateCondition: false,
transforms: ["string"],
}],
serverPortConditions: [{
matchValues: ["string"],
operator: "string",
negateCondition: false,
}],
socketAddressConditions: [{
matchValues: ["string"],
negateCondition: false,
operator: "string",
}],
sslProtocolConditions: [{
matchValues: ["string"],
negateCondition: false,
operator: "string",
}],
urlFileExtensionConditions: [{
matchValues: ["string"],
operator: "string",
negateCondition: false,
transforms: ["string"],
}],
urlFilenameConditions: [{
operator: "string",
matchValues: ["string"],
negateCondition: false,
transforms: ["string"],
}],
urlPathConditions: [{
operator: "string",
matchValues: ["string"],
negateCondition: false,
transforms: ["string"],
}],
},
name: "string",
});
type: azure:cdn:FrontdoorRule
properties:
actions:
requestHeaderActions:
- headerAction: string
headerName: string
value: string
responseHeaderActions:
- headerAction: string
headerName: string
value: string
routeConfigurationOverrideAction:
cacheBehavior: string
cacheDuration: string
cdnFrontdoorOriginGroupId: string
compressionEnabled: false
forwardingProtocol: string
queryStringCachingBehavior: string
queryStringParameters:
- string
urlRedirectAction:
destinationFragment: string
destinationHostname: string
destinationPath: string
queryString: string
redirectProtocol: string
redirectType: string
urlRewriteAction:
destination: string
preserveUnmatchedPath: false
sourcePattern: string
behaviorOnMatch: string
cdnFrontdoorRuleSetId: string
conditions:
clientPortConditions:
- matchValues:
- string
negateCondition: false
operator: string
cookiesConditions:
- cookieName: string
matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
hostNameConditions:
- matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
httpVersionConditions:
- matchValues:
- string
negateCondition: false
operator: string
isDeviceConditions:
- matchValues: string
negateCondition: false
operator: string
postArgsConditions:
- matchValues:
- string
negateCondition: false
operator: string
postArgsName: string
transforms:
- string
queryStringConditions:
- matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
remoteAddressConditions:
- matchValues:
- string
negateCondition: false
operator: string
requestBodyConditions:
- matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
requestHeaderConditions:
- headerName: string
matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
requestMethodConditions:
- matchValues:
- string
negateCondition: false
operator: string
requestSchemeConditions:
- matchValues: string
negateCondition: false
operator: string
requestUriConditions:
- matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
serverPortConditions:
- matchValues:
- string
negateCondition: false
operator: string
socketAddressConditions:
- matchValues:
- string
negateCondition: false
operator: string
sslProtocolConditions:
- matchValues:
- string
negateCondition: false
operator: string
urlFileExtensionConditions:
- matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
urlFilenameConditions:
- matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
urlPathConditions:
- matchValues:
- string
negateCondition: false
operator: string
transforms:
- string
name: string
order: 0
FrontdoorRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FrontdoorRule resource accepts the following input properties:
- Actions
Frontdoor
Rule Actions - An
actions
block as defined below. - Cdn
Frontdoor stringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- Order int
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.- Behavior
On stringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - Conditions
Frontdoor
Rule Conditions - A
conditions
block as defined below. - Name string
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- Actions
Frontdoor
Rule Actions Args - An
actions
block as defined below. - Cdn
Frontdoor stringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- Order int
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.- Behavior
On stringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - Conditions
Frontdoor
Rule Conditions Args - A
conditions
block as defined below. - Name string
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- actions
Frontdoor
Rule Actions - An
actions
block as defined below. - cdn
Frontdoor StringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- order Integer
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.- behavior
On StringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - conditions
Frontdoor
Rule Conditions - A
conditions
block as defined below. - name String
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- actions
Frontdoor
Rule Actions - An
actions
block as defined below. - cdn
Frontdoor stringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- order number
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.- behavior
On stringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - conditions
Frontdoor
Rule Conditions - A
conditions
block as defined below. - name string
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- actions
Frontdoor
Rule Actions Args - An
actions
block as defined below. - cdn_
frontdoor_ strrule_ set_ id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- order int
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.- behavior_
on_ strmatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - conditions
Frontdoor
Rule Conditions Args - A
conditions
block as defined below. - name str
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- actions Property Map
- An
actions
block as defined below. - cdn
Frontdoor StringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- order Number
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.- behavior
On StringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - conditions Property Map
- A
conditions
block as defined below. - name String
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the FrontdoorRule resource produces the following output properties:
- Cdn
Frontdoor stringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Cdn
Frontdoor stringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- cdn
Frontdoor StringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- id String
- The provider-assigned unique ID for this managed resource.
- cdn
Frontdoor stringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- id string
- The provider-assigned unique ID for this managed resource.
- cdn_
frontdoor_ strrule_ set_ name - The name of the Front Door Rule Set containing this Front Door Rule.
- id str
- The provider-assigned unique ID for this managed resource.
- cdn
Frontdoor StringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing FrontdoorRule Resource
Get an existing FrontdoorRule 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?: FrontdoorRuleState, opts?: CustomResourceOptions): FrontdoorRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[FrontdoorRuleActionsArgs] = None,
behavior_on_match: Optional[str] = None,
cdn_frontdoor_rule_set_id: Optional[str] = None,
cdn_frontdoor_rule_set_name: Optional[str] = None,
conditions: Optional[FrontdoorRuleConditionsArgs] = None,
name: Optional[str] = None,
order: Optional[int] = None) -> FrontdoorRule
func GetFrontdoorRule(ctx *Context, name string, id IDInput, state *FrontdoorRuleState, opts ...ResourceOption) (*FrontdoorRule, error)
public static FrontdoorRule Get(string name, Input<string> id, FrontdoorRuleState? state, CustomResourceOptions? opts = null)
public static FrontdoorRule get(String name, Output<String> id, FrontdoorRuleState 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.
- Actions
Frontdoor
Rule Actions - An
actions
block as defined below. - Behavior
On stringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - Cdn
Frontdoor stringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- Cdn
Frontdoor stringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- Conditions
Frontdoor
Rule Conditions - A
conditions
block as defined below. - Name string
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- Order int
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.
- Actions
Frontdoor
Rule Actions Args - An
actions
block as defined below. - Behavior
On stringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - Cdn
Frontdoor stringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- Cdn
Frontdoor stringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- Conditions
Frontdoor
Rule Conditions Args - A
conditions
block as defined below. - Name string
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- Order int
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.
- actions
Frontdoor
Rule Actions - An
actions
block as defined below. - behavior
On StringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - cdn
Frontdoor StringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- cdn
Frontdoor StringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- conditions
Frontdoor
Rule Conditions - A
conditions
block as defined below. - name String
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- order Integer
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.
- actions
Frontdoor
Rule Actions - An
actions
block as defined below. - behavior
On stringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - cdn
Frontdoor stringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- cdn
Frontdoor stringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- conditions
Frontdoor
Rule Conditions - A
conditions
block as defined below. - name string
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- order number
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.
- actions
Frontdoor
Rule Actions Args - An
actions
block as defined below. - behavior_
on_ strmatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - cdn_
frontdoor_ strrule_ set_ id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- cdn_
frontdoor_ strrule_ set_ name - The name of the Front Door Rule Set containing this Front Door Rule.
- conditions
Frontdoor
Rule Conditions Args - A
conditions
block as defined below. - name str
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- order int
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.
- actions Property Map
- An
actions
block as defined below. - behavior
On StringMatch - If this rule is a match should the rules engine continue processing the remaining rules or stop? Possible values are
Continue
andStop
. Defaults toContinue
. - cdn
Frontdoor StringRule Set Id - The resource ID of the Front Door Rule Set for this Front Door Rule. Changing this forces a new Front Door Rule to be created.
- cdn
Frontdoor StringRule Set Name - The name of the Front Door Rule Set containing this Front Door Rule.
- conditions Property Map
- A
conditions
block as defined below. - name String
- The name which should be used for this Front Door Rule. Possible values must be between 1 and 260 characters in length, begin with a letter and may contain only letters and numbers. Changing this forces a new Front Door Rule to be created.
- order Number
The order in which the rules will be applied for the Front Door Endpoint. The order value should be sequential and begin at
1
(e.g.1
,2
,3
...). A Front Door Rule with a lesser order value will be applied before a rule with a greater order value.->NOTE: If the Front Door Rule has an order value of
0
they do not require any conditions and the actions will always be applied.
Supporting Types
FrontdoorRuleActions, FrontdoorRuleActionsArgs
- Request
Header List<FrontdoorActions Rule Actions Request Header Action> - A
request_header_action
block as defined below. - Response
Header List<FrontdoorActions Rule Actions Response Header Action> - A
response_header_action
block as defined below. - Route
Configuration FrontdoorOverride Action Rule Actions Route Configuration Override Action - A
route_configuration_override_action
block as defined below. - Url
Redirect FrontdoorAction Rule Actions Url Redirect Action - A
url_redirect_action
block as defined below. You may not have aurl_redirect_action
and aurl_rewrite_action
defined in the sameactions
block. - Url
Rewrite FrontdoorAction Rule Actions Url Rewrite Action - A
url_rewrite_action
block as defined below. You may not have aurl_rewrite_action
and aurl_redirect_action
defined in the sameactions
block.
- Request
Header []FrontdoorActions Rule Actions Request Header Action - A
request_header_action
block as defined below. - Response
Header []FrontdoorActions Rule Actions Response Header Action - A
response_header_action
block as defined below. - Route
Configuration FrontdoorOverride Action Rule Actions Route Configuration Override Action - A
route_configuration_override_action
block as defined below. - Url
Redirect FrontdoorAction Rule Actions Url Redirect Action - A
url_redirect_action
block as defined below. You may not have aurl_redirect_action
and aurl_rewrite_action
defined in the sameactions
block. - Url
Rewrite FrontdoorAction Rule Actions Url Rewrite Action - A
url_rewrite_action
block as defined below. You may not have aurl_rewrite_action
and aurl_redirect_action
defined in the sameactions
block.
- request
Header List<FrontdoorActions Rule Actions Request Header Action> - A
request_header_action
block as defined below. - response
Header List<FrontdoorActions Rule Actions Response Header Action> - A
response_header_action
block as defined below. - route
Configuration FrontdoorOverride Action Rule Actions Route Configuration Override Action - A
route_configuration_override_action
block as defined below. - url
Redirect FrontdoorAction Rule Actions Url Redirect Action - A
url_redirect_action
block as defined below. You may not have aurl_redirect_action
and aurl_rewrite_action
defined in the sameactions
block. - url
Rewrite FrontdoorAction Rule Actions Url Rewrite Action - A
url_rewrite_action
block as defined below. You may not have aurl_rewrite_action
and aurl_redirect_action
defined in the sameactions
block.
- request
Header FrontdoorActions Rule Actions Request Header Action[] - A
request_header_action
block as defined below. - response
Header FrontdoorActions Rule Actions Response Header Action[] - A
response_header_action
block as defined below. - route
Configuration FrontdoorOverride Action Rule Actions Route Configuration Override Action - A
route_configuration_override_action
block as defined below. - url
Redirect FrontdoorAction Rule Actions Url Redirect Action - A
url_redirect_action
block as defined below. You may not have aurl_redirect_action
and aurl_rewrite_action
defined in the sameactions
block. - url
Rewrite FrontdoorAction Rule Actions Url Rewrite Action - A
url_rewrite_action
block as defined below. You may not have aurl_rewrite_action
and aurl_redirect_action
defined in the sameactions
block.
- request_
header_ Sequence[Frontdooractions Rule Actions Request Header Action] - A
request_header_action
block as defined below. - response_
header_ Sequence[Frontdooractions Rule Actions Response Header Action] - A
response_header_action
block as defined below. - route_
configuration_ Frontdooroverride_ action Rule Actions Route Configuration Override Action - A
route_configuration_override_action
block as defined below. - url_
redirect_ Frontdooraction Rule Actions Url Redirect Action - A
url_redirect_action
block as defined below. You may not have aurl_redirect_action
and aurl_rewrite_action
defined in the sameactions
block. - url_
rewrite_ Frontdooraction Rule Actions Url Rewrite Action - A
url_rewrite_action
block as defined below. You may not have aurl_rewrite_action
and aurl_redirect_action
defined in the sameactions
block.
- request
Header List<Property Map>Actions - A
request_header_action
block as defined below. - response
Header List<Property Map>Actions - A
response_header_action
block as defined below. - route
Configuration Property MapOverride Action - A
route_configuration_override_action
block as defined below. - url
Redirect Property MapAction - A
url_redirect_action
block as defined below. You may not have aurl_redirect_action
and aurl_rewrite_action
defined in the sameactions
block. - url
Rewrite Property MapAction - A
url_rewrite_action
block as defined below. You may not have aurl_rewrite_action
and aurl_redirect_action
defined in the sameactions
block.
FrontdoorRuleActionsRequestHeaderAction, FrontdoorRuleActionsRequestHeaderActionArgs
- Header
Action string The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- Header
Name string - The name of the header to modify.
- Value string
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- Header
Action string The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- Header
Name string - The name of the header to modify.
- Value string
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- header
Action String The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- header
Name String - The name of the header to modify.
- value String
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- header
Action string The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- header
Name string - The name of the header to modify.
- value string
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- header_
action str The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- header_
name str - The name of the header to modify.
- value str
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- header
Action String The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- header
Name String - The name of the header to modify.
- value String
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
FrontdoorRuleActionsResponseHeaderAction, FrontdoorRuleActionsResponseHeaderActionArgs
- Header
Action string The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- Header
Name string - The name of the header to modify.
- Value string
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- Header
Action string The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- Header
Name string - The name of the header to modify.
- Value string
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- header
Action String The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- header
Name String - The name of the header to modify.
- value String
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- header
Action string The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- header
Name string - The name of the header to modify.
- value string
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- header_
action str The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- header_
name str - The name of the header to modify.
- value str
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
- header
Action String The action to be taken on the specified
header_name
. Possible values includeAppend
,Overwrite
orDelete
.NOTE:
Append
causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added.Overwrite
causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value.Delete
causes the header to be deleted from the request.- header
Name String - The name of the header to modify.
- value String
The value to append or overwrite.
->NOTE:
value
is required if theheader_action
is set toAppend
orOverwrite
.
FrontdoorRuleActionsRouteConfigurationOverrideAction, FrontdoorRuleActionsRouteConfigurationOverrideActionArgs
- Cache
Behavior string HonorOrigin
the Front Door will always honor origin response header directive. If the origin directive is missing, Front Door will cache contents anywhere from1
to3
days.OverrideAlways
the TTL value returned from your Front Door Origin is overwritten with the value specified in the action. This behavior will only be applied if the response is cacheable.OverrideIfOriginMissing
if no TTL value gets returned from your Front Door Origin, the rule sets the TTL to the value specified in the action. This behavior will only be applied if the response is cacheable.Disabled
the Front Door will not cache the response contents, irrespective of Front Door Origin response directives. Possible values includeHonorOrigin
,OverrideAlways
,OverrideIfOriginMissing
orDisabled
.- Cache
Duration string - When Cache behavior is set to
Override
orSetIfMissing
, this field specifies the cache duration to use. The maximum duration is 366 days specified in thed.HH:MM:SS
format(e.g.365.23:59:59
). If the desired maximum cache duration is less than 1 day then the maximum cache duration should be specified in theHH:MM:SS
format(e.g.23:59:59
). - Cdn
Frontdoor stringOrigin Group Id - The Front Door Origin Group resource ID that the request should be routed to. This overrides the configuration specified in the Front Door Endpoint route.
- Compression
Enabled bool Should the Front Door dynamically compress the content? Possible values include
true
orfalse
.->NOTE: Content won't be compressed on AzureFrontDoor when requested content is smaller than
1 byte
or larger than1 MB
.- Forwarding
Protocol string The forwarding protocol the request will be redirected as. This overrides the configuration specified in the route to be associated with. Possible values include
MatchRequest
,HttpOnly
orHttpsOnly
.->NOTE: If the
cdn_frontdoor_origin_group_id
is not defined you cannot set theforwarding_protocol
.- Query
String stringCaching Behavior IncludeSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get included when the cache key gets generated.UseQueryString
cache every unique URL, each unique URL will have its own cache key.IgnoreSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get excluded when the cache key gets generated.IgnoreQueryString
query strings aren't considered when the cache key gets generated. Possible values includeIgnoreQueryString
,UseQueryString
,IgnoreSpecifiedQueryStrings
orIncludeSpecifiedQueryStrings
.- Query
String List<string>Parameters A list of query string parameter names.
->NOTE:
query_string_parameters
is a required field when thequery_string_caching_behavior
is set toIncludeSpecifiedQueryStrings
orIgnoreSpecifiedQueryStrings
.
- Cache
Behavior string HonorOrigin
the Front Door will always honor origin response header directive. If the origin directive is missing, Front Door will cache contents anywhere from1
to3
days.OverrideAlways
the TTL value returned from your Front Door Origin is overwritten with the value specified in the action. This behavior will only be applied if the response is cacheable.OverrideIfOriginMissing
if no TTL value gets returned from your Front Door Origin, the rule sets the TTL to the value specified in the action. This behavior will only be applied if the response is cacheable.Disabled
the Front Door will not cache the response contents, irrespective of Front Door Origin response directives. Possible values includeHonorOrigin
,OverrideAlways
,OverrideIfOriginMissing
orDisabled
.- Cache
Duration string - When Cache behavior is set to
Override
orSetIfMissing
, this field specifies the cache duration to use. The maximum duration is 366 days specified in thed.HH:MM:SS
format(e.g.365.23:59:59
). If the desired maximum cache duration is less than 1 day then the maximum cache duration should be specified in theHH:MM:SS
format(e.g.23:59:59
). - Cdn
Frontdoor stringOrigin Group Id - The Front Door Origin Group resource ID that the request should be routed to. This overrides the configuration specified in the Front Door Endpoint route.
- Compression
Enabled bool Should the Front Door dynamically compress the content? Possible values include
true
orfalse
.->NOTE: Content won't be compressed on AzureFrontDoor when requested content is smaller than
1 byte
or larger than1 MB
.- Forwarding
Protocol string The forwarding protocol the request will be redirected as. This overrides the configuration specified in the route to be associated with. Possible values include
MatchRequest
,HttpOnly
orHttpsOnly
.->NOTE: If the
cdn_frontdoor_origin_group_id
is not defined you cannot set theforwarding_protocol
.- Query
String stringCaching Behavior IncludeSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get included when the cache key gets generated.UseQueryString
cache every unique URL, each unique URL will have its own cache key.IgnoreSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get excluded when the cache key gets generated.IgnoreQueryString
query strings aren't considered when the cache key gets generated. Possible values includeIgnoreQueryString
,UseQueryString
,IgnoreSpecifiedQueryStrings
orIncludeSpecifiedQueryStrings
.- Query
String []stringParameters A list of query string parameter names.
->NOTE:
query_string_parameters
is a required field when thequery_string_caching_behavior
is set toIncludeSpecifiedQueryStrings
orIgnoreSpecifiedQueryStrings
.
- cache
Behavior String HonorOrigin
the Front Door will always honor origin response header directive. If the origin directive is missing, Front Door will cache contents anywhere from1
to3
days.OverrideAlways
the TTL value returned from your Front Door Origin is overwritten with the value specified in the action. This behavior will only be applied if the response is cacheable.OverrideIfOriginMissing
if no TTL value gets returned from your Front Door Origin, the rule sets the TTL to the value specified in the action. This behavior will only be applied if the response is cacheable.Disabled
the Front Door will not cache the response contents, irrespective of Front Door Origin response directives. Possible values includeHonorOrigin
,OverrideAlways
,OverrideIfOriginMissing
orDisabled
.- cache
Duration String - When Cache behavior is set to
Override
orSetIfMissing
, this field specifies the cache duration to use. The maximum duration is 366 days specified in thed.HH:MM:SS
format(e.g.365.23:59:59
). If the desired maximum cache duration is less than 1 day then the maximum cache duration should be specified in theHH:MM:SS
format(e.g.23:59:59
). - cdn
Frontdoor StringOrigin Group Id - The Front Door Origin Group resource ID that the request should be routed to. This overrides the configuration specified in the Front Door Endpoint route.
- compression
Enabled Boolean Should the Front Door dynamically compress the content? Possible values include
true
orfalse
.->NOTE: Content won't be compressed on AzureFrontDoor when requested content is smaller than
1 byte
or larger than1 MB
.- forwarding
Protocol String The forwarding protocol the request will be redirected as. This overrides the configuration specified in the route to be associated with. Possible values include
MatchRequest
,HttpOnly
orHttpsOnly
.->NOTE: If the
cdn_frontdoor_origin_group_id
is not defined you cannot set theforwarding_protocol
.- query
String StringCaching Behavior IncludeSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get included when the cache key gets generated.UseQueryString
cache every unique URL, each unique URL will have its own cache key.IgnoreSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get excluded when the cache key gets generated.IgnoreQueryString
query strings aren't considered when the cache key gets generated. Possible values includeIgnoreQueryString
,UseQueryString
,IgnoreSpecifiedQueryStrings
orIncludeSpecifiedQueryStrings
.- query
String List<String>Parameters A list of query string parameter names.
->NOTE:
query_string_parameters
is a required field when thequery_string_caching_behavior
is set toIncludeSpecifiedQueryStrings
orIgnoreSpecifiedQueryStrings
.
- cache
Behavior string HonorOrigin
the Front Door will always honor origin response header directive. If the origin directive is missing, Front Door will cache contents anywhere from1
to3
days.OverrideAlways
the TTL value returned from your Front Door Origin is overwritten with the value specified in the action. This behavior will only be applied if the response is cacheable.OverrideIfOriginMissing
if no TTL value gets returned from your Front Door Origin, the rule sets the TTL to the value specified in the action. This behavior will only be applied if the response is cacheable.Disabled
the Front Door will not cache the response contents, irrespective of Front Door Origin response directives. Possible values includeHonorOrigin
,OverrideAlways
,OverrideIfOriginMissing
orDisabled
.- cache
Duration string - When Cache behavior is set to
Override
orSetIfMissing
, this field specifies the cache duration to use. The maximum duration is 366 days specified in thed.HH:MM:SS
format(e.g.365.23:59:59
). If the desired maximum cache duration is less than 1 day then the maximum cache duration should be specified in theHH:MM:SS
format(e.g.23:59:59
). - cdn
Frontdoor stringOrigin Group Id - The Front Door Origin Group resource ID that the request should be routed to. This overrides the configuration specified in the Front Door Endpoint route.
- compression
Enabled boolean Should the Front Door dynamically compress the content? Possible values include
true
orfalse
.->NOTE: Content won't be compressed on AzureFrontDoor when requested content is smaller than
1 byte
or larger than1 MB
.- forwarding
Protocol string The forwarding protocol the request will be redirected as. This overrides the configuration specified in the route to be associated with. Possible values include
MatchRequest
,HttpOnly
orHttpsOnly
.->NOTE: If the
cdn_frontdoor_origin_group_id
is not defined you cannot set theforwarding_protocol
.- query
String stringCaching Behavior IncludeSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get included when the cache key gets generated.UseQueryString
cache every unique URL, each unique URL will have its own cache key.IgnoreSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get excluded when the cache key gets generated.IgnoreQueryString
query strings aren't considered when the cache key gets generated. Possible values includeIgnoreQueryString
,UseQueryString
,IgnoreSpecifiedQueryStrings
orIncludeSpecifiedQueryStrings
.- query
String string[]Parameters A list of query string parameter names.
->NOTE:
query_string_parameters
is a required field when thequery_string_caching_behavior
is set toIncludeSpecifiedQueryStrings
orIgnoreSpecifiedQueryStrings
.
- cache_
behavior str HonorOrigin
the Front Door will always honor origin response header directive. If the origin directive is missing, Front Door will cache contents anywhere from1
to3
days.OverrideAlways
the TTL value returned from your Front Door Origin is overwritten with the value specified in the action. This behavior will only be applied if the response is cacheable.OverrideIfOriginMissing
if no TTL value gets returned from your Front Door Origin, the rule sets the TTL to the value specified in the action. This behavior will only be applied if the response is cacheable.Disabled
the Front Door will not cache the response contents, irrespective of Front Door Origin response directives. Possible values includeHonorOrigin
,OverrideAlways
,OverrideIfOriginMissing
orDisabled
.- cache_
duration str - When Cache behavior is set to
Override
orSetIfMissing
, this field specifies the cache duration to use. The maximum duration is 366 days specified in thed.HH:MM:SS
format(e.g.365.23:59:59
). If the desired maximum cache duration is less than 1 day then the maximum cache duration should be specified in theHH:MM:SS
format(e.g.23:59:59
). - cdn_
frontdoor_ strorigin_ group_ id - The Front Door Origin Group resource ID that the request should be routed to. This overrides the configuration specified in the Front Door Endpoint route.
- compression_
enabled bool Should the Front Door dynamically compress the content? Possible values include
true
orfalse
.->NOTE: Content won't be compressed on AzureFrontDoor when requested content is smaller than
1 byte
or larger than1 MB
.- forwarding_
protocol str The forwarding protocol the request will be redirected as. This overrides the configuration specified in the route to be associated with. Possible values include
MatchRequest
,HttpOnly
orHttpsOnly
.->NOTE: If the
cdn_frontdoor_origin_group_id
is not defined you cannot set theforwarding_protocol
.- query_
string_ strcaching_ behavior IncludeSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get included when the cache key gets generated.UseQueryString
cache every unique URL, each unique URL will have its own cache key.IgnoreSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get excluded when the cache key gets generated.IgnoreQueryString
query strings aren't considered when the cache key gets generated. Possible values includeIgnoreQueryString
,UseQueryString
,IgnoreSpecifiedQueryStrings
orIncludeSpecifiedQueryStrings
.- query_
string_ Sequence[str]parameters A list of query string parameter names.
->NOTE:
query_string_parameters
is a required field when thequery_string_caching_behavior
is set toIncludeSpecifiedQueryStrings
orIgnoreSpecifiedQueryStrings
.
- cache
Behavior String HonorOrigin
the Front Door will always honor origin response header directive. If the origin directive is missing, Front Door will cache contents anywhere from1
to3
days.OverrideAlways
the TTL value returned from your Front Door Origin is overwritten with the value specified in the action. This behavior will only be applied if the response is cacheable.OverrideIfOriginMissing
if no TTL value gets returned from your Front Door Origin, the rule sets the TTL to the value specified in the action. This behavior will only be applied if the response is cacheable.Disabled
the Front Door will not cache the response contents, irrespective of Front Door Origin response directives. Possible values includeHonorOrigin
,OverrideAlways
,OverrideIfOriginMissing
orDisabled
.- cache
Duration String - When Cache behavior is set to
Override
orSetIfMissing
, this field specifies the cache duration to use. The maximum duration is 366 days specified in thed.HH:MM:SS
format(e.g.365.23:59:59
). If the desired maximum cache duration is less than 1 day then the maximum cache duration should be specified in theHH:MM:SS
format(e.g.23:59:59
). - cdn
Frontdoor StringOrigin Group Id - The Front Door Origin Group resource ID that the request should be routed to. This overrides the configuration specified in the Front Door Endpoint route.
- compression
Enabled Boolean Should the Front Door dynamically compress the content? Possible values include
true
orfalse
.->NOTE: Content won't be compressed on AzureFrontDoor when requested content is smaller than
1 byte
or larger than1 MB
.- forwarding
Protocol String The forwarding protocol the request will be redirected as. This overrides the configuration specified in the route to be associated with. Possible values include
MatchRequest
,HttpOnly
orHttpsOnly
.->NOTE: If the
cdn_frontdoor_origin_group_id
is not defined you cannot set theforwarding_protocol
.- query
String StringCaching Behavior IncludeSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get included when the cache key gets generated.UseQueryString
cache every unique URL, each unique URL will have its own cache key.IgnoreSpecifiedQueryStrings
query strings specified in thequery_string_parameters
field get excluded when the cache key gets generated.IgnoreQueryString
query strings aren't considered when the cache key gets generated. Possible values includeIgnoreQueryString
,UseQueryString
,IgnoreSpecifiedQueryStrings
orIncludeSpecifiedQueryStrings
.- query
String List<String>Parameters A list of query string parameter names.
->NOTE:
query_string_parameters
is a required field when thequery_string_caching_behavior
is set toIncludeSpecifiedQueryStrings
orIgnoreSpecifiedQueryStrings
.
FrontdoorRuleActionsUrlRedirectAction, FrontdoorRuleActionsUrlRedirectActionArgs
- Destination
Hostname string - The host name you want the request to be redirected to. The value must be a string between
0
and2048
characters in length, leave blank to preserve the incoming host. - Redirect
Type string - The response type to return to the requestor. Possible values include
Moved
,Found
,TemporaryRedirect
orPermanentRedirect
. - Destination
Fragment string - The fragment to use in the redirect. The value must be a string between
0
and1024
characters in length, leave blank to preserve the incoming fragment. Defaults to""
. - Destination
Path string - The path to use in the redirect. The value must be a string and include the leading
/
, leave blank to preserve the incoming path. Defaults to""
. - Query
String string - The query string used in the redirect URL. The value must be in the <key>=<value> or <key>={
action_server_variable
} format and must not include the leading?
, leave blank to preserve the incoming query string. Maximum allowed length for this field is2048
characters. Defaults to""
. - Redirect
Protocol string - The protocol the request will be redirected as. Possible values include
MatchRequest
,Http
orHttps
. Defaults toMatchRequest
.
- Destination
Hostname string - The host name you want the request to be redirected to. The value must be a string between
0
and2048
characters in length, leave blank to preserve the incoming host. - Redirect
Type string - The response type to return to the requestor. Possible values include
Moved
,Found
,TemporaryRedirect
orPermanentRedirect
. - Destination
Fragment string - The fragment to use in the redirect. The value must be a string between
0
and1024
characters in length, leave blank to preserve the incoming fragment. Defaults to""
. - Destination
Path string - The path to use in the redirect. The value must be a string and include the leading
/
, leave blank to preserve the incoming path. Defaults to""
. - Query
String string - The query string used in the redirect URL. The value must be in the <key>=<value> or <key>={
action_server_variable
} format and must not include the leading?
, leave blank to preserve the incoming query string. Maximum allowed length for this field is2048
characters. Defaults to""
. - Redirect
Protocol string - The protocol the request will be redirected as. Possible values include
MatchRequest
,Http
orHttps
. Defaults toMatchRequest
.
- destination
Hostname String - The host name you want the request to be redirected to. The value must be a string between
0
and2048
characters in length, leave blank to preserve the incoming host. - redirect
Type String - The response type to return to the requestor. Possible values include
Moved
,Found
,TemporaryRedirect
orPermanentRedirect
. - destination
Fragment String - The fragment to use in the redirect. The value must be a string between
0
and1024
characters in length, leave blank to preserve the incoming fragment. Defaults to""
. - destination
Path String - The path to use in the redirect. The value must be a string and include the leading
/
, leave blank to preserve the incoming path. Defaults to""
. - query
String String - The query string used in the redirect URL. The value must be in the <key>=<value> or <key>={
action_server_variable
} format and must not include the leading?
, leave blank to preserve the incoming query string. Maximum allowed length for this field is2048
characters. Defaults to""
. - redirect
Protocol String - The protocol the request will be redirected as. Possible values include
MatchRequest
,Http
orHttps
. Defaults toMatchRequest
.
- destination
Hostname string - The host name you want the request to be redirected to. The value must be a string between
0
and2048
characters in length, leave blank to preserve the incoming host. - redirect
Type string - The response type to return to the requestor. Possible values include
Moved
,Found
,TemporaryRedirect
orPermanentRedirect
. - destination
Fragment string - The fragment to use in the redirect. The value must be a string between
0
and1024
characters in length, leave blank to preserve the incoming fragment. Defaults to""
. - destination
Path string - The path to use in the redirect. The value must be a string and include the leading
/
, leave blank to preserve the incoming path. Defaults to""
. - query
String string - The query string used in the redirect URL. The value must be in the <key>=<value> or <key>={
action_server_variable
} format and must not include the leading?
, leave blank to preserve the incoming query string. Maximum allowed length for this field is2048
characters. Defaults to""
. - redirect
Protocol string - The protocol the request will be redirected as. Possible values include
MatchRequest
,Http
orHttps
. Defaults toMatchRequest
.
- destination_
hostname str - The host name you want the request to be redirected to. The value must be a string between
0
and2048
characters in length, leave blank to preserve the incoming host. - redirect_
type str - The response type to return to the requestor. Possible values include
Moved
,Found
,TemporaryRedirect
orPermanentRedirect
. - destination_
fragment str - The fragment to use in the redirect. The value must be a string between
0
and1024
characters in length, leave blank to preserve the incoming fragment. Defaults to""
. - destination_
path str - The path to use in the redirect. The value must be a string and include the leading
/
, leave blank to preserve the incoming path. Defaults to""
. - query_
string str - The query string used in the redirect URL. The value must be in the <key>=<value> or <key>={
action_server_variable
} format and must not include the leading?
, leave blank to preserve the incoming query string. Maximum allowed length for this field is2048
characters. Defaults to""
. - redirect_
protocol str - The protocol the request will be redirected as. Possible values include
MatchRequest
,Http
orHttps
. Defaults toMatchRequest
.
- destination
Hostname String - The host name you want the request to be redirected to. The value must be a string between
0
and2048
characters in length, leave blank to preserve the incoming host. - redirect
Type String - The response type to return to the requestor. Possible values include
Moved
,Found
,TemporaryRedirect
orPermanentRedirect
. - destination
Fragment String - The fragment to use in the redirect. The value must be a string between
0
and1024
characters in length, leave blank to preserve the incoming fragment. Defaults to""
. - destination
Path String - The path to use in the redirect. The value must be a string and include the leading
/
, leave blank to preserve the incoming path. Defaults to""
. - query
String String - The query string used in the redirect URL. The value must be in the <key>=<value> or <key>={
action_server_variable
} format and must not include the leading?
, leave blank to preserve the incoming query string. Maximum allowed length for this field is2048
characters. Defaults to""
. - redirect
Protocol String - The protocol the request will be redirected as. Possible values include
MatchRequest
,Http
orHttps
. Defaults toMatchRequest
.
FrontdoorRuleActionsUrlRewriteAction, FrontdoorRuleActionsUrlRewriteActionArgs
- Destination string
- The destination path to use in the rewrite. The destination path overwrites the source pattern.
- Source
Pattern string - The source pattern in the URL path to replace. This uses prefix-based matching. For example, to match all URL paths use a forward slash
"/"
as the source pattern value. - Preserve
Unmatched boolPath - Append the remaining path after the source pattern to the new destination path? Possible values
true
orfalse
. Defaults tofalse
.
- Destination string
- The destination path to use in the rewrite. The destination path overwrites the source pattern.
- Source
Pattern string - The source pattern in the URL path to replace. This uses prefix-based matching. For example, to match all URL paths use a forward slash
"/"
as the source pattern value. - Preserve
Unmatched boolPath - Append the remaining path after the source pattern to the new destination path? Possible values
true
orfalse
. Defaults tofalse
.
- destination String
- The destination path to use in the rewrite. The destination path overwrites the source pattern.
- source
Pattern String - The source pattern in the URL path to replace. This uses prefix-based matching. For example, to match all URL paths use a forward slash
"/"
as the source pattern value. - preserve
Unmatched BooleanPath - Append the remaining path after the source pattern to the new destination path? Possible values
true
orfalse
. Defaults tofalse
.
- destination string
- The destination path to use in the rewrite. The destination path overwrites the source pattern.
- source
Pattern string - The source pattern in the URL path to replace. This uses prefix-based matching. For example, to match all URL paths use a forward slash
"/"
as the source pattern value. - preserve
Unmatched booleanPath - Append the remaining path after the source pattern to the new destination path? Possible values
true
orfalse
. Defaults tofalse
.
- destination str
- The destination path to use in the rewrite. The destination path overwrites the source pattern.
- source_
pattern str - The source pattern in the URL path to replace. This uses prefix-based matching. For example, to match all URL paths use a forward slash
"/"
as the source pattern value. - preserve_
unmatched_ boolpath - Append the remaining path after the source pattern to the new destination path? Possible values
true
orfalse
. Defaults tofalse
.
- destination String
- The destination path to use in the rewrite. The destination path overwrites the source pattern.
- source
Pattern String - The source pattern in the URL path to replace. This uses prefix-based matching. For example, to match all URL paths use a forward slash
"/"
as the source pattern value. - preserve
Unmatched BooleanPath - Append the remaining path after the source pattern to the new destination path? Possible values
true
orfalse
. Defaults tofalse
.
FrontdoorRuleConditions, FrontdoorRuleConditionsArgs
- Client
Port List<FrontdoorConditions Rule Conditions Client Port Condition> - A
client_port_condition
block as defined below. - List<Frontdoor
Rule Conditions Cookies Condition> - A
cookies_condition
block as defined below. - Host
Name List<FrontdoorConditions Rule Conditions Host Name Condition> - A
host_name_condition
block as defined below. - Http
Version List<FrontdoorConditions Rule Conditions Http Version Condition> - A
http_version_condition
block as defined below. - Is
Device List<FrontdoorConditions Rule Conditions Is Device Condition> - A
is_device_condition
block as defined below. - Post
Args List<FrontdoorConditions Rule Conditions Post Args Condition> - A
post_args_condition
block as defined below. - Query
String List<FrontdoorConditions Rule Conditions Query String Condition> - A
query_string_condition
block as defined below. - Remote
Address List<FrontdoorConditions Rule Conditions Remote Address Condition> - A
remote_address_condition
block as defined below. - Request
Body List<FrontdoorConditions Rule Conditions Request Body Condition> - A
request_body_condition
block as defined below. - Request
Header List<FrontdoorConditions Rule Conditions Request Header Condition> - A
request_header_condition
block as defined below. - Request
Method List<FrontdoorConditions Rule Conditions Request Method Condition> - A
request_method_condition
block as defined below. - Request
Scheme List<FrontdoorConditions Rule Conditions Request Scheme Condition> - A
request_scheme_condition
block as defined below. - Request
Uri List<FrontdoorConditions Rule Conditions Request Uri Condition> - A
request_uri_condition
block as defined below. - Server
Port List<FrontdoorConditions Rule Conditions Server Port Condition> - A
server_port_condition
block as defined below. - Socket
Address List<FrontdoorConditions Rule Conditions Socket Address Condition> - A
socket_address_condition
block as defined below. - Ssl
Protocol List<FrontdoorConditions Rule Conditions Ssl Protocol Condition> - A
ssl_protocol_condition
block as defined below. - Url
File List<FrontdoorExtension Conditions Rule Conditions Url File Extension Condition> - A
url_file_extension_condition
block as defined below. - Url
Filename List<FrontdoorConditions Rule Conditions Url Filename Condition> - A
url_filename_condition
block as defined below. - Url
Path List<FrontdoorConditions Rule Conditions Url Path Condition> - A
url_path_condition
block as defined below.
- Client
Port []FrontdoorConditions Rule Conditions Client Port Condition - A
client_port_condition
block as defined below. - []Frontdoor
Rule Conditions Cookies Condition - A
cookies_condition
block as defined below. - Host
Name []FrontdoorConditions Rule Conditions Host Name Condition - A
host_name_condition
block as defined below. - Http
Version []FrontdoorConditions Rule Conditions Http Version Condition - A
http_version_condition
block as defined below. - Is
Device []FrontdoorConditions Rule Conditions Is Device Condition - A
is_device_condition
block as defined below. - Post
Args []FrontdoorConditions Rule Conditions Post Args Condition - A
post_args_condition
block as defined below. - Query
String []FrontdoorConditions Rule Conditions Query String Condition - A
query_string_condition
block as defined below. - Remote
Address []FrontdoorConditions Rule Conditions Remote Address Condition - A
remote_address_condition
block as defined below. - Request
Body []FrontdoorConditions Rule Conditions Request Body Condition - A
request_body_condition
block as defined below. - Request
Header []FrontdoorConditions Rule Conditions Request Header Condition - A
request_header_condition
block as defined below. - Request
Method []FrontdoorConditions Rule Conditions Request Method Condition - A
request_method_condition
block as defined below. - Request
Scheme []FrontdoorConditions Rule Conditions Request Scheme Condition - A
request_scheme_condition
block as defined below. - Request
Uri []FrontdoorConditions Rule Conditions Request Uri Condition - A
request_uri_condition
block as defined below. - Server
Port []FrontdoorConditions Rule Conditions Server Port Condition - A
server_port_condition
block as defined below. - Socket
Address []FrontdoorConditions Rule Conditions Socket Address Condition - A
socket_address_condition
block as defined below. - Ssl
Protocol []FrontdoorConditions Rule Conditions Ssl Protocol Condition - A
ssl_protocol_condition
block as defined below. - Url
File []FrontdoorExtension Conditions Rule Conditions Url File Extension Condition - A
url_file_extension_condition
block as defined below. - Url
Filename []FrontdoorConditions Rule Conditions Url Filename Condition - A
url_filename_condition
block as defined below. - Url
Path []FrontdoorConditions Rule Conditions Url Path Condition - A
url_path_condition
block as defined below.
- client
Port List<FrontdoorConditions Rule Conditions Client Port Condition> - A
client_port_condition
block as defined below. - List<Frontdoor
Rule Conditions Cookies Condition> - A
cookies_condition
block as defined below. - host
Name List<FrontdoorConditions Rule Conditions Host Name Condition> - A
host_name_condition
block as defined below. - http
Version List<FrontdoorConditions Rule Conditions Http Version Condition> - A
http_version_condition
block as defined below. - is
Device List<FrontdoorConditions Rule Conditions Is Device Condition> - A
is_device_condition
block as defined below. - post
Args List<FrontdoorConditions Rule Conditions Post Args Condition> - A
post_args_condition
block as defined below. - query
String List<FrontdoorConditions Rule Conditions Query String Condition> - A
query_string_condition
block as defined below. - remote
Address List<FrontdoorConditions Rule Conditions Remote Address Condition> - A
remote_address_condition
block as defined below. - request
Body List<FrontdoorConditions Rule Conditions Request Body Condition> - A
request_body_condition
block as defined below. - request
Header List<FrontdoorConditions Rule Conditions Request Header Condition> - A
request_header_condition
block as defined below. - request
Method List<FrontdoorConditions Rule Conditions Request Method Condition> - A
request_method_condition
block as defined below. - request
Scheme List<FrontdoorConditions Rule Conditions Request Scheme Condition> - A
request_scheme_condition
block as defined below. - request
Uri List<FrontdoorConditions Rule Conditions Request Uri Condition> - A
request_uri_condition
block as defined below. - server
Port List<FrontdoorConditions Rule Conditions Server Port Condition> - A
server_port_condition
block as defined below. - socket
Address List<FrontdoorConditions Rule Conditions Socket Address Condition> - A
socket_address_condition
block as defined below. - ssl
Protocol List<FrontdoorConditions Rule Conditions Ssl Protocol Condition> - A
ssl_protocol_condition
block as defined below. - url
File List<FrontdoorExtension Conditions Rule Conditions Url File Extension Condition> - A
url_file_extension_condition
block as defined below. - url
Filename List<FrontdoorConditions Rule Conditions Url Filename Condition> - A
url_filename_condition
block as defined below. - url
Path List<FrontdoorConditions Rule Conditions Url Path Condition> - A
url_path_condition
block as defined below.
- client
Port FrontdoorConditions Rule Conditions Client Port Condition[] - A
client_port_condition
block as defined below. - Frontdoor
Rule Conditions Cookies Condition[] - A
cookies_condition
block as defined below. - host
Name FrontdoorConditions Rule Conditions Host Name Condition[] - A
host_name_condition
block as defined below. - http
Version FrontdoorConditions Rule Conditions Http Version Condition[] - A
http_version_condition
block as defined below. - is
Device FrontdoorConditions Rule Conditions Is Device Condition[] - A
is_device_condition
block as defined below. - post
Args FrontdoorConditions Rule Conditions Post Args Condition[] - A
post_args_condition
block as defined below. - query
String FrontdoorConditions Rule Conditions Query String Condition[] - A
query_string_condition
block as defined below. - remote
Address FrontdoorConditions Rule Conditions Remote Address Condition[] - A
remote_address_condition
block as defined below. - request
Body FrontdoorConditions Rule Conditions Request Body Condition[] - A
request_body_condition
block as defined below. - request
Header FrontdoorConditions Rule Conditions Request Header Condition[] - A
request_header_condition
block as defined below. - request
Method FrontdoorConditions Rule Conditions Request Method Condition[] - A
request_method_condition
block as defined below. - request
Scheme FrontdoorConditions Rule Conditions Request Scheme Condition[] - A
request_scheme_condition
block as defined below. - request
Uri FrontdoorConditions Rule Conditions Request Uri Condition[] - A
request_uri_condition
block as defined below. - server
Port FrontdoorConditions Rule Conditions Server Port Condition[] - A
server_port_condition
block as defined below. - socket
Address FrontdoorConditions Rule Conditions Socket Address Condition[] - A
socket_address_condition
block as defined below. - ssl
Protocol FrontdoorConditions Rule Conditions Ssl Protocol Condition[] - A
ssl_protocol_condition
block as defined below. - url
File FrontdoorExtension Conditions Rule Conditions Url File Extension Condition[] - A
url_file_extension_condition
block as defined below. - url
Filename FrontdoorConditions Rule Conditions Url Filename Condition[] - A
url_filename_condition
block as defined below. - url
Path FrontdoorConditions Rule Conditions Url Path Condition[] - A
url_path_condition
block as defined below.
- client_
port_ Sequence[Frontdoorconditions Rule Conditions Client Port Condition] - A
client_port_condition
block as defined below. - Sequence[Frontdoor
Rule Conditions Cookies Condition] - A
cookies_condition
block as defined below. - host_
name_ Sequence[Frontdoorconditions Rule Conditions Host Name Condition] - A
host_name_condition
block as defined below. - http_
version_ Sequence[Frontdoorconditions Rule Conditions Http Version Condition] - A
http_version_condition
block as defined below. - is_
device_ Sequence[Frontdoorconditions Rule Conditions Is Device Condition] - A
is_device_condition
block as defined below. - post_
args_ Sequence[Frontdoorconditions Rule Conditions Post Args Condition] - A
post_args_condition
block as defined below. - query_
string_ Sequence[Frontdoorconditions Rule Conditions Query String Condition] - A
query_string_condition
block as defined below. - remote_
address_ Sequence[Frontdoorconditions Rule Conditions Remote Address Condition] - A
remote_address_condition
block as defined below. - request_
body_ Sequence[Frontdoorconditions Rule Conditions Request Body Condition] - A
request_body_condition
block as defined below. - request_
header_ Sequence[Frontdoorconditions Rule Conditions Request Header Condition] - A
request_header_condition
block as defined below. - request_
method_ Sequence[Frontdoorconditions Rule Conditions Request Method Condition] - A
request_method_condition
block as defined below. - request_
scheme_ Sequence[Frontdoorconditions Rule Conditions Request Scheme Condition] - A
request_scheme_condition
block as defined below. - request_
uri_ Sequence[Frontdoorconditions Rule Conditions Request Uri Condition] - A
request_uri_condition
block as defined below. - server_
port_ Sequence[Frontdoorconditions Rule Conditions Server Port Condition] - A
server_port_condition
block as defined below. - socket_
address_ Sequence[Frontdoorconditions Rule Conditions Socket Address Condition] - A
socket_address_condition
block as defined below. - ssl_
protocol_ Sequence[Frontdoorconditions Rule Conditions Ssl Protocol Condition] - A
ssl_protocol_condition
block as defined below. - url_
file_ Sequence[Frontdoorextension_ conditions Rule Conditions Url File Extension Condition] - A
url_file_extension_condition
block as defined below. - url_
filename_ Sequence[Frontdoorconditions Rule Conditions Url Filename Condition] - A
url_filename_condition
block as defined below. - url_
path_ Sequence[Frontdoorconditions Rule Conditions Url Path Condition] - A
url_path_condition
block as defined below.
- client
Port List<Property Map>Conditions - A
client_port_condition
block as defined below. - List<Property Map>
- A
cookies_condition
block as defined below. - host
Name List<Property Map>Conditions - A
host_name_condition
block as defined below. - http
Version List<Property Map>Conditions - A
http_version_condition
block as defined below. - is
Device List<Property Map>Conditions - A
is_device_condition
block as defined below. - post
Args List<Property Map>Conditions - A
post_args_condition
block as defined below. - query
String List<Property Map>Conditions - A
query_string_condition
block as defined below. - remote
Address List<Property Map>Conditions - A
remote_address_condition
block as defined below. - request
Body List<Property Map>Conditions - A
request_body_condition
block as defined below. - request
Header List<Property Map>Conditions - A
request_header_condition
block as defined below. - request
Method List<Property Map>Conditions - A
request_method_condition
block as defined below. - request
Scheme List<Property Map>Conditions - A
request_scheme_condition
block as defined below. - request
Uri List<Property Map>Conditions - A
request_uri_condition
block as defined below. - server
Port List<Property Map>Conditions - A
server_port_condition
block as defined below. - socket
Address List<Property Map>Conditions - A
socket_address_condition
block as defined below. - ssl
Protocol List<Property Map>Conditions - A
ssl_protocol_condition
block as defined below. - url
File List<Property Map>Extension Conditions - A
url_file_extension_condition
block as defined below. - url
Filename List<Property Map>Conditions - A
url_filename_condition
block as defined below. - url
Path List<Property Map>Conditions - A
url_path_condition
block as defined below.
FrontdoorRuleConditionsClientPortCondition, FrontdoorRuleConditionsClientPortConditionArgs
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values List<string> - One or more integer values(e.g. "1") representing the value of the client port to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values []string - One or more integer values(e.g. "1") representing the value of the client port to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more integer values(e.g. "1") representing the value of the client port to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values string[] - One or more integer values(e.g. "1") representing the value of the client port to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match_
values Sequence[str] - One or more integer values(e.g. "1") representing the value of the client port to match. If multiple values are specified, they're evaluated using
OR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more integer values(e.g. "1") representing the value of the client port to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
FrontdoorRuleConditionsCookiesCondition, FrontdoorRuleConditionsCookiesConditionArgs
- string
- A string value representing the name of the cookie.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values List<string> - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- string
- A string value representing the name of the cookie.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values []string - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- String
- A string value representing the name of the cookie.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- string
- A string value representing the name of the cookie.
- operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values string[] - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- str
- A string value representing the name of the cookie.
- operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match_
values Sequence[str] - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- String
- A string value representing the name of the cookie.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsHostNameCondition, FrontdoorRuleConditionsHostNameConditionArgs
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values List<string> - A list of one or more string values representing the value of the request hostname to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values []string - A list of one or more string values representing the value of the request hostname to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - A list of one or more string values representing the value of the request hostname to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values string[] - A list of one or more string values representing the value of the request hostname to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match_
values Sequence[str] - A list of one or more string values representing the value of the request hostname to match. If multiple values are specified, they're evaluated using
OR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - A list of one or more string values representing the value of the request hostname to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsHttpVersionCondition, FrontdoorRuleConditionsHttpVersionConditionArgs
- Match
Values List<string> - What HTTP version should this condition match? Possible values
2.0
,1.1
,1.0
or0.9
. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- Match
Values []string - What HTTP version should this condition match? Possible values
2.0
,1.1
,1.0
or0.9
. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- match
Values List<String> - What HTTP version should this condition match? Possible values
2.0
,1.1
,1.0
or0.9
. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
- match
Values string[] - What HTTP version should this condition match? Possible values
2.0
,1.1
,1.0
or0.9
. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator string
- Possible value
Equal
. Defaults toEqual
.
- match_
values Sequence[str] - What HTTP version should this condition match? Possible values
2.0
,1.1
,1.0
or0.9
. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator str
- Possible value
Equal
. Defaults toEqual
.
- match
Values List<String> - What HTTP version should this condition match? Possible values
2.0
,1.1
,1.0
or0.9
. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
FrontdoorRuleConditionsIsDeviceCondition, FrontdoorRuleConditionsIsDeviceConditionArgs
- Match
Values string - Which device should this rule match on? Possible values
Mobile
orDesktop
. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- Match
Values string - Which device should this rule match on? Possible values
Mobile
orDesktop
. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- match
Values String - Which device should this rule match on? Possible values
Mobile
orDesktop
. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
- match
Values string - Which device should this rule match on? Possible values
Mobile
orDesktop
. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator string
- Possible value
Equal
. Defaults toEqual
.
- match_
values str - Which device should this rule match on? Possible values
Mobile
orDesktop
. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator str
- Possible value
Equal
. Defaults toEqual
.
- match
Values String - Which device should this rule match on? Possible values
Mobile
orDesktop
. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
FrontdoorRuleConditionsPostArgsCondition, FrontdoorRuleConditionsPostArgsConditionArgs
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Post
Args stringName - A string value representing the name of the
POST
argument. - Match
Values List<string> - One or more string or integer values(e.g. "1") representing the value of the
POST
argument to match. If multiple values are specified, they're evaluated usingOR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Post
Args stringName - A string value representing the name of the
POST
argument. - Match
Values []string - One or more string or integer values(e.g. "1") representing the value of the
POST
argument to match. If multiple values are specified, they're evaluated usingOR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - post
Args StringName - A string value representing the name of the
POST
argument. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the
POST
argument to match. If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - post
Args stringName - A string value representing the name of the
POST
argument. - match
Values string[] - One or more string or integer values(e.g. "1") representing the value of the
POST
argument to match. If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - post_
args_ strname - A string value representing the name of the
POST
argument. - match_
values Sequence[str] - One or more string or integer values(e.g. "1") representing the value of the
POST
argument to match. If multiple values are specified, they're evaluated usingOR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - post
Args StringName - A string value representing the name of the
POST
argument. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the
POST
argument to match. If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsQueryStringCondition, FrontdoorRuleConditionsQueryStringConditionArgs
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values List<string> - One or more string or integer values(e.g. "1") representing the value of the query string to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values []string - One or more string or integer values(e.g. "1") representing the value of the query string to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the query string to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values string[] - One or more string or integer values(e.g. "1") representing the value of the query string to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match_
values Sequence[str] - One or more string or integer values(e.g. "1") representing the value of the query string to match. If multiple values are specified, they're evaluated using
OR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the query string to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsRemoteAddressCondition, FrontdoorRuleConditionsRemoteAddressConditionArgs
- Match
Values List<string> For the IP Match or IP Not Match operators: specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic. For the Geo Match or Geo Not Match operators: specify one or more locations using their country code.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- The type of the remote address to match. Possible values include
Any
,GeoMatch
orIPMatch
. Use thenegate_condition
to specify NotGeoMatch
or NotIPMatch
. Defaults toIPMatch
.
- Match
Values []string For the IP Match or IP Not Match operators: specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic. For the Geo Match or Geo Not Match operators: specify one or more locations using their country code.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- The type of the remote address to match. Possible values include
Any
,GeoMatch
orIPMatch
. Use thenegate_condition
to specify NotGeoMatch
or NotIPMatch
. Defaults toIPMatch
.
- match
Values List<String> For the IP Match or IP Not Match operators: specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic. For the Geo Match or Geo Not Match operators: specify one or more locations using their country code.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- The type of the remote address to match. Possible values include
Any
,GeoMatch
orIPMatch
. Use thenegate_condition
to specify NotGeoMatch
or NotIPMatch
. Defaults toIPMatch
.
- match
Values string[] For the IP Match or IP Not Match operators: specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic. For the Geo Match or Geo Not Match operators: specify one or more locations using their country code.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator string
- The type of the remote address to match. Possible values include
Any
,GeoMatch
orIPMatch
. Use thenegate_condition
to specify NotGeoMatch
or NotIPMatch
. Defaults toIPMatch
.
- match_
values Sequence[str] For the IP Match or IP Not Match operators: specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic. For the Geo Match or Geo Not Match operators: specify one or more locations using their country code.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator str
- The type of the remote address to match. Possible values include
Any
,GeoMatch
orIPMatch
. Use thenegate_condition
to specify NotGeoMatch
or NotIPMatch
. Defaults toIPMatch
.
- match
Values List<String> For the IP Match or IP Not Match operators: specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic. For the Geo Match or Geo Not Match operators: specify one or more locations using their country code.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- The type of the remote address to match. Possible values include
Any
,GeoMatch
orIPMatch
. Use thenegate_condition
to specify NotGeoMatch
or NotIPMatch
. Defaults toIPMatch
.
FrontdoorRuleConditionsRequestBodyCondition, FrontdoorRuleConditionsRequestBodyConditionArgs
- Match
Values List<string> - A list of one or more string or integer values(e.g. "1") representing the value of the request body text to match. If multiple values are specified, they're evaluated using
OR
logic. - Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Match
Values []string - A list of one or more string or integer values(e.g. "1") representing the value of the request body text to match. If multiple values are specified, they're evaluated using
OR
logic. - Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- match
Values List<String> - A list of one or more string or integer values(e.g. "1") representing the value of the request body text to match. If multiple values are specified, they're evaluated using
OR
logic. - operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- match
Values string[] - A list of one or more string or integer values(e.g. "1") representing the value of the request body text to match. If multiple values are specified, they're evaluated using
OR
logic. - operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- match_
values Sequence[str] - A list of one or more string or integer values(e.g. "1") representing the value of the request body text to match. If multiple values are specified, they're evaluated using
OR
logic. - operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- match
Values List<String> - A list of one or more string or integer values(e.g. "1") representing the value of the request body text to match. If multiple values are specified, they're evaluated using
OR
logic. - operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsRequestHeaderCondition, FrontdoorRuleConditionsRequestHeaderConditionArgs
- Header
Name string - A string value representing the name of the
POST
argument. - Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values List<string> - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Header
Name string - A string value representing the name of the
POST
argument. - Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values []string - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- header
Name String - A string value representing the name of the
POST
argument. - operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- header
Name string - A string value representing the name of the
POST
argument. - operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values string[] - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- header_
name str - A string value representing the name of the
POST
argument. - operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match_
values Sequence[str] - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- header
Name String - A string value representing the name of the
POST
argument. - operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the request header to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsRequestMethodCondition, FrontdoorRuleConditionsRequestMethodConditionArgs
- Match
Values List<string> - A list of one or more HTTP methods. Possible values include
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
orTRACE
. If multiple values are specified, they're evaluated usingOR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- Match
Values []string - A list of one or more HTTP methods. Possible values include
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
orTRACE
. If multiple values are specified, they're evaluated usingOR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- match
Values List<String> - A list of one or more HTTP methods. Possible values include
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
orTRACE
. If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
- match
Values string[] - A list of one or more HTTP methods. Possible values include
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
orTRACE
. If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator string
- Possible value
Equal
. Defaults toEqual
.
- match_
values Sequence[str] - A list of one or more HTTP methods. Possible values include
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
orTRACE
. If multiple values are specified, they're evaluated usingOR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator str
- Possible value
Equal
. Defaults toEqual
.
- match
Values List<String> - A list of one or more HTTP methods. Possible values include
GET
,POST
,PUT
,DELETE
,HEAD
,OPTIONS
orTRACE
. If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
FrontdoorRuleConditionsRequestSchemeCondition, FrontdoorRuleConditionsRequestSchemeConditionArgs
- Match
Values string - The requests protocol to match. Possible values include
HTTP
orHTTPS
. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- Match
Values string - The requests protocol to match. Possible values include
HTTP
orHTTPS
. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- match
Values String - The requests protocol to match. Possible values include
HTTP
orHTTPS
. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
- match
Values string - The requests protocol to match. Possible values include
HTTP
orHTTPS
. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator string
- Possible value
Equal
. Defaults toEqual
.
- match_
values str - The requests protocol to match. Possible values include
HTTP
orHTTPS
. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator str
- Possible value
Equal
. Defaults toEqual
.
- match
Values String - The requests protocol to match. Possible values include
HTTP
orHTTPS
. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
FrontdoorRuleConditionsRequestUriCondition, FrontdoorRuleConditionsRequestUriConditionArgs
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values List<string> - One or more string or integer values(e.g. "1") representing the value of the request URL to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values []string - One or more string or integer values(e.g. "1") representing the value of the request URL to match. If multiple values are specified, they're evaluated using
OR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the request URL to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values string[] - One or more string or integer values(e.g. "1") representing the value of the request URL to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match_
values Sequence[str] - One or more string or integer values(e.g. "1") representing the value of the request URL to match. If multiple values are specified, they're evaluated using
OR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the request URL to match. If multiple values are specified, they're evaluated using
OR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsServerPortCondition, FrontdoorRuleConditionsServerPortConditionArgs
- Match
Values List<string> - A list of one or more integer values(e.g. "1") representing the value of the client port to match. Possible values include
80
or443
. If multiple values are specified, they're evaluated usingOR
logic. - Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- Match
Values []string - A list of one or more integer values(e.g. "1") representing the value of the client port to match. Possible values include
80
or443
. If multiple values are specified, they're evaluated usingOR
logic. - Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- match
Values List<String> - A list of one or more integer values(e.g. "1") representing the value of the client port to match. Possible values include
80
or443
. If multiple values are specified, they're evaluated usingOR
logic. - operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- match
Values string[] - A list of one or more integer values(e.g. "1") representing the value of the client port to match. Possible values include
80
or443
. If multiple values are specified, they're evaluated usingOR
logic. - operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- match_
values Sequence[str] - A list of one or more integer values(e.g. "1") representing the value of the client port to match. Possible values include
80
or443
. If multiple values are specified, they're evaluated usingOR
logic. - operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
- match
Values List<String> - A list of one or more integer values(e.g. "1") representing the value of the client port to match. Possible values include
80
or443
. If multiple values are specified, they're evaluated usingOR
logic. - operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below.
FrontdoorRuleConditionsSocketAddressCondition, FrontdoorRuleConditionsSocketAddressConditionArgs
- Match
Values List<string> Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
The type of match. The Possible values are
IpMatch
orAny
. Defaults toIPMatch
.->NOTE: If the value of the
operator
field is set toIpMatch
then thematch_values
field is also required.
- Match
Values []string Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
The type of match. The Possible values are
IpMatch
orAny
. Defaults toIPMatch
.->NOTE: If the value of the
operator
field is set toIpMatch
then thematch_values
field is also required.
- match
Values List<String> Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
The type of match. The Possible values are
IpMatch
orAny
. Defaults toIPMatch
.->NOTE: If the value of the
operator
field is set toIpMatch
then thematch_values
field is also required.
- match
Values string[] Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator string
The type of match. The Possible values are
IpMatch
orAny
. Defaults toIPMatch
.->NOTE: If the value of the
operator
field is set toIpMatch
then thematch_values
field is also required.
- match_
values Sequence[str] Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator str
The type of match. The Possible values are
IpMatch
orAny
. Defaults toIPMatch
.->NOTE: If the value of the
operator
field is set toIpMatch
then thematch_values
field is also required.
- match
Values List<String> Specify one or more IP address ranges. If multiple IP address ranges are specified, they're evaluated using
OR
logic.->NOTE: See the
Specifying IP Address Ranges
section below on how to correctly define thematch_values
field.- negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
The type of match. The Possible values are
IpMatch
orAny
. Defaults toIPMatch
.->NOTE: If the value of the
operator
field is set toIpMatch
then thematch_values
field is also required.
FrontdoorRuleConditionsSslProtocolCondition, FrontdoorRuleConditionsSslProtocolConditionArgs
- Match
Values List<string> - A list of one or more HTTP methods. Possible values are
TLSv1
,TLSv1.1
andTLSv1.2
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- Match
Values []string - A list of one or more HTTP methods. Possible values are
TLSv1
,TLSv1.1
andTLSv1.2
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Operator string
- Possible value
Equal
. Defaults toEqual
.
- match
Values List<String> - A list of one or more HTTP methods. Possible values are
TLSv1
,TLSv1.1
andTLSv1.2
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
- match
Values string[] - A list of one or more HTTP methods. Possible values are
TLSv1
,TLSv1.1
andTLSv1.2
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator string
- Possible value
Equal
. Defaults toEqual
.
- match_
values Sequence[str] - A list of one or more HTTP methods. Possible values are
TLSv1
,TLSv1.1
andTLSv1.2
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator str
- Possible value
Equal
. Defaults toEqual
.
- match
Values List<String> - A list of one or more HTTP methods. Possible values are
TLSv1
,TLSv1.1
andTLSv1.2
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - operator String
- Possible value
Equal
. Defaults toEqual
.
FrontdoorRuleConditionsUrlFileExtensionCondition, FrontdoorRuleConditionsUrlFileExtensionConditionArgs
- Match
Values List<string> - A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using
OR
logic. - Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Match
Values []string - A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using
OR
logic. - Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- match
Values List<String> - A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using
OR
logic. - operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- match
Values string[] - A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using
OR
logic. - operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- match_
values Sequence[str] - A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using
OR
logic. - operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- match
Values List<String> - A list of one or more string or integer values(e.g. "1") representing the value of the request file extension to match. If multiple values are specified, they're evaluated using
OR
logic. - operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsUrlFilenameCondition, FrontdoorRuleConditionsUrlFilenameConditionArgs
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values List<string> A list of one or more string or integer values(e.g. "1") representing the value of the request file name to match. If multiple values are specified, they're evaluated using
OR
logic.NOTE: The
match_values
field is only optional if theoperator
is set toAny
.- Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values []string A list of one or more string or integer values(e.g. "1") representing the value of the request file name to match. If multiple values are specified, they're evaluated using
OR
logic.NOTE: The
match_values
field is only optional if theoperator
is set toAny
.- Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> A list of one or more string or integer values(e.g. "1") representing the value of the request file name to match. If multiple values are specified, they're evaluated using
OR
logic.NOTE: The
match_values
field is only optional if theoperator
is set toAny
.- negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values string[] A list of one or more string or integer values(e.g. "1") representing the value of the request file name to match. If multiple values are specified, they're evaluated using
OR
logic.NOTE: The
match_values
field is only optional if theoperator
is set toAny
.- negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match_
values Sequence[str] A list of one or more string or integer values(e.g. "1") representing the value of the request file name to match. If multiple values are specified, they're evaluated using
OR
logic.NOTE: The
match_values
field is only optional if theoperator
is set toAny
.- negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> A list of one or more string or integer values(e.g. "1") representing the value of the request file name to match. If multiple values are specified, they're evaluated using
OR
logic.NOTE: The
match_values
field is only optional if theoperator
is set toAny
.- negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
FrontdoorRuleConditionsUrlPathCondition, FrontdoorRuleConditionsUrlPathConditionArgs
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values List<string> - One or more string or integer values(e.g. "1") representing the value of the request path to match. Don't include the leading slash (
/
). If multiple values are specified, they're evaluated usingOR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms List<string>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- Operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - Match
Values []string - One or more string or integer values(e.g. "1") representing the value of the request path to match. Don't include the leading slash (
/
). If multiple values are specified, they're evaluated usingOR
logic. - Negate
Condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - Transforms []string
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the request path to match. Don't include the leading slash (
/
). If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator string
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values string[] - One or more string or integer values(e.g. "1") representing the value of the request path to match. Don't include the leading slash (
/
). If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms string[]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator str
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match_
values Sequence[str] - One or more string or integer values(e.g. "1") representing the value of the request path to match. Don't include the leading slash (
/
). If multiple values are specified, they're evaluated usingOR
logic. - negate_
condition bool - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms Sequence[str]
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
- operator String
- A Conditional operator. Possible values include
Any
,Equal
,Contains
,BeginsWith
,EndsWith
,LessThan
,LessThanOrEqual
,GreaterThan
,GreaterThanOrEqual
orRegEx
. Details can be found in theCondition Operator List
below. - match
Values List<String> - One or more string or integer values(e.g. "1") representing the value of the request path to match. Don't include the leading slash (
/
). If multiple values are specified, they're evaluated usingOR
logic. - negate
Condition Boolean - If
true
operator becomes the opposite of its value. Possible valuestrue
orfalse
. Defaults tofalse
. Details can be found in theCondition Operator List
below. - transforms List<String>
- A Conditional operator. Possible values include
Lowercase
,RemoveNulls
,Trim
,Uppercase
,UrlDecode
orUrlEncode
. Details can be found in theCondition Transform List
below.
Import
Front Door Rules can be imported using the resource id
, e.g.
$ pulumi import azure:cdn/frontdoorRule:FrontdoorRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/ruleSets/ruleSet1/rules/rule1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.