azure-native.network.RulesEngine
Explore with Pulumi AI
A rules engine configuration containing a list of rules that will run to modify the runtime behavior of the request and response. Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2020-05-01.
Example Usage
Create or update a specific Rules Engine Configuration
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var rulesEngine = new AzureNative.Network.RulesEngine("rulesEngine", new()
{
FrontDoorName = "frontDoor1",
ResourceGroupName = "rg1",
Rules = new[]
{
new AzureNative.Network.Inputs.RulesEngineRuleArgs
{
Action = new AzureNative.Network.Inputs.RulesEngineActionArgs
{
RouteConfigurationOverride = new AzureNative.Network.Inputs.RedirectConfigurationArgs
{
CustomFragment = "fragment",
CustomHost = "www.bing.com",
CustomPath = "/api",
CustomQueryString = "a=b",
OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
RedirectProtocol = AzureNative.Network.FrontDoorRedirectProtocol.HttpsOnly,
RedirectType = AzureNative.Network.FrontDoorRedirectType.Moved,
},
},
MatchConditions = new[]
{
new AzureNative.Network.Inputs.RulesEngineMatchConditionArgs
{
RulesEngineMatchValue = new[]
{
"CH",
},
RulesEngineMatchVariable = AzureNative.Network.RulesEngineMatchVariable.RemoteAddr,
RulesEngineOperator = AzureNative.Network.RulesEngineOperator.GeoMatch,
},
},
MatchProcessingBehavior = AzureNative.Network.MatchProcessingBehavior.Stop,
Name = "Rule1",
Priority = 1,
},
new AzureNative.Network.Inputs.RulesEngineRuleArgs
{
Action = new AzureNative.Network.Inputs.RulesEngineActionArgs
{
ResponseHeaderActions = new[]
{
new AzureNative.Network.Inputs.HeaderActionArgs
{
HeaderActionType = AzureNative.Network.HeaderActionType.Overwrite,
HeaderName = "Cache-Control",
Value = "public, max-age=31536000",
},
},
},
MatchConditions = new[]
{
new AzureNative.Network.Inputs.RulesEngineMatchConditionArgs
{
RulesEngineMatchValue = new[]
{
"jpg",
},
RulesEngineMatchVariable = AzureNative.Network.RulesEngineMatchVariable.RequestFilenameExtension,
RulesEngineOperator = AzureNative.Network.RulesEngineOperator.Equal,
Transforms = new[]
{
AzureNative.Network.Transform.Lowercase,
},
},
},
Name = "Rule2",
Priority = 2,
},
new AzureNative.Network.Inputs.RulesEngineRuleArgs
{
Action = new AzureNative.Network.Inputs.RulesEngineActionArgs
{
RouteConfigurationOverride = new AzureNative.Network.Inputs.ForwardingConfigurationArgs
{
BackendPool = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
},
CacheConfiguration = new AzureNative.Network.Inputs.CacheConfigurationArgs
{
CacheDuration = "P1DT12H20M30S",
DynamicCompression = AzureNative.Network.DynamicCompressionEnabled.Disabled,
QueryParameterStripDirective = AzureNative.Network.FrontDoorQuery.StripOnly,
QueryParameters = "a=b,p=q",
},
ForwardingProtocol = AzureNative.Network.FrontDoorForwardingProtocol.HttpsOnly,
OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
},
},
MatchConditions = new[]
{
new AzureNative.Network.Inputs.RulesEngineMatchConditionArgs
{
NegateCondition = false,
RulesEngineMatchValue = new[]
{
"allowoverride",
},
RulesEngineMatchVariable = AzureNative.Network.RulesEngineMatchVariable.RequestHeader,
RulesEngineOperator = AzureNative.Network.RulesEngineOperator.Equal,
Selector = "Rules-Engine-Route-Forward",
Transforms = new[]
{
AzureNative.Network.Transform.Lowercase,
},
},
},
Name = "Rule3",
Priority = 3,
},
},
RulesEngineName = "rulesEngine1",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewRulesEngine(ctx, "rulesEngine", &network.RulesEngineArgs{
FrontDoorName: pulumi.String("frontDoor1"),
ResourceGroupName: pulumi.String("rg1"),
Rules: network.RulesEngineRuleArray{
&network.RulesEngineRuleArgs{
Action: &network.RulesEngineActionArgs{
RouteConfigurationOverride: network.RedirectConfiguration{
CustomFragment: "fragment",
CustomHost: "www.bing.com",
CustomPath: "/api",
CustomQueryString: "a=b",
OdataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
RedirectProtocol: network.FrontDoorRedirectProtocolHttpsOnly,
RedirectType: network.FrontDoorRedirectTypeMoved,
},
},
MatchConditions: network.RulesEngineMatchConditionArray{
&network.RulesEngineMatchConditionArgs{
RulesEngineMatchValue: pulumi.StringArray{
pulumi.String("CH"),
},
RulesEngineMatchVariable: pulumi.String(network.RulesEngineMatchVariableRemoteAddr),
RulesEngineOperator: pulumi.String(network.RulesEngineOperatorGeoMatch),
},
},
MatchProcessingBehavior: pulumi.String(network.MatchProcessingBehaviorStop),
Name: pulumi.String("Rule1"),
Priority: pulumi.Int(1),
},
&network.RulesEngineRuleArgs{
Action: &network.RulesEngineActionArgs{
ResponseHeaderActions: network.HeaderActionArray{
&network.HeaderActionArgs{
HeaderActionType: pulumi.String(network.HeaderActionTypeOverwrite),
HeaderName: pulumi.String("Cache-Control"),
Value: pulumi.String("public, max-age=31536000"),
},
},
},
MatchConditions: network.RulesEngineMatchConditionArray{
&network.RulesEngineMatchConditionArgs{
RulesEngineMatchValue: pulumi.StringArray{
pulumi.String("jpg"),
},
RulesEngineMatchVariable: pulumi.String(network.RulesEngineMatchVariableRequestFilenameExtension),
RulesEngineOperator: pulumi.String(network.RulesEngineOperatorEqual),
Transforms: pulumi.StringArray{
pulumi.String(network.TransformLowercase),
},
},
},
Name: pulumi.String("Rule2"),
Priority: pulumi.Int(2),
},
&network.RulesEngineRuleArgs{
Action: &network.RulesEngineActionArgs{
RouteConfigurationOverride: network.ForwardingConfiguration{
BackendPool: network.SubResource{
Id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
},
CacheConfiguration: network.CacheConfiguration{
CacheDuration: "P1DT12H20M30S",
DynamicCompression: network.DynamicCompressionEnabledDisabled,
QueryParameterStripDirective: network.FrontDoorQueryStripOnly,
QueryParameters: "a=b,p=q",
},
ForwardingProtocol: network.FrontDoorForwardingProtocolHttpsOnly,
OdataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
},
},
MatchConditions: network.RulesEngineMatchConditionArray{
&network.RulesEngineMatchConditionArgs{
NegateCondition: pulumi.Bool(false),
RulesEngineMatchValue: pulumi.StringArray{
pulumi.String("allowoverride"),
},
RulesEngineMatchVariable: pulumi.String(network.RulesEngineMatchVariableRequestHeader),
RulesEngineOperator: pulumi.String(network.RulesEngineOperatorEqual),
Selector: pulumi.String("Rules-Engine-Route-Forward"),
Transforms: pulumi.StringArray{
pulumi.String(network.TransformLowercase),
},
},
},
Name: pulumi.String("Rule3"),
Priority: pulumi.Int(3),
},
},
RulesEngineName: pulumi.String("rulesEngine1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.RulesEngine;
import com.pulumi.azurenative.network.RulesEngineArgs;
import com.pulumi.azurenative.network.inputs.RulesEngineRuleArgs;
import com.pulumi.azurenative.network.inputs.RulesEngineActionArgs;
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 rulesEngine = new RulesEngine("rulesEngine", RulesEngineArgs.builder()
.frontDoorName("frontDoor1")
.resourceGroupName("rg1")
.rules(
RulesEngineRuleArgs.builder()
.action(RulesEngineActionArgs.builder()
.routeConfigurationOverride(ForwardingConfigurationArgs.builder()
.customFragment("fragment")
.customHost("www.bing.com")
.customPath("/api")
.customQueryString("a=b")
.odataType("#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration")
.redirectProtocol("HttpsOnly")
.redirectType("Moved")
.build())
.build())
.matchConditions(RulesEngineMatchConditionArgs.builder()
.rulesEngineMatchValue("CH")
.rulesEngineMatchVariable("RemoteAddr")
.rulesEngineOperator("GeoMatch")
.build())
.matchProcessingBehavior("Stop")
.name("Rule1")
.priority(1)
.build(),
RulesEngineRuleArgs.builder()
.action(RulesEngineActionArgs.builder()
.responseHeaderActions(HeaderActionArgs.builder()
.headerActionType("Overwrite")
.headerName("Cache-Control")
.value("public, max-age=31536000")
.build())
.build())
.matchConditions(RulesEngineMatchConditionArgs.builder()
.rulesEngineMatchValue("jpg")
.rulesEngineMatchVariable("RequestFilenameExtension")
.rulesEngineOperator("Equal")
.transforms("Lowercase")
.build())
.name("Rule2")
.priority(2)
.build(),
RulesEngineRuleArgs.builder()
.action(RulesEngineActionArgs.builder()
.routeConfigurationOverride(ForwardingConfigurationArgs.builder()
.backendPool(SubResourceArgs.builder()
.id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1")
.build())
.cacheConfiguration(CacheConfigurationArgs.builder()
.cacheDuration("P1DT12H20M30S")
.dynamicCompression("Disabled")
.queryParameterStripDirective("StripOnly")
.queryParameters("a=b,p=q")
.build())
.forwardingProtocol("HttpsOnly")
.odataType("#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration")
.build())
.build())
.matchConditions(RulesEngineMatchConditionArgs.builder()
.negateCondition(false)
.rulesEngineMatchValue("allowoverride")
.rulesEngineMatchVariable("RequestHeader")
.rulesEngineOperator("Equal")
.selector("Rules-Engine-Route-Forward")
.transforms("Lowercase")
.build())
.name("Rule3")
.priority(3)
.build())
.rulesEngineName("rulesEngine1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
rules_engine = azure_native.network.RulesEngine("rulesEngine",
front_door_name="frontDoor1",
resource_group_name="rg1",
rules=[
{
"action": {
"route_configuration_override": {
"custom_fragment": "fragment",
"custom_host": "www.bing.com",
"custom_path": "/api",
"custom_query_string": "a=b",
"odata_type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
"redirect_protocol": azure_native.network.FrontDoorRedirectProtocol.HTTPS_ONLY,
"redirect_type": azure_native.network.FrontDoorRedirectType.MOVED,
},
},
"match_conditions": [{
"rules_engine_match_value": ["CH"],
"rules_engine_match_variable": azure_native.network.RulesEngineMatchVariable.REMOTE_ADDR,
"rules_engine_operator": azure_native.network.RulesEngineOperator.GEO_MATCH,
}],
"match_processing_behavior": azure_native.network.MatchProcessingBehavior.STOP,
"name": "Rule1",
"priority": 1,
},
{
"action": {
"response_header_actions": [{
"header_action_type": azure_native.network.HeaderActionType.OVERWRITE,
"header_name": "Cache-Control",
"value": "public, max-age=31536000",
}],
},
"match_conditions": [{
"rules_engine_match_value": ["jpg"],
"rules_engine_match_variable": azure_native.network.RulesEngineMatchVariable.REQUEST_FILENAME_EXTENSION,
"rules_engine_operator": azure_native.network.RulesEngineOperator.EQUAL,
"transforms": [azure_native.network.Transform.LOWERCASE],
}],
"name": "Rule2",
"priority": 2,
},
{
"action": {
"route_configuration_override": {
"backend_pool": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
},
"cache_configuration": {
"cache_duration": "P1DT12H20M30S",
"dynamic_compression": azure_native.network.DynamicCompressionEnabled.DISABLED,
"query_parameter_strip_directive": azure_native.network.FrontDoorQuery.STRIP_ONLY,
"query_parameters": "a=b,p=q",
},
"forwarding_protocol": azure_native.network.FrontDoorForwardingProtocol.HTTPS_ONLY,
"odata_type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
},
},
"match_conditions": [{
"negate_condition": False,
"rules_engine_match_value": ["allowoverride"],
"rules_engine_match_variable": azure_native.network.RulesEngineMatchVariable.REQUEST_HEADER,
"rules_engine_operator": azure_native.network.RulesEngineOperator.EQUAL,
"selector": "Rules-Engine-Route-Forward",
"transforms": [azure_native.network.Transform.LOWERCASE],
}],
"name": "Rule3",
"priority": 3,
},
],
rules_engine_name="rulesEngine1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const rulesEngine = new azure_native.network.RulesEngine("rulesEngine", {
frontDoorName: "frontDoor1",
resourceGroupName: "rg1",
rules: [
{
action: {
routeConfigurationOverride: {
customFragment: "fragment",
customHost: "www.bing.com",
customPath: "/api",
customQueryString: "a=b",
odataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
redirectProtocol: azure_native.network.FrontDoorRedirectProtocol.HttpsOnly,
redirectType: azure_native.network.FrontDoorRedirectType.Moved,
},
},
matchConditions: [{
rulesEngineMatchValue: ["CH"],
rulesEngineMatchVariable: azure_native.network.RulesEngineMatchVariable.RemoteAddr,
rulesEngineOperator: azure_native.network.RulesEngineOperator.GeoMatch,
}],
matchProcessingBehavior: azure_native.network.MatchProcessingBehavior.Stop,
name: "Rule1",
priority: 1,
},
{
action: {
responseHeaderActions: [{
headerActionType: azure_native.network.HeaderActionType.Overwrite,
headerName: "Cache-Control",
value: "public, max-age=31536000",
}],
},
matchConditions: [{
rulesEngineMatchValue: ["jpg"],
rulesEngineMatchVariable: azure_native.network.RulesEngineMatchVariable.RequestFilenameExtension,
rulesEngineOperator: azure_native.network.RulesEngineOperator.Equal,
transforms: [azure_native.network.Transform.Lowercase],
}],
name: "Rule2",
priority: 2,
},
{
action: {
routeConfigurationOverride: {
backendPool: {
id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
},
cacheConfiguration: {
cacheDuration: "P1DT12H20M30S",
dynamicCompression: azure_native.network.DynamicCompressionEnabled.Disabled,
queryParameterStripDirective: azure_native.network.FrontDoorQuery.StripOnly,
queryParameters: "a=b,p=q",
},
forwardingProtocol: azure_native.network.FrontDoorForwardingProtocol.HttpsOnly,
odataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
},
},
matchConditions: [{
negateCondition: false,
rulesEngineMatchValue: ["allowoverride"],
rulesEngineMatchVariable: azure_native.network.RulesEngineMatchVariable.RequestHeader,
rulesEngineOperator: azure_native.network.RulesEngineOperator.Equal,
selector: "Rules-Engine-Route-Forward",
transforms: [azure_native.network.Transform.Lowercase],
}],
name: "Rule3",
priority: 3,
},
],
rulesEngineName: "rulesEngine1",
});
resources:
rulesEngine:
type: azure-native:network:RulesEngine
properties:
frontDoorName: frontDoor1
resourceGroupName: rg1
rules:
- action:
routeConfigurationOverride:
customFragment: fragment
customHost: www.bing.com
customPath: /api
customQueryString: a=b
odataType: '#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration'
redirectProtocol: HttpsOnly
redirectType: Moved
matchConditions:
- rulesEngineMatchValue:
- CH
rulesEngineMatchVariable: RemoteAddr
rulesEngineOperator: GeoMatch
matchProcessingBehavior: Stop
name: Rule1
priority: 1
- action:
responseHeaderActions:
- headerActionType: Overwrite
headerName: Cache-Control
value: public, max-age=31536000
matchConditions:
- rulesEngineMatchValue:
- jpg
rulesEngineMatchVariable: RequestFilenameExtension
rulesEngineOperator: Equal
transforms:
- Lowercase
name: Rule2
priority: 2
- action:
routeConfigurationOverride:
backendPool:
id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1
cacheConfiguration:
cacheDuration: P1DT12H20M30S
dynamicCompression: Disabled
queryParameterStripDirective: StripOnly
queryParameters: a=b,p=q
forwardingProtocol: HttpsOnly
odataType: '#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration'
matchConditions:
- negateCondition: false
rulesEngineMatchValue:
- allowoverride
rulesEngineMatchVariable: RequestHeader
rulesEngineOperator: Equal
selector: Rules-Engine-Route-Forward
transforms:
- Lowercase
name: Rule3
priority: 3
rulesEngineName: rulesEngine1
Create RulesEngine Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RulesEngine(name: string, args: RulesEngineArgs, opts?: CustomResourceOptions);
@overload
def RulesEngine(resource_name: str,
args: RulesEngineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RulesEngine(resource_name: str,
opts: Optional[ResourceOptions] = None,
front_door_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
rules: Optional[Sequence[RulesEngineRuleArgs]] = None,
rules_engine_name: Optional[str] = None)
func NewRulesEngine(ctx *Context, name string, args RulesEngineArgs, opts ...ResourceOption) (*RulesEngine, error)
public RulesEngine(string name, RulesEngineArgs args, CustomResourceOptions? opts = null)
public RulesEngine(String name, RulesEngineArgs args)
public RulesEngine(String name, RulesEngineArgs args, CustomResourceOptions options)
type: azure-native:network:RulesEngine
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 RulesEngineArgs
- 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 RulesEngineArgs
- 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 RulesEngineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RulesEngineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RulesEngineArgs
- 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 rulesEngineResource = new AzureNative.Network.RulesEngine("rulesEngineResource", new()
{
FrontDoorName = "string",
ResourceGroupName = "string",
Rules = new[]
{
new AzureNative.Network.Inputs.RulesEngineRuleArgs
{
Action = new AzureNative.Network.Inputs.RulesEngineActionArgs
{
RequestHeaderActions = new[]
{
new AzureNative.Network.Inputs.HeaderActionArgs
{
HeaderActionType = "string",
HeaderName = "string",
Value = "string",
},
},
ResponseHeaderActions = new[]
{
new AzureNative.Network.Inputs.HeaderActionArgs
{
HeaderActionType = "string",
HeaderName = "string",
Value = "string",
},
},
RouteConfigurationOverride = new AzureNative.Network.Inputs.ForwardingConfigurationArgs
{
OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
BackendPool = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
CacheConfiguration = new AzureNative.Network.Inputs.CacheConfigurationArgs
{
CacheDuration = "string",
DynamicCompression = "string",
QueryParameterStripDirective = "string",
QueryParameters = "string",
},
CustomForwardingPath = "string",
ForwardingProtocol = "string",
},
},
Name = "string",
Priority = 0,
MatchConditions = new[]
{
new AzureNative.Network.Inputs.RulesEngineMatchConditionArgs
{
RulesEngineMatchValue = new[]
{
"string",
},
RulesEngineMatchVariable = "string",
RulesEngineOperator = "string",
NegateCondition = false,
Selector = "string",
Transforms = new[]
{
"string",
},
},
},
MatchProcessingBehavior = "string",
},
},
RulesEngineName = "string",
});
example, err := network.NewRulesEngine(ctx, "rulesEngineResource", &network.RulesEngineArgs{
FrontDoorName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Rules: network.RulesEngineRuleArray{
&network.RulesEngineRuleArgs{
Action: &network.RulesEngineActionArgs{
RequestHeaderActions: network.HeaderActionArray{
&network.HeaderActionArgs{
HeaderActionType: pulumi.String("string"),
HeaderName: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ResponseHeaderActions: network.HeaderActionArray{
&network.HeaderActionArgs{
HeaderActionType: pulumi.String("string"),
HeaderName: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
RouteConfigurationOverride: network.ForwardingConfiguration{
OdataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
BackendPool: network.SubResource{
Id: "string",
},
CacheConfiguration: network.CacheConfiguration{
CacheDuration: "string",
DynamicCompression: "string",
QueryParameterStripDirective: "string",
QueryParameters: "string",
},
CustomForwardingPath: "string",
ForwardingProtocol: "string",
},
},
Name: pulumi.String("string"),
Priority: pulumi.Int(0),
MatchConditions: network.RulesEngineMatchConditionArray{
&network.RulesEngineMatchConditionArgs{
RulesEngineMatchValue: pulumi.StringArray{
pulumi.String("string"),
},
RulesEngineMatchVariable: pulumi.String("string"),
RulesEngineOperator: pulumi.String("string"),
NegateCondition: pulumi.Bool(false),
Selector: pulumi.String("string"),
Transforms: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MatchProcessingBehavior: pulumi.String("string"),
},
},
RulesEngineName: pulumi.String("string"),
})
var rulesEngineResource = new RulesEngine("rulesEngineResource", RulesEngineArgs.builder()
.frontDoorName("string")
.resourceGroupName("string")
.rules(RulesEngineRuleArgs.builder()
.action(RulesEngineActionArgs.builder()
.requestHeaderActions(HeaderActionArgs.builder()
.headerActionType("string")
.headerName("string")
.value("string")
.build())
.responseHeaderActions(HeaderActionArgs.builder()
.headerActionType("string")
.headerName("string")
.value("string")
.build())
.routeConfigurationOverride(ForwardingConfigurationArgs.builder()
.odataType("#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration")
.backendPool(SubResourceArgs.builder()
.id("string")
.build())
.cacheConfiguration(CacheConfigurationArgs.builder()
.cacheDuration("string")
.dynamicCompression("string")
.queryParameterStripDirective("string")
.queryParameters("string")
.build())
.customForwardingPath("string")
.forwardingProtocol("string")
.build())
.build())
.name("string")
.priority(0)
.matchConditions(RulesEngineMatchConditionArgs.builder()
.rulesEngineMatchValue("string")
.rulesEngineMatchVariable("string")
.rulesEngineOperator("string")
.negateCondition(false)
.selector("string")
.transforms("string")
.build())
.matchProcessingBehavior("string")
.build())
.rulesEngineName("string")
.build());
rules_engine_resource = azure_native.network.RulesEngine("rulesEngineResource",
front_door_name="string",
resource_group_name="string",
rules=[{
"action": {
"request_header_actions": [{
"header_action_type": "string",
"header_name": "string",
"value": "string",
}],
"response_header_actions": [{
"header_action_type": "string",
"header_name": "string",
"value": "string",
}],
"route_configuration_override": {
"odata_type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
"backend_pool": {
"id": "string",
},
"cache_configuration": {
"cache_duration": "string",
"dynamic_compression": "string",
"query_parameter_strip_directive": "string",
"query_parameters": "string",
},
"custom_forwarding_path": "string",
"forwarding_protocol": "string",
},
},
"name": "string",
"priority": 0,
"match_conditions": [{
"rules_engine_match_value": ["string"],
"rules_engine_match_variable": "string",
"rules_engine_operator": "string",
"negate_condition": False,
"selector": "string",
"transforms": ["string"],
}],
"match_processing_behavior": "string",
}],
rules_engine_name="string")
const rulesEngineResource = new azure_native.network.RulesEngine("rulesEngineResource", {
frontDoorName: "string",
resourceGroupName: "string",
rules: [{
action: {
requestHeaderActions: [{
headerActionType: "string",
headerName: "string",
value: "string",
}],
responseHeaderActions: [{
headerActionType: "string",
headerName: "string",
value: "string",
}],
routeConfigurationOverride: {
odataType: "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
backendPool: {
id: "string",
},
cacheConfiguration: {
cacheDuration: "string",
dynamicCompression: "string",
queryParameterStripDirective: "string",
queryParameters: "string",
},
customForwardingPath: "string",
forwardingProtocol: "string",
},
},
name: "string",
priority: 0,
matchConditions: [{
rulesEngineMatchValue: ["string"],
rulesEngineMatchVariable: "string",
rulesEngineOperator: "string",
negateCondition: false,
selector: "string",
transforms: ["string"],
}],
matchProcessingBehavior: "string",
}],
rulesEngineName: "string",
});
type: azure-native:network:RulesEngine
properties:
frontDoorName: string
resourceGroupName: string
rules:
- action:
requestHeaderActions:
- headerActionType: string
headerName: string
value: string
responseHeaderActions:
- headerActionType: string
headerName: string
value: string
routeConfigurationOverride:
backendPool:
id: string
cacheConfiguration:
cacheDuration: string
dynamicCompression: string
queryParameterStripDirective: string
queryParameters: string
customForwardingPath: string
forwardingProtocol: string
odataType: '#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration'
matchConditions:
- negateCondition: false
rulesEngineMatchValue:
- string
rulesEngineMatchVariable: string
rulesEngineOperator: string
selector: string
transforms:
- string
matchProcessingBehavior: string
name: string
priority: 0
rulesEngineName: string
RulesEngine 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 RulesEngine resource accepts the following input properties:
- Front
Door stringName - Name of the Front Door which is globally unique.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Rules
List<Pulumi.
Azure Native. Network. Inputs. Rules Engine Rule> - A list of rules that define a particular Rules Engine Configuration.
- Rules
Engine stringName - Name of the Rules Engine which is unique within the Front Door.
- Front
Door stringName - Name of the Front Door which is globally unique.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Rules
[]Rules
Engine Rule Args - A list of rules that define a particular Rules Engine Configuration.
- Rules
Engine stringName - Name of the Rules Engine which is unique within the Front Door.
- front
Door StringName - Name of the Front Door which is globally unique.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- rules
List<Rules
Engine Rule> - A list of rules that define a particular Rules Engine Configuration.
- rules
Engine StringName - Name of the Rules Engine which is unique within the Front Door.
- front
Door stringName - Name of the Front Door which is globally unique.
- resource
Group stringName - Name of the Resource group within the Azure subscription.
- rules
Rules
Engine Rule[] - A list of rules that define a particular Rules Engine Configuration.
- rules
Engine stringName - Name of the Rules Engine which is unique within the Front Door.
- front_
door_ strname - Name of the Front Door which is globally unique.
- resource_
group_ strname - Name of the Resource group within the Azure subscription.
- rules
Sequence[Rules
Engine Rule Args] - A list of rules that define a particular Rules Engine Configuration.
- rules_
engine_ strname - Name of the Rules Engine which is unique within the Front Door.
- front
Door StringName - Name of the Front Door which is globally unique.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- rules List<Property Map>
- A list of rules that define a particular Rules Engine Configuration.
- rules
Engine StringName - Name of the Rules Engine which is unique within the Front Door.
Outputs
All input properties are implicitly available as output properties. Additionally, the RulesEngine resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Resource
State string - Resource status.
- Type string
- Resource type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- Resource
State string - Resource status.
- Type string
- Resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- resource
State String - Resource status.
- type String
- Resource type.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- resource
State string - Resource status.
- type string
- Resource type.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- resource_
state str - Resource status.
- type str
- Resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- resource
State String - Resource status.
- type String
- Resource type.
Supporting Types
CacheConfiguration, CacheConfigurationArgs
- Cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- Dynamic
Compression string | Pulumi.Azure Native. Network. Dynamic Compression Enabled - Whether to use dynamic compression for cached content
- Query
Parameter string | Pulumi.Strip Directive Azure Native. Network. Front Door Query - Treatment of URL query terms when forming the cache key.
- Query
Parameters string - query parameters to include or exclude (comma separated).
- Cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- Dynamic
Compression string | DynamicCompression Enabled - Whether to use dynamic compression for cached content
- Query
Parameter string | FrontStrip Directive Door Query - Treatment of URL query terms when forming the cache key.
- Query
Parameters string - query parameters to include or exclude (comma separated).
- cache
Duration String - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression String | DynamicCompression Enabled - Whether to use dynamic compression for cached content
- query
Parameter String | FrontStrip Directive Door Query - Treatment of URL query terms when forming the cache key.
- query
Parameters String - query parameters to include or exclude (comma separated).
- cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression string | DynamicCompression Enabled - Whether to use dynamic compression for cached content
- query
Parameter string | FrontStrip Directive Door Query - Treatment of URL query terms when forming the cache key.
- query
Parameters string - query parameters to include or exclude (comma separated).
- cache_
duration str - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic_
compression str | DynamicCompression Enabled - Whether to use dynamic compression for cached content
- query_
parameter_ str | Frontstrip_ directive Door Query - Treatment of URL query terms when forming the cache key.
- query_
parameters str - query parameters to include or exclude (comma separated).
- cache
Duration String - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression String | "Enabled" | "Disabled" - Whether to use dynamic compression for cached content
- query
Parameter String | "StripStrip Directive None" | "Strip All" | "Strip Only" | "Strip All Except" - Treatment of URL query terms when forming the cache key.
- query
Parameters String - query parameters to include or exclude (comma separated).
CacheConfigurationResponse, CacheConfigurationResponseArgs
- Cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- Dynamic
Compression string - Whether to use dynamic compression for cached content
- Query
Parameter stringStrip Directive - Treatment of URL query terms when forming the cache key.
- Query
Parameters string - query parameters to include or exclude (comma separated).
- Cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- Dynamic
Compression string - Whether to use dynamic compression for cached content
- Query
Parameter stringStrip Directive - Treatment of URL query terms when forming the cache key.
- Query
Parameters string - query parameters to include or exclude (comma separated).
- cache
Duration String - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression String - Whether to use dynamic compression for cached content
- query
Parameter StringStrip Directive - Treatment of URL query terms when forming the cache key.
- query
Parameters String - query parameters to include or exclude (comma separated).
- cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression string - Whether to use dynamic compression for cached content
- query
Parameter stringStrip Directive - Treatment of URL query terms when forming the cache key.
- query
Parameters string - query parameters to include or exclude (comma separated).
- cache_
duration str - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic_
compression str - Whether to use dynamic compression for cached content
- query_
parameter_ strstrip_ directive - Treatment of URL query terms when forming the cache key.
- query_
parameters str - query parameters to include or exclude (comma separated).
- cache
Duration String - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression String - Whether to use dynamic compression for cached content
- query
Parameter StringStrip Directive - Treatment of URL query terms when forming the cache key.
- query
Parameters String - query parameters to include or exclude (comma separated).
DynamicCompressionEnabled, DynamicCompressionEnabledArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Dynamic
Compression Enabled Enabled - Enabled
- Dynamic
Compression Enabled Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
ForwardingConfiguration, ForwardingConfigurationArgs
- Backend
Pool Pulumi.Azure Native. Network. Inputs. Sub Resource - A reference to the BackendPool which this rule routes to.
- Cache
Configuration Pulumi.Azure Native. Network. Inputs. Cache Configuration - The caching configuration associated with this rule.
- Custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- Forwarding
Protocol string | Pulumi.Azure Native. Network. Front Door Forwarding Protocol - Protocol this rule will use when forwarding traffic to backends.
- Backend
Pool SubResource - A reference to the BackendPool which this rule routes to.
- Cache
Configuration CacheConfiguration - The caching configuration associated with this rule.
- Custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- Forwarding
Protocol string | FrontDoor Forwarding Protocol - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool SubResource - A reference to the BackendPool which this rule routes to.
- cache
Configuration CacheConfiguration - The caching configuration associated with this rule.
- custom
Forwarding StringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol String | FrontDoor Forwarding Protocol - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool SubResource - A reference to the BackendPool which this rule routes to.
- cache
Configuration CacheConfiguration - The caching configuration associated with this rule.
- custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol string | FrontDoor Forwarding Protocol - Protocol this rule will use when forwarding traffic to backends.
- backend_
pool SubResource - A reference to the BackendPool which this rule routes to.
- cache_
configuration CacheConfiguration - The caching configuration associated with this rule.
- custom_
forwarding_ strpath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding_
protocol str | FrontDoor Forwarding Protocol - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool Property Map - A reference to the BackendPool which this rule routes to.
- cache
Configuration Property Map - The caching configuration associated with this rule.
- custom
Forwarding StringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol String | "HttpOnly" | "Https Only" | "Match Request" - Protocol this rule will use when forwarding traffic to backends.
ForwardingConfigurationResponse, ForwardingConfigurationResponseArgs
- Backend
Pool Pulumi.Azure Native. Network. Inputs. Sub Resource Response - A reference to the BackendPool which this rule routes to.
- Cache
Configuration Pulumi.Azure Native. Network. Inputs. Cache Configuration Response - The caching configuration associated with this rule.
- Custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- Forwarding
Protocol string - Protocol this rule will use when forwarding traffic to backends.
- Backend
Pool SubResource Response - A reference to the BackendPool which this rule routes to.
- Cache
Configuration CacheConfiguration Response - The caching configuration associated with this rule.
- Custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- Forwarding
Protocol string - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool SubResource Response - A reference to the BackendPool which this rule routes to.
- cache
Configuration CacheConfiguration Response - The caching configuration associated with this rule.
- custom
Forwarding StringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol String - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool SubResource Response - A reference to the BackendPool which this rule routes to.
- cache
Configuration CacheConfiguration Response - The caching configuration associated with this rule.
- custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol string - Protocol this rule will use when forwarding traffic to backends.
- backend_
pool SubResource Response - A reference to the BackendPool which this rule routes to.
- cache_
configuration CacheConfiguration Response - The caching configuration associated with this rule.
- custom_
forwarding_ strpath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding_
protocol str - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool Property Map - A reference to the BackendPool which this rule routes to.
- cache
Configuration Property Map - The caching configuration associated with this rule.
- custom
Forwarding StringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol String - Protocol this rule will use when forwarding traffic to backends.
FrontDoorForwardingProtocol, FrontDoorForwardingProtocolArgs
- Http
Only - HttpOnly
- Https
Only - HttpsOnly
- Match
Request - MatchRequest
- Front
Door Forwarding Protocol Http Only - HttpOnly
- Front
Door Forwarding Protocol Https Only - HttpsOnly
- Front
Door Forwarding Protocol Match Request - MatchRequest
- Http
Only - HttpOnly
- Https
Only - HttpsOnly
- Match
Request - MatchRequest
- Http
Only - HttpOnly
- Https
Only - HttpsOnly
- Match
Request - MatchRequest
- HTTP_ONLY
- HttpOnly
- HTTPS_ONLY
- HttpsOnly
- MATCH_REQUEST
- MatchRequest
- "Http
Only" - HttpOnly
- "Https
Only" - HttpsOnly
- "Match
Request" - MatchRequest
FrontDoorQuery, FrontDoorQueryArgs
- Strip
None - StripNone
- Strip
All - StripAll
- Strip
Only - StripOnly
- Strip
All Except - StripAllExcept
- Front
Door Query Strip None - StripNone
- Front
Door Query Strip All - StripAll
- Front
Door Query Strip Only - StripOnly
- Front
Door Query Strip All Except - StripAllExcept
- Strip
None - StripNone
- Strip
All - StripAll
- Strip
Only - StripOnly
- Strip
All Except - StripAllExcept
- Strip
None - StripNone
- Strip
All - StripAll
- Strip
Only - StripOnly
- Strip
All Except - StripAllExcept
- STRIP_NONE
- StripNone
- STRIP_ALL
- StripAll
- STRIP_ONLY
- StripOnly
- STRIP_ALL_EXCEPT
- StripAllExcept
- "Strip
None" - StripNone
- "Strip
All" - StripAll
- "Strip
Only" - StripOnly
- "Strip
All Except" - StripAllExcept
FrontDoorRedirectProtocol, FrontDoorRedirectProtocolArgs
- Http
Only - HttpOnly
- Https
Only - HttpsOnly
- Match
Request - MatchRequest
- Front
Door Redirect Protocol Http Only - HttpOnly
- Front
Door Redirect Protocol Https Only - HttpsOnly
- Front
Door Redirect Protocol Match Request - MatchRequest
- Http
Only - HttpOnly
- Https
Only - HttpsOnly
- Match
Request - MatchRequest
- Http
Only - HttpOnly
- Https
Only - HttpsOnly
- Match
Request - MatchRequest
- HTTP_ONLY
- HttpOnly
- HTTPS_ONLY
- HttpsOnly
- MATCH_REQUEST
- MatchRequest
- "Http
Only" - HttpOnly
- "Https
Only" - HttpsOnly
- "Match
Request" - MatchRequest
FrontDoorRedirectType, FrontDoorRedirectTypeArgs
- Moved
- Moved
- Found
- Found
- Temporary
Redirect - TemporaryRedirect
- Permanent
Redirect - PermanentRedirect
- Front
Door Redirect Type Moved - Moved
- Front
Door Redirect Type Found - Found
- Front
Door Redirect Type Temporary Redirect - TemporaryRedirect
- Front
Door Redirect Type Permanent Redirect - PermanentRedirect
- Moved
- Moved
- Found
- Found
- Temporary
Redirect - TemporaryRedirect
- Permanent
Redirect - PermanentRedirect
- Moved
- Moved
- Found
- Found
- Temporary
Redirect - TemporaryRedirect
- Permanent
Redirect - PermanentRedirect
- MOVED
- Moved
- FOUND
- Found
- TEMPORARY_REDIRECT
- TemporaryRedirect
- PERMANENT_REDIRECT
- PermanentRedirect
- "Moved"
- Moved
- "Found"
- Found
- "Temporary
Redirect" - TemporaryRedirect
- "Permanent
Redirect" - PermanentRedirect
HeaderAction, HeaderActionArgs
- Header
Action string | Pulumi.Type Azure Native. Network. Header Action Type - Which type of manipulation to apply to the header.
- Header
Name string - The name of the header this action will apply to.
- Value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- Header
Action string | HeaderType Action Type - Which type of manipulation to apply to the header.
- Header
Name string - The name of the header this action will apply to.
- Value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action String | HeaderType Action Type - Which type of manipulation to apply to the header.
- header
Name String - The name of the header this action will apply to.
- value String
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action string | HeaderType Action Type - Which type of manipulation to apply to the header.
- header
Name string - The name of the header this action will apply to.
- value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header_
action_ str | Headertype Action Type - Which type of manipulation to apply to the header.
- header_
name str - The name of the header this action will apply to.
- value str
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action String | "Append" | "Delete" | "Overwrite"Type - Which type of manipulation to apply to the header.
- header
Name String - The name of the header this action will apply to.
- value String
- The value to update the given header name with. This value is not used if the actionType is Delete.
HeaderActionResponse, HeaderActionResponseArgs
- Header
Action stringType - Which type of manipulation to apply to the header.
- Header
Name string - The name of the header this action will apply to.
- Value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- Header
Action stringType - Which type of manipulation to apply to the header.
- Header
Name string - The name of the header this action will apply to.
- Value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action StringType - Which type of manipulation to apply to the header.
- header
Name String - The name of the header this action will apply to.
- value String
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action stringType - Which type of manipulation to apply to the header.
- header
Name string - The name of the header this action will apply to.
- value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header_
action_ strtype - Which type of manipulation to apply to the header.
- header_
name str - The name of the header this action will apply to.
- value str
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action StringType - Which type of manipulation to apply to the header.
- header
Name String - The name of the header this action will apply to.
- value String
- The value to update the given header name with. This value is not used if the actionType is Delete.
HeaderActionType, HeaderActionTypeArgs
- Append
- Append
- Delete
- Delete
- Overwrite
- Overwrite
- Header
Action Type Append - Append
- Header
Action Type Delete - Delete
- Header
Action Type Overwrite - Overwrite
- Append
- Append
- Delete
- Delete
- Overwrite
- Overwrite
- Append
- Append
- Delete
- Delete
- Overwrite
- Overwrite
- APPEND
- Append
- DELETE
- Delete
- OVERWRITE
- Overwrite
- "Append"
- Append
- "Delete"
- Delete
- "Overwrite"
- Overwrite
MatchProcessingBehavior, MatchProcessingBehaviorArgs
- Continue
- Continue
- Stop
- Stop
- Match
Processing Behavior Continue - Continue
- Match
Processing Behavior Stop - Stop
- Continue
- Continue
- Stop
- Stop
- Continue
- Continue
- Stop
- Stop
- CONTINUE_
- Continue
- STOP
- Stop
- "Continue"
- Continue
- "Stop"
- Stop
RedirectConfiguration, RedirectConfigurationArgs
- Custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- Custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- Custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- Custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- Redirect
Protocol string | Pulumi.Azure Native. Network. Front Door Redirect Protocol - The protocol of the destination to where the traffic is redirected
- Redirect
Type string | Pulumi.Azure Native. Network. Front Door Redirect Type - The redirect type the rule will use when redirecting traffic.
- Custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- Custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- Custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- Custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- Redirect
Protocol string | FrontDoor Redirect Protocol - The protocol of the destination to where the traffic is redirected
- Redirect
Type string | FrontDoor Redirect Type - The redirect type the rule will use when redirecting traffic.
- custom
Fragment String - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host String - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path String - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query StringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol String | FrontDoor Redirect Protocol - The protocol of the destination to where the traffic is redirected
- redirect
Type String | FrontDoor Redirect Type - The redirect type the rule will use when redirecting traffic.
- custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol string | FrontDoor Redirect Protocol - The protocol of the destination to where the traffic is redirected
- redirect
Type string | FrontDoor Redirect Type - The redirect type the rule will use when redirecting traffic.
- custom_
fragment str - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom_
host str - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom_
path str - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom_
query_ strstring - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect_
protocol str | FrontDoor Redirect Protocol - The protocol of the destination to where the traffic is redirected
- redirect_
type str | FrontDoor Redirect Type - The redirect type the rule will use when redirecting traffic.
- custom
Fragment String - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host String - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path String - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query StringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol String | "HttpOnly" | "Https Only" | "Match Request" - The protocol of the destination to where the traffic is redirected
- redirect
Type String | "Moved" | "Found" | "TemporaryRedirect" | "Permanent Redirect" - The redirect type the rule will use when redirecting traffic.
RedirectConfigurationResponse, RedirectConfigurationResponseArgs
- Custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- Custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- Custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- Custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- Redirect
Protocol string - The protocol of the destination to where the traffic is redirected
- Redirect
Type string - The redirect type the rule will use when redirecting traffic.
- Custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- Custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- Custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- Custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- Redirect
Protocol string - The protocol of the destination to where the traffic is redirected
- Redirect
Type string - The redirect type the rule will use when redirecting traffic.
- custom
Fragment String - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host String - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path String - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query StringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol String - The protocol of the destination to where the traffic is redirected
- redirect
Type String - The redirect type the rule will use when redirecting traffic.
- custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol string - The protocol of the destination to where the traffic is redirected
- redirect
Type string - The redirect type the rule will use when redirecting traffic.
- custom_
fragment str - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom_
host str - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom_
path str - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom_
query_ strstring - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect_
protocol str - The protocol of the destination to where the traffic is redirected
- redirect_
type str - The redirect type the rule will use when redirecting traffic.
- custom
Fragment String - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host String - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path String - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query StringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol String - The protocol of the destination to where the traffic is redirected
- redirect
Type String - The redirect type the rule will use when redirecting traffic.
RulesEngineAction, RulesEngineActionArgs
- Request
Header List<Pulumi.Actions Azure Native. Network. Inputs. Header Action> - A list of header actions to apply from the request from AFD to the origin.
- Response
Header List<Pulumi.Actions Azure Native. Network. Inputs. Header Action> - A list of header actions to apply from the response from AFD to the client.
- Route
Configuration Pulumi.Override Azure | Pulumi.Native. Network. Inputs. Forwarding Configuration Azure Native. Network. Inputs. Redirect Configuration - Override the route configuration.
- Request
Header []HeaderActions Action - A list of header actions to apply from the request from AFD to the origin.
- Response
Header []HeaderActions Action - A list of header actions to apply from the response from AFD to the client.
- Route
Configuration ForwardingOverride Configuration | RedirectConfiguration - Override the route configuration.
- request
Header List<HeaderActions Action> - A list of header actions to apply from the request from AFD to the origin.
- response
Header List<HeaderActions Action> - A list of header actions to apply from the response from AFD to the client.
- route
Configuration ForwardingOverride Configuration | RedirectConfiguration - Override the route configuration.
- request
Header HeaderActions Action[] - A list of header actions to apply from the request from AFD to the origin.
- response
Header HeaderActions Action[] - A list of header actions to apply from the response from AFD to the client.
- route
Configuration ForwardingOverride Configuration | RedirectConfiguration - Override the route configuration.
- request_
header_ Sequence[Headeractions Action] - A list of header actions to apply from the request from AFD to the origin.
- response_
header_ Sequence[Headeractions Action] - A list of header actions to apply from the response from AFD to the client.
- route_
configuration_ Forwardingoverride Configuration | RedirectConfiguration - Override the route configuration.
- request
Header List<Property Map>Actions - A list of header actions to apply from the request from AFD to the origin.
- response
Header List<Property Map>Actions - A list of header actions to apply from the response from AFD to the client.
- route
Configuration Property Map | Property MapOverride - Override the route configuration.
RulesEngineActionResponse, RulesEngineActionResponseArgs
- Request
Header List<Pulumi.Actions Azure Native. Network. Inputs. Header Action Response> - A list of header actions to apply from the request from AFD to the origin.
- Response
Header List<Pulumi.Actions Azure Native. Network. Inputs. Header Action Response> - A list of header actions to apply from the response from AFD to the client.
- Route
Configuration Pulumi.Override Azure | Pulumi.Native. Network. Inputs. Forwarding Configuration Response Azure Native. Network. Inputs. Redirect Configuration Response - Override the route configuration.
- Request
Header []HeaderActions Action Response - A list of header actions to apply from the request from AFD to the origin.
- Response
Header []HeaderActions Action Response - A list of header actions to apply from the response from AFD to the client.
- Route
Configuration ForwardingOverride Configuration | RedirectResponse Configuration Response - Override the route configuration.
- request
Header List<HeaderActions Action Response> - A list of header actions to apply from the request from AFD to the origin.
- response
Header List<HeaderActions Action Response> - A list of header actions to apply from the response from AFD to the client.
- route
Configuration ForwardingOverride Configuration | RedirectResponse Configuration Response - Override the route configuration.
- request
Header HeaderActions Action Response[] - A list of header actions to apply from the request from AFD to the origin.
- response
Header HeaderActions Action Response[] - A list of header actions to apply from the response from AFD to the client.
- route
Configuration ForwardingOverride Configuration | RedirectResponse Configuration Response - Override the route configuration.
- request_
header_ Sequence[Headeractions Action Response] - A list of header actions to apply from the request from AFD to the origin.
- response_
header_ Sequence[Headeractions Action Response] - A list of header actions to apply from the response from AFD to the client.
- route_
configuration_ Forwardingoverride Configuration | RedirectResponse Configuration Response - Override the route configuration.
- request
Header List<Property Map>Actions - A list of header actions to apply from the request from AFD to the origin.
- response
Header List<Property Map>Actions - A list of header actions to apply from the response from AFD to the client.
- route
Configuration Property Map | Property MapOverride - Override the route configuration.
RulesEngineMatchCondition, RulesEngineMatchConditionArgs
- Rules
Engine List<string>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- Rules
Engine string | Pulumi.Match Variable Azure Native. Network. Rules Engine Match Variable - Match Variable
- Rules
Engine string | Pulumi.Operator Azure Native. Network. Rules Engine Operator - Describes operator to apply to the match condition.
- Negate
Condition bool - Describes if this is negate condition or not
- Selector string
- Name of selector in RequestHeader or RequestBody to be matched
- Transforms
List<Union<string, Pulumi.
Azure Native. Network. Transform>> - List of transforms
- Rules
Engine []stringMatch Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- Rules
Engine string | RulesMatch Variable Engine Match Variable - Match Variable
- Rules
Engine string | RulesOperator Engine Operator - Describes operator to apply to the match condition.
- Negate
Condition bool - Describes if this is negate condition or not
- Selector string
- Name of selector in RequestHeader or RequestBody to be matched
- Transforms []string
- List of transforms
- rules
Engine List<String>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine String | RulesMatch Variable Engine Match Variable - Match Variable
- rules
Engine String | RulesOperator Engine Operator - Describes operator to apply to the match condition.
- negate
Condition Boolean - Describes if this is negate condition or not
- selector String
- Name of selector in RequestHeader or RequestBody to be matched
- transforms List<Either<String,Transform>>
- List of transforms
- rules
Engine string[]Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine string | RulesMatch Variable Engine Match Variable - Match Variable
- rules
Engine string | RulesOperator Engine Operator - Describes operator to apply to the match condition.
- negate
Condition boolean - Describes if this is negate condition or not
- selector string
- Name of selector in RequestHeader or RequestBody to be matched
- transforms (string | Transform)[]
- List of transforms
- rules_
engine_ Sequence[str]match_ value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules_
engine_ str | Rulesmatch_ variable Engine Match Variable - Match Variable
- rules_
engine_ str | Rulesoperator Engine Operator - Describes operator to apply to the match condition.
- negate_
condition bool - Describes if this is negate condition or not
- selector str
- Name of selector in RequestHeader or RequestBody to be matched
- transforms Sequence[Union[str, Transform]]
- List of transforms
- rules
Engine List<String>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine String | "IsMatch Variable Mobile" | "Remote Addr" | "Request Method" | "Query String" | "Post Args" | "Request Uri" | "Request Path" | "Request Filename" | "Request Filename Extension" | "Request Header" | "Request Body" | "Request Scheme" - Match Variable
- rules
Engine String | "Any" | "IPMatch" | "GeoOperator Match" | "Equal" | "Contains" | "Less Than" | "Greater Than" | "Less Than Or Equal" | "Greater Than Or Equal" | "Begins With" | "Ends With" - Describes operator to apply to the match condition.
- negate
Condition Boolean - Describes if this is negate condition or not
- selector String
- Name of selector in RequestHeader or RequestBody to be matched
- transforms
List<String | "Lowercase" | "Uppercase" | "Trim" | "Url
Decode" | "Url Encode" | "Remove Nulls"> - List of transforms
RulesEngineMatchConditionResponse, RulesEngineMatchConditionResponseArgs
- Rules
Engine List<string>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- Rules
Engine stringMatch Variable - Match Variable
- Rules
Engine stringOperator - Describes operator to apply to the match condition.
- Negate
Condition bool - Describes if this is negate condition or not
- Selector string
- Name of selector in RequestHeader or RequestBody to be matched
- Transforms List<string>
- List of transforms
- Rules
Engine []stringMatch Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- Rules
Engine stringMatch Variable - Match Variable
- Rules
Engine stringOperator - Describes operator to apply to the match condition.
- Negate
Condition bool - Describes if this is negate condition or not
- Selector string
- Name of selector in RequestHeader or RequestBody to be matched
- Transforms []string
- List of transforms
- rules
Engine List<String>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine StringMatch Variable - Match Variable
- rules
Engine StringOperator - Describes operator to apply to the match condition.
- negate
Condition Boolean - Describes if this is negate condition or not
- selector String
- Name of selector in RequestHeader or RequestBody to be matched
- transforms List<String>
- List of transforms
- rules
Engine string[]Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine stringMatch Variable - Match Variable
- rules
Engine stringOperator - Describes operator to apply to the match condition.
- negate
Condition boolean - Describes if this is negate condition or not
- selector string
- Name of selector in RequestHeader or RequestBody to be matched
- transforms string[]
- List of transforms
- rules_
engine_ Sequence[str]match_ value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules_
engine_ strmatch_ variable - Match Variable
- rules_
engine_ stroperator - Describes operator to apply to the match condition.
- negate_
condition bool - Describes if this is negate condition or not
- selector str
- Name of selector in RequestHeader or RequestBody to be matched
- transforms Sequence[str]
- List of transforms
- rules
Engine List<String>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine StringMatch Variable - Match Variable
- rules
Engine StringOperator - Describes operator to apply to the match condition.
- negate
Condition Boolean - Describes if this is negate condition or not
- selector String
- Name of selector in RequestHeader or RequestBody to be matched
- transforms List<String>
- List of transforms
RulesEngineMatchVariable, RulesEngineMatchVariableArgs
- Is
Mobile - IsMobile
- Remote
Addr - RemoteAddr
- Request
Method - RequestMethod
- Query
String - QueryString
- Post
Args - PostArgs
- Request
Uri - RequestUri
- Request
Path - RequestPath
- Request
Filename - RequestFilename
- Request
Filename Extension - RequestFilenameExtension
- Request
Header - RequestHeader
- Request
Body - RequestBody
- Request
Scheme - RequestScheme
- Rules
Engine Match Variable Is Mobile - IsMobile
- Rules
Engine Match Variable Remote Addr - RemoteAddr
- Rules
Engine Match Variable Request Method - RequestMethod
- Rules
Engine Match Variable Query String - QueryString
- Rules
Engine Match Variable Post Args - PostArgs
- Rules
Engine Match Variable Request Uri - RequestUri
- Rules
Engine Match Variable Request Path - RequestPath
- Rules
Engine Match Variable Request Filename - RequestFilename
- Rules
Engine Match Variable Request Filename Extension - RequestFilenameExtension
- Rules
Engine Match Variable Request Header - RequestHeader
- Rules
Engine Match Variable Request Body - RequestBody
- Rules
Engine Match Variable Request Scheme - RequestScheme
- Is
Mobile - IsMobile
- Remote
Addr - RemoteAddr
- Request
Method - RequestMethod
- Query
String - QueryString
- Post
Args - PostArgs
- Request
Uri - RequestUri
- Request
Path - RequestPath
- Request
Filename - RequestFilename
- Request
Filename Extension - RequestFilenameExtension
- Request
Header - RequestHeader
- Request
Body - RequestBody
- Request
Scheme - RequestScheme
- Is
Mobile - IsMobile
- Remote
Addr - RemoteAddr
- Request
Method - RequestMethod
- Query
String - QueryString
- Post
Args - PostArgs
- Request
Uri - RequestUri
- Request
Path - RequestPath
- Request
Filename - RequestFilename
- Request
Filename Extension - RequestFilenameExtension
- Request
Header - RequestHeader
- Request
Body - RequestBody
- Request
Scheme - RequestScheme
- IS_MOBILE
- IsMobile
- REMOTE_ADDR
- RemoteAddr
- REQUEST_METHOD
- RequestMethod
- QUERY_STRING
- QueryString
- POST_ARGS
- PostArgs
- REQUEST_URI
- RequestUri
- REQUEST_PATH
- RequestPath
- REQUEST_FILENAME
- RequestFilename
- REQUEST_FILENAME_EXTENSION
- RequestFilenameExtension
- REQUEST_HEADER
- RequestHeader
- REQUEST_BODY
- RequestBody
- REQUEST_SCHEME
- RequestScheme
- "Is
Mobile" - IsMobile
- "Remote
Addr" - RemoteAddr
- "Request
Method" - RequestMethod
- "Query
String" - QueryString
- "Post
Args" - PostArgs
- "Request
Uri" - RequestUri
- "Request
Path" - RequestPath
- "Request
Filename" - RequestFilename
- "Request
Filename Extension" - RequestFilenameExtension
- "Request
Header" - RequestHeader
- "Request
Body" - RequestBody
- "Request
Scheme" - RequestScheme
RulesEngineOperator, RulesEngineOperatorArgs
- Any
- Any
- IPMatch
- IPMatch
- Geo
Match - GeoMatch
- Equal
- Equal
- Contains
- Contains
- Less
Than - LessThan
- Greater
Than - GreaterThan
- Less
Than Or Equal - LessThanOrEqual
- Greater
Than Or Equal - GreaterThanOrEqual
- Begins
With - BeginsWith
- Ends
With - EndsWith
- Rules
Engine Operator Any - Any
- Rules
Engine Operator IPMatch - IPMatch
- Rules
Engine Operator Geo Match - GeoMatch
- Rules
Engine Operator Equal - Equal
- Rules
Engine Operator Contains - Contains
- Rules
Engine Operator Less Than - LessThan
- Rules
Engine Operator Greater Than - GreaterThan
- Rules
Engine Operator Less Than Or Equal - LessThanOrEqual
- Rules
Engine Operator Greater Than Or Equal - GreaterThanOrEqual
- Rules
Engine Operator Begins With - BeginsWith
- Rules
Engine Operator Ends With - EndsWith
- Any
- Any
- IPMatch
- IPMatch
- Geo
Match - GeoMatch
- Equal
- Equal
- Contains
- Contains
- Less
Than - LessThan
- Greater
Than - GreaterThan
- Less
Than Or Equal - LessThanOrEqual
- Greater
Than Or Equal - GreaterThanOrEqual
- Begins
With - BeginsWith
- Ends
With - EndsWith
- Any
- Any
- IPMatch
- IPMatch
- Geo
Match - GeoMatch
- Equal
- Equal
- Contains
- Contains
- Less
Than - LessThan
- Greater
Than - GreaterThan
- Less
Than Or Equal - LessThanOrEqual
- Greater
Than Or Equal - GreaterThanOrEqual
- Begins
With - BeginsWith
- Ends
With - EndsWith
- ANY
- Any
- IP_MATCH
- IPMatch
- GEO_MATCH
- GeoMatch
- EQUAL
- Equal
- CONTAINS
- Contains
- LESS_THAN
- LessThan
- GREATER_THAN
- GreaterThan
- LESS_THAN_OR_EQUAL
- LessThanOrEqual
- GREATER_THAN_OR_EQUAL
- GreaterThanOrEqual
- BEGINS_WITH
- BeginsWith
- ENDS_WITH
- EndsWith
- "Any"
- Any
- "IPMatch"
- IPMatch
- "Geo
Match" - GeoMatch
- "Equal"
- Equal
- "Contains"
- Contains
- "Less
Than" - LessThan
- "Greater
Than" - GreaterThan
- "Less
Than Or Equal" - LessThanOrEqual
- "Greater
Than Or Equal" - GreaterThanOrEqual
- "Begins
With" - BeginsWith
- "Ends
With" - EndsWith
RulesEngineRule, RulesEngineRuleArgs
- Action
Pulumi.
Azure Native. Network. Inputs. Rules Engine Action - Actions to perform on the request and response if all of the match conditions are met.
- Name string
- A name to refer to this specific rule.
- Priority int
- A priority assigned to this rule.
- Match
Conditions List<Pulumi.Azure Native. Network. Inputs. Rules Engine Match Condition> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- Match
Processing string | Pulumi.Behavior Azure Native. Network. Match Processing Behavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- Action
Rules
Engine Action - Actions to perform on the request and response if all of the match conditions are met.
- Name string
- A name to refer to this specific rule.
- Priority int
- A priority assigned to this rule.
- Match
Conditions []RulesEngine Match Condition - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- Match
Processing string | MatchBehavior Processing Behavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action - Actions to perform on the request and response if all of the match conditions are met.
- name String
- A name to refer to this specific rule.
- priority Integer
- A priority assigned to this rule.
- match
Conditions List<RulesEngine Match Condition> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing String | MatchBehavior Processing Behavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action - Actions to perform on the request and response if all of the match conditions are met.
- name string
- A name to refer to this specific rule.
- priority number
- A priority assigned to this rule.
- match
Conditions RulesEngine Match Condition[] - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing string | MatchBehavior Processing Behavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action - Actions to perform on the request and response if all of the match conditions are met.
- name str
- A name to refer to this specific rule.
- priority int
- A priority assigned to this rule.
- match_
conditions Sequence[RulesEngine Match Condition] - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match_
processing_ str | Matchbehavior Processing Behavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action Property Map
- Actions to perform on the request and response if all of the match conditions are met.
- name String
- A name to refer to this specific rule.
- priority Number
- A priority assigned to this rule.
- match
Conditions List<Property Map> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing String | "Continue" | "Stop"Behavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
RulesEngineRuleResponse, RulesEngineRuleResponseArgs
- Action
Pulumi.
Azure Native. Network. Inputs. Rules Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- Name string
- A name to refer to this specific rule.
- Priority int
- A priority assigned to this rule.
- Match
Conditions List<Pulumi.Azure Native. Network. Inputs. Rules Engine Match Condition Response> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- Match
Processing stringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- Action
Rules
Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- Name string
- A name to refer to this specific rule.
- Priority int
- A priority assigned to this rule.
- Match
Conditions []RulesEngine Match Condition Response - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- Match
Processing stringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- name String
- A name to refer to this specific rule.
- priority Integer
- A priority assigned to this rule.
- match
Conditions List<RulesEngine Match Condition Response> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing StringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- name string
- A name to refer to this specific rule.
- priority number
- A priority assigned to this rule.
- match
Conditions RulesEngine Match Condition Response[] - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing stringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- name str
- A name to refer to this specific rule.
- priority int
- A priority assigned to this rule.
- match_
conditions Sequence[RulesEngine Match Condition Response] - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match_
processing_ strbehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action Property Map
- Actions to perform on the request and response if all of the match conditions are met.
- name String
- A name to refer to this specific rule.
- priority Number
- A priority assigned to this rule.
- match
Conditions List<Property Map> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing StringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
SubResource, SubResourceArgs
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Transform, TransformArgs
- Lowercase
- Lowercase
- Uppercase
- Uppercase
- Trim
- Trim
- Url
Decode - UrlDecode
- Url
Encode - UrlEncode
- Remove
Nulls - RemoveNulls
- Transform
Lowercase - Lowercase
- Transform
Uppercase - Uppercase
- Transform
Trim - Trim
- Transform
Url Decode - UrlDecode
- Transform
Url Encode - UrlEncode
- Transform
Remove Nulls - RemoveNulls
- Lowercase
- Lowercase
- Uppercase
- Uppercase
- Trim
- Trim
- Url
Decode - UrlDecode
- Url
Encode - UrlEncode
- Remove
Nulls - RemoveNulls
- Lowercase
- Lowercase
- Uppercase
- Uppercase
- Trim
- Trim
- Url
Decode - UrlDecode
- Url
Encode - UrlEncode
- Remove
Nulls - RemoveNulls
- LOWERCASE
- Lowercase
- UPPERCASE
- Uppercase
- TRIM
- Trim
- URL_DECODE
- UrlDecode
- URL_ENCODE
- UrlEncode
- REMOVE_NULLS
- RemoveNulls
- "Lowercase"
- Lowercase
- "Uppercase"
- Uppercase
- "Trim"
- Trim
- "Url
Decode" - UrlDecode
- "Url
Encode" - UrlEncode
- "Remove
Nulls" - RemoveNulls
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:RulesEngine rulesEngine1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/rulesEngines/{rulesEngineName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0