azure-native.network.Policy
Explore with Pulumi AI
Defines web application firewall policy. Azure REST API version: 2022-05-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2021-06-01, 2024-02-01.
Example Usage
Creates specific policy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var policy = new AzureNative.Network.Policy("policy", new()
    {
        CustomRules = new AzureNative.Network.Inputs.CustomRuleListArgs
        {
            Rules = new[]
            {
                new AzureNative.Network.Inputs.CustomRuleArgs
                {
                    Action = AzureNative.Network.ActionType.Block,
                    MatchConditions = new[]
                    {
                        new AzureNative.Network.Inputs.FrontDoorMatchConditionArgs
                        {
                            MatchValue = new[]
                            {
                                "192.168.1.0/24",
                                "10.0.0.0/24",
                            },
                            MatchVariable = AzureNative.Network.FrontDoorMatchVariable.RemoteAddr,
                            Operator = AzureNative.Network.Operator.IPMatch,
                        },
                    },
                    Name = "Rule1",
                    Priority = 1,
                    RateLimitThreshold = 1000,
                    RuleType = AzureNative.Network.RuleType.RateLimitRule,
                },
                new AzureNative.Network.Inputs.CustomRuleArgs
                {
                    Action = AzureNative.Network.ActionType.Block,
                    MatchConditions = new[]
                    {
                        new AzureNative.Network.Inputs.FrontDoorMatchConditionArgs
                        {
                            MatchValue = new[]
                            {
                                "CH",
                            },
                            MatchVariable = AzureNative.Network.FrontDoorMatchVariable.RemoteAddr,
                            Operator = AzureNative.Network.Operator.GeoMatch,
                        },
                        new AzureNative.Network.Inputs.FrontDoorMatchConditionArgs
                        {
                            MatchValue = new[]
                            {
                                "windows",
                            },
                            MatchVariable = AzureNative.Network.FrontDoorMatchVariable.RequestHeader,
                            Operator = AzureNative.Network.Operator.Contains,
                            Selector = "UserAgent",
                            Transforms = new[]
                            {
                                AzureNative.Network.TransformType.Lowercase,
                            },
                        },
                    },
                    Name = "Rule2",
                    Priority = 2,
                    RuleType = AzureNative.Network.RuleType.MatchRule,
                },
            },
        },
        Location = "WestUs",
        ManagedRules = new AzureNative.Network.Inputs.ManagedRuleSetListArgs
        {
            ManagedRuleSets = new[]
            {
                new AzureNative.Network.Inputs.FrontDoorManagedRuleSetArgs
                {
                    Exclusions = new[]
                    {
                        new AzureNative.Network.Inputs.ManagedRuleExclusionArgs
                        {
                            MatchVariable = AzureNative.Network.ManagedRuleExclusionMatchVariable.RequestHeaderNames,
                            Selector = "User-Agent",
                            SelectorMatchOperator = AzureNative.Network.ManagedRuleExclusionSelectorMatchOperator.EqualsValue,
                        },
                    },
                    RuleGroupOverrides = new[]
                    {
                        new AzureNative.Network.Inputs.FrontDoorManagedRuleGroupOverrideArgs
                        {
                            Exclusions = new[]
                            {
                                new AzureNative.Network.Inputs.ManagedRuleExclusionArgs
                                {
                                    MatchVariable = AzureNative.Network.ManagedRuleExclusionMatchVariable.RequestCookieNames,
                                    Selector = "token",
                                    SelectorMatchOperator = AzureNative.Network.ManagedRuleExclusionSelectorMatchOperator.StartsWith,
                                },
                            },
                            RuleGroupName = "SQLI",
                            Rules = new[]
                            {
                                new AzureNative.Network.Inputs.FrontDoorManagedRuleOverrideArgs
                                {
                                    Action = "Redirect",
                                    EnabledState = AzureNative.Network.ManagedRuleEnabledState.Enabled,
                                    Exclusions = new[]
                                    {
                                        new AzureNative.Network.Inputs.ManagedRuleExclusionArgs
                                        {
                                            MatchVariable = AzureNative.Network.ManagedRuleExclusionMatchVariable.QueryStringArgNames,
                                            Selector = "query",
                                            SelectorMatchOperator = AzureNative.Network.ManagedRuleExclusionSelectorMatchOperator.EqualsValue,
                                        },
                                    },
                                    RuleId = "942100",
                                },
                                new AzureNative.Network.Inputs.FrontDoorManagedRuleOverrideArgs
                                {
                                    EnabledState = AzureNative.Network.ManagedRuleEnabledState.Disabled,
                                    RuleId = "942110",
                                },
                            },
                        },
                    },
                    RuleSetAction = AzureNative.Network.ManagedRuleSetActionType.Block,
                    RuleSetType = "DefaultRuleSet",
                    RuleSetVersion = "1.0",
                },
            },
        },
        PolicyName = "Policy1",
        PolicySettings = new AzureNative.Network.Inputs.FrontDoorPolicySettingsArgs
        {
            CustomBlockResponseBody = "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==",
            CustomBlockResponseStatusCode = 429,
            EnabledState = AzureNative.Network.PolicyEnabledState.Enabled,
            Mode = AzureNative.Network.PolicyMode.Prevention,
            RedirectUrl = "http://www.bing.com",
            RequestBodyCheck = AzureNative.Network.PolicyRequestBodyCheck.Disabled,
        },
        ResourceGroupName = "rg1",
        Sku = new AzureNative.Network.Inputs.SkuArgs
        {
            Name = AzureNative.Network.SkuName.Classic_AzureFrontDoor,
        },
    });
});
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.NewPolicy(ctx, "policy", &network.PolicyArgs{
			CustomRules: &network.CustomRuleListArgs{
				Rules: network.CustomRuleArray{
					&network.CustomRuleArgs{
						Action: pulumi.String(network.ActionTypeBlock),
						MatchConditions: network.FrontDoorMatchConditionArray{
							&network.FrontDoorMatchConditionArgs{
								MatchValue: pulumi.StringArray{
									pulumi.String("192.168.1.0/24"),
									pulumi.String("10.0.0.0/24"),
								},
								MatchVariable: pulumi.String(network.FrontDoorMatchVariableRemoteAddr),
								Operator:      pulumi.String(network.OperatorIPMatch),
							},
						},
						Name:               pulumi.String("Rule1"),
						Priority:           pulumi.Int(1),
						RateLimitThreshold: pulumi.Int(1000),
						RuleType:           pulumi.String(network.RuleTypeRateLimitRule),
					},
					&network.CustomRuleArgs{
						Action: pulumi.String(network.ActionTypeBlock),
						MatchConditions: network.FrontDoorMatchConditionArray{
							&network.FrontDoorMatchConditionArgs{
								MatchValue: pulumi.StringArray{
									pulumi.String("CH"),
								},
								MatchVariable: pulumi.String(network.FrontDoorMatchVariableRemoteAddr),
								Operator:      pulumi.String(network.OperatorGeoMatch),
							},
							&network.FrontDoorMatchConditionArgs{
								MatchValue: pulumi.StringArray{
									pulumi.String("windows"),
								},
								MatchVariable: pulumi.String(network.FrontDoorMatchVariableRequestHeader),
								Operator:      pulumi.String(network.OperatorContains),
								Selector:      pulumi.String("UserAgent"),
								Transforms: pulumi.StringArray{
									pulumi.String(network.TransformTypeLowercase),
								},
							},
						},
						Name:     pulumi.String("Rule2"),
						Priority: pulumi.Int(2),
						RuleType: pulumi.String(network.RuleTypeMatchRule),
					},
				},
			},
			Location: pulumi.String("WestUs"),
			ManagedRules: &network.ManagedRuleSetListArgs{
				ManagedRuleSets: network.FrontDoorManagedRuleSetArray{
					&network.FrontDoorManagedRuleSetArgs{
						Exclusions: network.ManagedRuleExclusionArray{
							&network.ManagedRuleExclusionArgs{
								MatchVariable:         pulumi.String(network.ManagedRuleExclusionMatchVariableRequestHeaderNames),
								Selector:              pulumi.String("User-Agent"),
								SelectorMatchOperator: pulumi.String(network.ManagedRuleExclusionSelectorMatchOperatorEquals),
							},
						},
						RuleGroupOverrides: network.FrontDoorManagedRuleGroupOverrideArray{
							&network.FrontDoorManagedRuleGroupOverrideArgs{
								Exclusions: network.ManagedRuleExclusionArray{
									&network.ManagedRuleExclusionArgs{
										MatchVariable:         pulumi.String(network.ManagedRuleExclusionMatchVariableRequestCookieNames),
										Selector:              pulumi.String("token"),
										SelectorMatchOperator: pulumi.String(network.ManagedRuleExclusionSelectorMatchOperatorStartsWith),
									},
								},
								RuleGroupName: pulumi.String("SQLI"),
								Rules: network.FrontDoorManagedRuleOverrideArray{
									&network.FrontDoorManagedRuleOverrideArgs{
										Action:       pulumi.String("Redirect"),
										EnabledState: pulumi.String(network.ManagedRuleEnabledStateEnabled),
										Exclusions: network.ManagedRuleExclusionArray{
											&network.ManagedRuleExclusionArgs{
												MatchVariable:         pulumi.String(network.ManagedRuleExclusionMatchVariableQueryStringArgNames),
												Selector:              pulumi.String("query"),
												SelectorMatchOperator: pulumi.String(network.ManagedRuleExclusionSelectorMatchOperatorEquals),
											},
										},
										RuleId: pulumi.String("942100"),
									},
									&network.FrontDoorManagedRuleOverrideArgs{
										EnabledState: pulumi.String(network.ManagedRuleEnabledStateDisabled),
										RuleId:       pulumi.String("942110"),
									},
								},
							},
						},
						RuleSetAction:  pulumi.String(network.ManagedRuleSetActionTypeBlock),
						RuleSetType:    pulumi.String("DefaultRuleSet"),
						RuleSetVersion: pulumi.String("1.0"),
					},
				},
			},
			PolicyName: pulumi.String("Policy1"),
			PolicySettings: &network.FrontDoorPolicySettingsArgs{
				CustomBlockResponseBody:       pulumi.String("PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="),
				CustomBlockResponseStatusCode: pulumi.Int(429),
				EnabledState:                  pulumi.String(network.PolicyEnabledStateEnabled),
				Mode:                          pulumi.String(network.PolicyModePrevention),
				RedirectUrl:                   pulumi.String("http://www.bing.com"),
				RequestBodyCheck:              pulumi.String(network.PolicyRequestBodyCheckDisabled),
			},
			ResourceGroupName: pulumi.String("rg1"),
			Sku: &network.SkuArgs{
				Name: pulumi.String(network.SkuName_Classic_AzureFrontDoor),
			},
		})
		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.Policy;
import com.pulumi.azurenative.network.PolicyArgs;
import com.pulumi.azurenative.network.inputs.CustomRuleListArgs;
import com.pulumi.azurenative.network.inputs.ManagedRuleSetListArgs;
import com.pulumi.azurenative.network.inputs.FrontDoorPolicySettingsArgs;
import com.pulumi.azurenative.network.inputs.SkuArgs;
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 policy = new Policy("policy", PolicyArgs.builder()
            .customRules(CustomRuleListArgs.builder()
                .rules(                
                    CustomRuleArgs.builder()
                        .action("Block")
                        .matchConditions(FrontDoorMatchConditionArgs.builder()
                            .matchValue(                            
                                "192.168.1.0/24",
                                "10.0.0.0/24")
                            .matchVariable("RemoteAddr")
                            .operator("IPMatch")
                            .build())
                        .name("Rule1")
                        .priority(1)
                        .rateLimitThreshold(1000)
                        .ruleType("RateLimitRule")
                        .build(),
                    CustomRuleArgs.builder()
                        .action("Block")
                        .matchConditions(                        
                            FrontDoorMatchConditionArgs.builder()
                                .matchValue("CH")
                                .matchVariable("RemoteAddr")
                                .operator("GeoMatch")
                                .build(),
                            FrontDoorMatchConditionArgs.builder()
                                .matchValue("windows")
                                .matchVariable("RequestHeader")
                                .operator("Contains")
                                .selector("UserAgent")
                                .transforms("Lowercase")
                                .build())
                        .name("Rule2")
                        .priority(2)
                        .ruleType("MatchRule")
                        .build())
                .build())
            .location("WestUs")
            .managedRules(ManagedRuleSetListArgs.builder()
                .managedRuleSets(FrontDoorManagedRuleSetArgs.builder()
                    .exclusions(ManagedRuleExclusionArgs.builder()
                        .matchVariable("RequestHeaderNames")
                        .selector("User-Agent")
                        .selectorMatchOperator("Equals")
                        .build())
                    .ruleGroupOverrides(FrontDoorManagedRuleGroupOverrideArgs.builder()
                        .exclusions(ManagedRuleExclusionArgs.builder()
                            .matchVariable("RequestCookieNames")
                            .selector("token")
                            .selectorMatchOperator("StartsWith")
                            .build())
                        .ruleGroupName("SQLI")
                        .rules(                        
                            FrontDoorManagedRuleOverrideArgs.builder()
                                .action("Redirect")
                                .enabledState("Enabled")
                                .exclusions(ManagedRuleExclusionArgs.builder()
                                    .matchVariable("QueryStringArgNames")
                                    .selector("query")
                                    .selectorMatchOperator("Equals")
                                    .build())
                                .ruleId("942100")
                                .build(),
                            FrontDoorManagedRuleOverrideArgs.builder()
                                .enabledState("Disabled")
                                .ruleId("942110")
                                .build())
                        .build())
                    .ruleSetAction("Block")
                    .ruleSetType("DefaultRuleSet")
                    .ruleSetVersion("1.0")
                    .build())
                .build())
            .policyName("Policy1")
            .policySettings(FrontDoorPolicySettingsArgs.builder()
                .customBlockResponseBody("PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==")
                .customBlockResponseStatusCode(429)
                .enabledState("Enabled")
                .mode("Prevention")
                .redirectUrl("http://www.bing.com")
                .requestBodyCheck("Disabled")
                .build())
            .resourceGroupName("rg1")
            .sku(SkuArgs.builder()
                .name("Classic_AzureFrontDoor")
                .build())
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const policy = new azure_native.network.Policy("policy", {
    customRules: {
        rules: [
            {
                action: azure_native.network.ActionType.Block,
                matchConditions: [{
                    matchValue: [
                        "192.168.1.0/24",
                        "10.0.0.0/24",
                    ],
                    matchVariable: azure_native.network.FrontDoorMatchVariable.RemoteAddr,
                    operator: azure_native.network.Operator.IPMatch,
                }],
                name: "Rule1",
                priority: 1,
                rateLimitThreshold: 1000,
                ruleType: azure_native.network.RuleType.RateLimitRule,
            },
            {
                action: azure_native.network.ActionType.Block,
                matchConditions: [
                    {
                        matchValue: ["CH"],
                        matchVariable: azure_native.network.FrontDoorMatchVariable.RemoteAddr,
                        operator: azure_native.network.Operator.GeoMatch,
                    },
                    {
                        matchValue: ["windows"],
                        matchVariable: azure_native.network.FrontDoorMatchVariable.RequestHeader,
                        operator: azure_native.network.Operator.Contains,
                        selector: "UserAgent",
                        transforms: [azure_native.network.TransformType.Lowercase],
                    },
                ],
                name: "Rule2",
                priority: 2,
                ruleType: azure_native.network.RuleType.MatchRule,
            },
        ],
    },
    location: "WestUs",
    managedRules: {
        managedRuleSets: [{
            exclusions: [{
                matchVariable: azure_native.network.ManagedRuleExclusionMatchVariable.RequestHeaderNames,
                selector: "User-Agent",
                selectorMatchOperator: azure_native.network.ManagedRuleExclusionSelectorMatchOperator.Equals,
            }],
            ruleGroupOverrides: [{
                exclusions: [{
                    matchVariable: azure_native.network.ManagedRuleExclusionMatchVariable.RequestCookieNames,
                    selector: "token",
                    selectorMatchOperator: azure_native.network.ManagedRuleExclusionSelectorMatchOperator.StartsWith,
                }],
                ruleGroupName: "SQLI",
                rules: [
                    {
                        action: "Redirect",
                        enabledState: azure_native.network.ManagedRuleEnabledState.Enabled,
                        exclusions: [{
                            matchVariable: azure_native.network.ManagedRuleExclusionMatchVariable.QueryStringArgNames,
                            selector: "query",
                            selectorMatchOperator: azure_native.network.ManagedRuleExclusionSelectorMatchOperator.Equals,
                        }],
                        ruleId: "942100",
                    },
                    {
                        enabledState: azure_native.network.ManagedRuleEnabledState.Disabled,
                        ruleId: "942110",
                    },
                ],
            }],
            ruleSetAction: azure_native.network.ManagedRuleSetActionType.Block,
            ruleSetType: "DefaultRuleSet",
            ruleSetVersion: "1.0",
        }],
    },
    policyName: "Policy1",
    policySettings: {
        customBlockResponseBody: "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==",
        customBlockResponseStatusCode: 429,
        enabledState: azure_native.network.PolicyEnabledState.Enabled,
        mode: azure_native.network.PolicyMode.Prevention,
        redirectUrl: "http://www.bing.com",
        requestBodyCheck: azure_native.network.PolicyRequestBodyCheck.Disabled,
    },
    resourceGroupName: "rg1",
    sku: {
        name: azure_native.network.SkuName.Classic_AzureFrontDoor,
    },
});
import pulumi
import pulumi_azure_native as azure_native
policy = azure_native.network.Policy("policy",
    custom_rules={
        "rules": [
            {
                "action": azure_native.network.ActionType.BLOCK,
                "match_conditions": [{
                    "match_value": [
                        "192.168.1.0/24",
                        "10.0.0.0/24",
                    ],
                    "match_variable": azure_native.network.FrontDoorMatchVariable.REMOTE_ADDR,
                    "operator": azure_native.network.Operator.IP_MATCH,
                }],
                "name": "Rule1",
                "priority": 1,
                "rate_limit_threshold": 1000,
                "rule_type": azure_native.network.RuleType.RATE_LIMIT_RULE,
            },
            {
                "action": azure_native.network.ActionType.BLOCK,
                "match_conditions": [
                    {
                        "match_value": ["CH"],
                        "match_variable": azure_native.network.FrontDoorMatchVariable.REMOTE_ADDR,
                        "operator": azure_native.network.Operator.GEO_MATCH,
                    },
                    {
                        "match_value": ["windows"],
                        "match_variable": azure_native.network.FrontDoorMatchVariable.REQUEST_HEADER,
                        "operator": azure_native.network.Operator.CONTAINS,
                        "selector": "UserAgent",
                        "transforms": [azure_native.network.TransformType.LOWERCASE],
                    },
                ],
                "name": "Rule2",
                "priority": 2,
                "rule_type": azure_native.network.RuleType.MATCH_RULE,
            },
        ],
    },
    location="WestUs",
    managed_rules={
        "managed_rule_sets": [{
            "exclusions": [{
                "match_variable": azure_native.network.ManagedRuleExclusionMatchVariable.REQUEST_HEADER_NAMES,
                "selector": "User-Agent",
                "selector_match_operator": azure_native.network.ManagedRuleExclusionSelectorMatchOperator.EQUALS,
            }],
            "rule_group_overrides": [{
                "exclusions": [{
                    "match_variable": azure_native.network.ManagedRuleExclusionMatchVariable.REQUEST_COOKIE_NAMES,
                    "selector": "token",
                    "selector_match_operator": azure_native.network.ManagedRuleExclusionSelectorMatchOperator.STARTS_WITH,
                }],
                "rule_group_name": "SQLI",
                "rules": [
                    {
                        "action": "Redirect",
                        "enabled_state": azure_native.network.ManagedRuleEnabledState.ENABLED,
                        "exclusions": [{
                            "match_variable": azure_native.network.ManagedRuleExclusionMatchVariable.QUERY_STRING_ARG_NAMES,
                            "selector": "query",
                            "selector_match_operator": azure_native.network.ManagedRuleExclusionSelectorMatchOperator.EQUALS,
                        }],
                        "rule_id": "942100",
                    },
                    {
                        "enabled_state": azure_native.network.ManagedRuleEnabledState.DISABLED,
                        "rule_id": "942110",
                    },
                ],
            }],
            "rule_set_action": azure_native.network.ManagedRuleSetActionType.BLOCK,
            "rule_set_type": "DefaultRuleSet",
            "rule_set_version": "1.0",
        }],
    },
    policy_name="Policy1",
    policy_settings={
        "custom_block_response_body": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==",
        "custom_block_response_status_code": 429,
        "enabled_state": azure_native.network.PolicyEnabledState.ENABLED,
        "mode": azure_native.network.PolicyMode.PREVENTION,
        "redirect_url": "http://www.bing.com",
        "request_body_check": azure_native.network.PolicyRequestBodyCheck.DISABLED,
    },
    resource_group_name="rg1",
    sku={
        "name": azure_native.network.SkuName.CLASSIC_AZURE_FRONT_DOOR,
    })
resources:
  policy:
    type: azure-native:network:Policy
    properties:
      customRules:
        rules:
          - action: Block
            matchConditions:
              - matchValue:
                  - 192.168.1.0/24
                  - 10.0.0.0/24
                matchVariable: RemoteAddr
                operator: IPMatch
            name: Rule1
            priority: 1
            rateLimitThreshold: 1000
            ruleType: RateLimitRule
          - action: Block
            matchConditions:
              - matchValue:
                  - CH
                matchVariable: RemoteAddr
                operator: GeoMatch
              - matchValue:
                  - windows
                matchVariable: RequestHeader
                operator: Contains
                selector: UserAgent
                transforms:
                  - Lowercase
            name: Rule2
            priority: 2
            ruleType: MatchRule
      location: WestUs
      managedRules:
        managedRuleSets:
          - exclusions:
              - matchVariable: RequestHeaderNames
                selector: User-Agent
                selectorMatchOperator: Equals
            ruleGroupOverrides:
              - exclusions:
                  - matchVariable: RequestCookieNames
                    selector: token
                    selectorMatchOperator: StartsWith
                ruleGroupName: SQLI
                rules:
                  - action: Redirect
                    enabledState: Enabled
                    exclusions:
                      - matchVariable: QueryStringArgNames
                        selector: query
                        selectorMatchOperator: Equals
                    ruleId: '942100'
                  - enabledState: Disabled
                    ruleId: '942110'
            ruleSetAction: Block
            ruleSetType: DefaultRuleSet
            ruleSetVersion: '1.0'
      policyName: Policy1
      policySettings:
        customBlockResponseBody: PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==
        customBlockResponseStatusCode: 429
        enabledState: Enabled
        mode: Prevention
        redirectUrl: http://www.bing.com
        requestBodyCheck: Disabled
      resourceGroupName: rg1
      sku:
        name: Classic_AzureFrontDoor
Create Policy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Policy(name: string, args: PolicyArgs, opts?: CustomResourceOptions);@overload
def Policy(resource_name: str,
           args: PolicyArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Policy(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           resource_group_name: Optional[str] = None,
           custom_rules: Optional[CustomRuleListArgs] = None,
           location: Optional[str] = None,
           managed_rules: Optional[ManagedRuleSetListArgs] = None,
           policy_name: Optional[str] = None,
           policy_settings: Optional[FrontDoorPolicySettingsArgs] = None,
           sku: Optional[SkuArgs] = None,
           tags: Optional[Mapping[str, str]] = None)func NewPolicy(ctx *Context, name string, args PolicyArgs, opts ...ResourceOption) (*Policy, error)public Policy(string name, PolicyArgs args, CustomResourceOptions? opts = null)
public Policy(String name, PolicyArgs args)
public Policy(String name, PolicyArgs args, CustomResourceOptions options)
type: azure-native:network:Policy
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 PolicyArgs
- 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 PolicyArgs
- 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 PolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyArgs
- 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 examplepolicyResourceResourceFromNetwork = new AzureNative.Network.Policy("examplepolicyResourceResourceFromNetwork", new()
{
    ResourceGroupName = "string",
    CustomRules = new AzureNative.Network.Inputs.CustomRuleListArgs
    {
        Rules = new[]
        {
            new AzureNative.Network.Inputs.CustomRuleArgs
            {
                Action = "string",
                MatchConditions = new[]
                {
                    new AzureNative.Network.Inputs.FrontDoorMatchConditionArgs
                    {
                        MatchValue = new[]
                        {
                            "string",
                        },
                        MatchVariable = "string",
                        Operator = "string",
                        NegateCondition = false,
                        Selector = "string",
                        Transforms = new[]
                        {
                            "string",
                        },
                    },
                },
                Priority = 0,
                RuleType = "string",
                EnabledState = "string",
                Name = "string",
                RateLimitDurationInMinutes = 0,
                RateLimitThreshold = 0,
            },
        },
    },
    Location = "string",
    ManagedRules = new AzureNative.Network.Inputs.ManagedRuleSetListArgs
    {
        ManagedRuleSets = new[]
        {
            new AzureNative.Network.Inputs.FrontDoorManagedRuleSetArgs
            {
                RuleSetType = "string",
                RuleSetVersion = "string",
                Exclusions = new[]
                {
                    new AzureNative.Network.Inputs.ManagedRuleExclusionArgs
                    {
                        MatchVariable = "string",
                        Selector = "string",
                        SelectorMatchOperator = "string",
                    },
                },
                RuleGroupOverrides = new[]
                {
                    new AzureNative.Network.Inputs.FrontDoorManagedRuleGroupOverrideArgs
                    {
                        RuleGroupName = "string",
                        Exclusions = new[]
                        {
                            new AzureNative.Network.Inputs.ManagedRuleExclusionArgs
                            {
                                MatchVariable = "string",
                                Selector = "string",
                                SelectorMatchOperator = "string",
                            },
                        },
                        Rules = new[]
                        {
                            new AzureNative.Network.Inputs.FrontDoorManagedRuleOverrideArgs
                            {
                                RuleId = "string",
                                Action = "string",
                                EnabledState = "string",
                                Exclusions = new[]
                                {
                                    new AzureNative.Network.Inputs.ManagedRuleExclusionArgs
                                    {
                                        MatchVariable = "string",
                                        Selector = "string",
                                        SelectorMatchOperator = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                RuleSetAction = "string",
            },
        },
    },
    PolicyName = "string",
    PolicySettings = new AzureNative.Network.Inputs.FrontDoorPolicySettingsArgs
    {
        CustomBlockResponseBody = "string",
        CustomBlockResponseStatusCode = 0,
        EnabledState = "string",
        Mode = "string",
        RedirectUrl = "string",
        RequestBodyCheck = "string",
    },
    Sku = new AzureNative.Network.Inputs.SkuArgs
    {
        Name = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := network.NewPolicy(ctx, "examplepolicyResourceResourceFromNetwork", &network.PolicyArgs{
	ResourceGroupName: pulumi.String("string"),
	CustomRules: &network.CustomRuleListArgs{
		Rules: network.CustomRuleArray{
			&network.CustomRuleArgs{
				Action: pulumi.String("string"),
				MatchConditions: network.FrontDoorMatchConditionArray{
					&network.FrontDoorMatchConditionArgs{
						MatchValue: pulumi.StringArray{
							pulumi.String("string"),
						},
						MatchVariable:   pulumi.String("string"),
						Operator:        pulumi.String("string"),
						NegateCondition: pulumi.Bool(false),
						Selector:        pulumi.String("string"),
						Transforms: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
				Priority:                   pulumi.Int(0),
				RuleType:                   pulumi.String("string"),
				EnabledState:               pulumi.String("string"),
				Name:                       pulumi.String("string"),
				RateLimitDurationInMinutes: pulumi.Int(0),
				RateLimitThreshold:         pulumi.Int(0),
			},
		},
	},
	Location: pulumi.String("string"),
	ManagedRules: &network.ManagedRuleSetListArgs{
		ManagedRuleSets: network.FrontDoorManagedRuleSetArray{
			&network.FrontDoorManagedRuleSetArgs{
				RuleSetType:    pulumi.String("string"),
				RuleSetVersion: pulumi.String("string"),
				Exclusions: network.ManagedRuleExclusionArray{
					&network.ManagedRuleExclusionArgs{
						MatchVariable:         pulumi.String("string"),
						Selector:              pulumi.String("string"),
						SelectorMatchOperator: pulumi.String("string"),
					},
				},
				RuleGroupOverrides: network.FrontDoorManagedRuleGroupOverrideArray{
					&network.FrontDoorManagedRuleGroupOverrideArgs{
						RuleGroupName: pulumi.String("string"),
						Exclusions: network.ManagedRuleExclusionArray{
							&network.ManagedRuleExclusionArgs{
								MatchVariable:         pulumi.String("string"),
								Selector:              pulumi.String("string"),
								SelectorMatchOperator: pulumi.String("string"),
							},
						},
						Rules: network.FrontDoorManagedRuleOverrideArray{
							&network.FrontDoorManagedRuleOverrideArgs{
								RuleId:       pulumi.String("string"),
								Action:       pulumi.String("string"),
								EnabledState: pulumi.String("string"),
								Exclusions: network.ManagedRuleExclusionArray{
									&network.ManagedRuleExclusionArgs{
										MatchVariable:         pulumi.String("string"),
										Selector:              pulumi.String("string"),
										SelectorMatchOperator: pulumi.String("string"),
									},
								},
							},
						},
					},
				},
				RuleSetAction: pulumi.String("string"),
			},
		},
	},
	PolicyName: pulumi.String("string"),
	PolicySettings: &network.FrontDoorPolicySettingsArgs{
		CustomBlockResponseBody:       pulumi.String("string"),
		CustomBlockResponseStatusCode: pulumi.Int(0),
		EnabledState:                  pulumi.String("string"),
		Mode:                          pulumi.String("string"),
		RedirectUrl:                   pulumi.String("string"),
		RequestBodyCheck:              pulumi.String("string"),
	},
	Sku: &network.SkuArgs{
		Name: pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var examplepolicyResourceResourceFromNetwork = new Policy("examplepolicyResourceResourceFromNetwork", PolicyArgs.builder()
    .resourceGroupName("string")
    .customRules(CustomRuleListArgs.builder()
        .rules(CustomRuleArgs.builder()
            .action("string")
            .matchConditions(FrontDoorMatchConditionArgs.builder()
                .matchValue("string")
                .matchVariable("string")
                .operator("string")
                .negateCondition(false)
                .selector("string")
                .transforms("string")
                .build())
            .priority(0)
            .ruleType("string")
            .enabledState("string")
            .name("string")
            .rateLimitDurationInMinutes(0)
            .rateLimitThreshold(0)
            .build())
        .build())
    .location("string")
    .managedRules(ManagedRuleSetListArgs.builder()
        .managedRuleSets(FrontDoorManagedRuleSetArgs.builder()
            .ruleSetType("string")
            .ruleSetVersion("string")
            .exclusions(ManagedRuleExclusionArgs.builder()
                .matchVariable("string")
                .selector("string")
                .selectorMatchOperator("string")
                .build())
            .ruleGroupOverrides(FrontDoorManagedRuleGroupOverrideArgs.builder()
                .ruleGroupName("string")
                .exclusions(ManagedRuleExclusionArgs.builder()
                    .matchVariable("string")
                    .selector("string")
                    .selectorMatchOperator("string")
                    .build())
                .rules(FrontDoorManagedRuleOverrideArgs.builder()
                    .ruleId("string")
                    .action("string")
                    .enabledState("string")
                    .exclusions(ManagedRuleExclusionArgs.builder()
                        .matchVariable("string")
                        .selector("string")
                        .selectorMatchOperator("string")
                        .build())
                    .build())
                .build())
            .ruleSetAction("string")
            .build())
        .build())
    .policyName("string")
    .policySettings(FrontDoorPolicySettingsArgs.builder()
        .customBlockResponseBody("string")
        .customBlockResponseStatusCode(0)
        .enabledState("string")
        .mode("string")
        .redirectUrl("string")
        .requestBodyCheck("string")
        .build())
    .sku(SkuArgs.builder()
        .name("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
examplepolicy_resource_resource_from_network = azure_native.network.Policy("examplepolicyResourceResourceFromNetwork",
    resource_group_name="string",
    custom_rules={
        "rules": [{
            "action": "string",
            "match_conditions": [{
                "match_value": ["string"],
                "match_variable": "string",
                "operator": "string",
                "negate_condition": False,
                "selector": "string",
                "transforms": ["string"],
            }],
            "priority": 0,
            "rule_type": "string",
            "enabled_state": "string",
            "name": "string",
            "rate_limit_duration_in_minutes": 0,
            "rate_limit_threshold": 0,
        }],
    },
    location="string",
    managed_rules={
        "managed_rule_sets": [{
            "rule_set_type": "string",
            "rule_set_version": "string",
            "exclusions": [{
                "match_variable": "string",
                "selector": "string",
                "selector_match_operator": "string",
            }],
            "rule_group_overrides": [{
                "rule_group_name": "string",
                "exclusions": [{
                    "match_variable": "string",
                    "selector": "string",
                    "selector_match_operator": "string",
                }],
                "rules": [{
                    "rule_id": "string",
                    "action": "string",
                    "enabled_state": "string",
                    "exclusions": [{
                        "match_variable": "string",
                        "selector": "string",
                        "selector_match_operator": "string",
                    }],
                }],
            }],
            "rule_set_action": "string",
        }],
    },
    policy_name="string",
    policy_settings={
        "custom_block_response_body": "string",
        "custom_block_response_status_code": 0,
        "enabled_state": "string",
        "mode": "string",
        "redirect_url": "string",
        "request_body_check": "string",
    },
    sku={
        "name": "string",
    },
    tags={
        "string": "string",
    })
const examplepolicyResourceResourceFromNetwork = new azure_native.network.Policy("examplepolicyResourceResourceFromNetwork", {
    resourceGroupName: "string",
    customRules: {
        rules: [{
            action: "string",
            matchConditions: [{
                matchValue: ["string"],
                matchVariable: "string",
                operator: "string",
                negateCondition: false,
                selector: "string",
                transforms: ["string"],
            }],
            priority: 0,
            ruleType: "string",
            enabledState: "string",
            name: "string",
            rateLimitDurationInMinutes: 0,
            rateLimitThreshold: 0,
        }],
    },
    location: "string",
    managedRules: {
        managedRuleSets: [{
            ruleSetType: "string",
            ruleSetVersion: "string",
            exclusions: [{
                matchVariable: "string",
                selector: "string",
                selectorMatchOperator: "string",
            }],
            ruleGroupOverrides: [{
                ruleGroupName: "string",
                exclusions: [{
                    matchVariable: "string",
                    selector: "string",
                    selectorMatchOperator: "string",
                }],
                rules: [{
                    ruleId: "string",
                    action: "string",
                    enabledState: "string",
                    exclusions: [{
                        matchVariable: "string",
                        selector: "string",
                        selectorMatchOperator: "string",
                    }],
                }],
            }],
            ruleSetAction: "string",
        }],
    },
    policyName: "string",
    policySettings: {
        customBlockResponseBody: "string",
        customBlockResponseStatusCode: 0,
        enabledState: "string",
        mode: "string",
        redirectUrl: "string",
        requestBodyCheck: "string",
    },
    sku: {
        name: "string",
    },
    tags: {
        string: "string",
    },
});
type: azure-native:network:Policy
properties:
    customRules:
        rules:
            - action: string
              enabledState: string
              matchConditions:
                - matchValue:
                    - string
                  matchVariable: string
                  negateCondition: false
                  operator: string
                  selector: string
                  transforms:
                    - string
              name: string
              priority: 0
              rateLimitDurationInMinutes: 0
              rateLimitThreshold: 0
              ruleType: string
    location: string
    managedRules:
        managedRuleSets:
            - exclusions:
                - matchVariable: string
                  selector: string
                  selectorMatchOperator: string
              ruleGroupOverrides:
                - exclusions:
                    - matchVariable: string
                      selector: string
                      selectorMatchOperator: string
                  ruleGroupName: string
                  rules:
                    - action: string
                      enabledState: string
                      exclusions:
                        - matchVariable: string
                          selector: string
                          selectorMatchOperator: string
                      ruleId: string
              ruleSetAction: string
              ruleSetType: string
              ruleSetVersion: string
    policyName: string
    policySettings:
        customBlockResponseBody: string
        customBlockResponseStatusCode: 0
        enabledState: string
        mode: string
        redirectUrl: string
        requestBodyCheck: string
    resourceGroupName: string
    sku:
        name: string
    tags:
        string: string
Policy 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 Policy resource accepts the following input properties:
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- CustomRules Pulumi.Azure Native. Network. Inputs. Custom Rule List 
- Describes custom rules inside the policy.
- Location string
- Resource location.
- ManagedRules Pulumi.Azure Native. Network. Inputs. Managed Rule Set List 
- Describes managed rules inside the policy.
- PolicyName string
- The name of the Web Application Firewall Policy.
- PolicySettings Pulumi.Azure Native. Network. Inputs. Front Door Policy Settings 
- Describes settings for the policy.
- Sku
Pulumi.Azure Native. Network. Inputs. Sku 
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Dictionary<string, string>
- Resource tags.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- CustomRules CustomRule List Args 
- Describes custom rules inside the policy.
- Location string
- Resource location.
- ManagedRules ManagedRule Set List Args 
- Describes managed rules inside the policy.
- PolicyName string
- The name of the Web Application Firewall Policy.
- PolicySettings FrontDoor Policy Settings Args 
- Describes settings for the policy.
- Sku
SkuArgs 
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- map[string]string
- Resource tags.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- customRules CustomRule List 
- Describes custom rules inside the policy.
- location String
- Resource location.
- managedRules ManagedRule Set List 
- Describes managed rules inside the policy.
- policyName String
- The name of the Web Application Firewall Policy.
- policySettings FrontDoor Policy Settings 
- Describes settings for the policy.
- sku Sku
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Map<String,String>
- Resource tags.
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- customRules CustomRule List 
- Describes custom rules inside the policy.
- location string
- Resource location.
- managedRules ManagedRule Set List 
- Describes managed rules inside the policy.
- policyName string
- The name of the Web Application Firewall Policy.
- policySettings FrontDoor Policy Settings 
- Describes settings for the policy.
- sku Sku
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- {[key: string]: string}
- Resource tags.
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- custom_rules CustomRule List Args 
- Describes custom rules inside the policy.
- location str
- Resource location.
- managed_rules ManagedRule Set List Args 
- Describes managed rules inside the policy.
- policy_name str
- The name of the Web Application Firewall Policy.
- policy_settings FrontDoor Policy Settings Args 
- Describes settings for the policy.
- sku
SkuArgs 
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Mapping[str, str]
- Resource tags.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- customRules Property Map
- Describes custom rules inside the policy.
- location String
- Resource location.
- managedRules Property Map
- Describes managed rules inside the policy.
- policyName String
- The name of the Web Application Firewall Policy.
- policySettings Property Map
- Describes settings for the policy.
- sku Property Map
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Policy resource produces the following output properties:
- FrontendEndpoint List<Pulumi.Links Azure Native. Network. Outputs. Frontend Endpoint Link Response> 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state of the policy.
- ResourceState string
- RoutingRule List<Pulumi.Links Azure Native. Network. Outputs. Routing Rule Link Response> 
- Describes Routing Rules associated with this Web Application Firewall policy.
- SecurityPolicy List<Pulumi.Links Azure Native. Network. Outputs. Security Policy Link Response> 
- Describes Security Policy associated with this Web Application Firewall policy.
- Type string
- Resource type.
- Etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- FrontendEndpoint []FrontendLinks Endpoint Link Response 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state of the policy.
- ResourceState string
- RoutingRule []RoutingLinks Rule Link Response 
- Describes Routing Rules associated with this Web Application Firewall policy.
- SecurityPolicy []SecurityLinks Policy Link Response 
- Describes Security Policy associated with this Web Application Firewall policy.
- Type string
- Resource type.
- Etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- frontendEndpoint List<FrontendLinks Endpoint Link Response> 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- Provisioning state of the policy.
- resourceState String
- routingRule List<RoutingLinks Rule Link Response> 
- Describes Routing Rules associated with this Web Application Firewall policy.
- securityPolicy List<SecurityLinks Policy Link Response> 
- Describes Security Policy associated with this Web Application Firewall policy.
- type String
- Resource type.
- etag String
- Gets a unique read-only string that changes whenever the resource is updated.
- frontendEndpoint FrontendLinks Endpoint Link Response[] 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- provisioningState string
- Provisioning state of the policy.
- resourceState string
- routingRule RoutingLinks Rule Link Response[] 
- Describes Routing Rules associated with this Web Application Firewall policy.
- securityPolicy SecurityLinks Policy Link Response[] 
- Describes Security Policy associated with this Web Application Firewall policy.
- type string
- Resource type.
- etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- frontend_endpoint_ Sequence[Frontendlinks Endpoint Link Response] 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- provisioning_state str
- Provisioning state of the policy.
- resource_state str
- routing_rule_ Sequence[Routinglinks Rule Link Response] 
- Describes Routing Rules associated with this Web Application Firewall policy.
- security_policy_ Sequence[Securitylinks Policy Link Response] 
- Describes Security Policy associated with this Web Application Firewall policy.
- type str
- Resource type.
- etag str
- Gets a unique read-only string that changes whenever the resource is updated.
- frontendEndpoint List<Property Map>Links 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- Provisioning state of the policy.
- resourceState String
- routingRule List<Property Map>Links 
- Describes Routing Rules associated with this Web Application Firewall policy.
- securityPolicy List<Property Map>Links 
- Describes Security Policy associated with this Web Application Firewall policy.
- type String
- Resource type.
- etag String
- Gets a unique read-only string that changes whenever the resource is updated.
Supporting Types
ActionType, ActionTypeArgs    
- AnomalyScoring 
- AnomalyScoring
- Allow
- Allow
- Block
- Block
- Log
- Log
- ActionType Anomaly Scoring 
- AnomalyScoring
- ActionType Allow 
- Allow
- ActionType Block 
- Block
- ActionType Log 
- Log
- AnomalyScoring 
- AnomalyScoring
- Allow
- Allow
- Block
- Block
- Log
- Log
- AnomalyScoring 
- AnomalyScoring
- Allow
- Allow
- Block
- Block
- Log
- Log
- ANOMALY_SCORING
- AnomalyScoring
- ALLOW
- Allow
- BLOCK
- Block
- LOG
- Log
- "AnomalyScoring" 
- AnomalyScoring
- "Allow"
- Allow
- "Block"
- Block
- "Log"
- Log
BastionHostSkuName, BastionHostSkuNameArgs        
- Basic
- Basic
- Standard
- Standard
- BastionHost Sku Name Basic 
- Basic
- BastionHost Sku Name Standard 
- Standard
- Basic
- Basic
- Standard
- Standard
- Basic
- Basic
- Standard
- Standard
- BASIC
- Basic
- STANDARD
- Standard
- "Basic"
- Basic
- "Standard"
- Standard
CustomRule, CustomRuleArgs    
- Action
string | Pulumi.Azure Native. Network. Action Type 
- Describes what action to be applied when rule matches.
- MatchConditions List<Pulumi.Azure Native. Network. Inputs. Front Door Match Condition> 
- List of match conditions.
- Priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- RuleType string | Pulumi.Azure Native. Network. Rule Type 
- Describes type of rule.
- EnabledState string | Pulumi.Azure Native. Network. Custom Rule Enabled State 
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Name string
- Describes the name of the rule.
- RateLimit intDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- RateLimit intThreshold 
- Number of allowed requests per client within the time window.
- Action
string | ActionType 
- Describes what action to be applied when rule matches.
- MatchConditions []FrontDoor Match Condition 
- List of match conditions.
- Priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- RuleType string | RuleType 
- Describes type of rule.
- EnabledState string | CustomRule Enabled State 
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Name string
- Describes the name of the rule.
- RateLimit intDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- RateLimit intThreshold 
- Number of allowed requests per client within the time window.
- action
String | ActionType 
- Describes what action to be applied when rule matches.
- matchConditions List<FrontDoor Match Condition> 
- List of match conditions.
- priority Integer
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType String | RuleType 
- Describes type of rule.
- enabledState String | CustomRule Enabled State 
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name String
- Describes the name of the rule.
- rateLimit IntegerDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit IntegerThreshold 
- Number of allowed requests per client within the time window.
- action
string | ActionType 
- Describes what action to be applied when rule matches.
- matchConditions FrontDoor Match Condition[] 
- List of match conditions.
- priority number
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType string | RuleType 
- Describes type of rule.
- enabledState string | CustomRule Enabled State 
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name string
- Describes the name of the rule.
- rateLimit numberDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit numberThreshold 
- Number of allowed requests per client within the time window.
- action
str | ActionType 
- Describes what action to be applied when rule matches.
- match_conditions Sequence[FrontDoor Match Condition] 
- List of match conditions.
- priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- rule_type str | RuleType 
- Describes type of rule.
- enabled_state str | CustomRule Enabled State 
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name str
- Describes the name of the rule.
- rate_limit_ intduration_ in_ minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rate_limit_ intthreshold 
- Number of allowed requests per client within the time window.
- action
String | "AnomalyScoring" | "Allow" | "Block" | "Log" 
- Describes what action to be applied when rule matches.
- matchConditions List<Property Map>
- List of match conditions.
- priority Number
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType String | "MatchRule" | "Rate Limit Rule" 
- Describes type of rule.
- enabledState String | "Disabled" | "Enabled"
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name String
- Describes the name of the rule.
- rateLimit NumberDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit NumberThreshold 
- Number of allowed requests per client within the time window.
CustomRuleEnabledState, CustomRuleEnabledStateArgs        
- Disabled
- Disabled
- Enabled
- Enabled
- CustomRule Enabled State Disabled 
- Disabled
- CustomRule Enabled State Enabled 
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
CustomRuleList, CustomRuleListArgs      
- Rules
List<Pulumi.Azure Native. Network. Inputs. Custom Rule> 
- List of rules
- Rules
[]CustomRule 
- List of rules
- rules
List<CustomRule> 
- List of rules
- rules
CustomRule[] 
- List of rules
- rules
Sequence[CustomRule] 
- List of rules
- rules List<Property Map>
- List of rules
CustomRuleListResponse, CustomRuleListResponseArgs        
- Rules
[]CustomRule Response 
- List of rules
- rules
List<CustomRule Response> 
- List of rules
- rules
CustomRule Response[] 
- List of rules
- rules
Sequence[CustomRule Response] 
- List of rules
- rules List<Property Map>
- List of rules
CustomRuleResponse, CustomRuleResponseArgs      
- Action string
- Describes what action to be applied when rule matches.
- MatchConditions List<Pulumi.Azure Native. Network. Inputs. Front Door Match Condition Response> 
- List of match conditions.
- Priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- RuleType string
- Describes type of rule.
- EnabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Name string
- Describes the name of the rule.
- RateLimit intDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- RateLimit intThreshold 
- Number of allowed requests per client within the time window.
- Action string
- Describes what action to be applied when rule matches.
- MatchConditions []FrontDoor Match Condition Response 
- List of match conditions.
- Priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- RuleType string
- Describes type of rule.
- EnabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Name string
- Describes the name of the rule.
- RateLimit intDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- RateLimit intThreshold 
- Number of allowed requests per client within the time window.
- action String
- Describes what action to be applied when rule matches.
- matchConditions List<FrontDoor Match Condition Response> 
- List of match conditions.
- priority Integer
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType String
- Describes type of rule.
- enabledState String
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name String
- Describes the name of the rule.
- rateLimit IntegerDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit IntegerThreshold 
- Number of allowed requests per client within the time window.
- action string
- Describes what action to be applied when rule matches.
- matchConditions FrontDoor Match Condition Response[] 
- List of match conditions.
- priority number
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType string
- Describes type of rule.
- enabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name string
- Describes the name of the rule.
- rateLimit numberDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit numberThreshold 
- Number of allowed requests per client within the time window.
- action str
- Describes what action to be applied when rule matches.
- match_conditions Sequence[FrontDoor Match Condition Response] 
- List of match conditions.
- priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- rule_type str
- Describes type of rule.
- enabled_state str
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name str
- Describes the name of the rule.
- rate_limit_ intduration_ in_ minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rate_limit_ intthreshold 
- Number of allowed requests per client within the time window.
- action String
- Describes what action to be applied when rule matches.
- matchConditions List<Property Map>
- List of match conditions.
- priority Number
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType String
- Describes type of rule.
- enabledState String
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name String
- Describes the name of the rule.
- rateLimit NumberDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit NumberThreshold 
- Number of allowed requests per client within the time window.
FrontDoorManagedRuleGroupOverride, FrontDoorManagedRuleGroupOverrideArgs            
- RuleGroup stringName 
- Describes the managed rule group to override.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion> 
- Describes the exclusions that are applied to all rules in the group.
- Rules
List<Pulumi.Azure Native. Network. Inputs. Front Door Managed Rule Override> 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- RuleGroup stringName 
- Describes the managed rule group to override.
- Exclusions
[]ManagedRule Exclusion 
- Describes the exclusions that are applied to all rules in the group.
- Rules
[]FrontDoor Managed Rule Override 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup StringName 
- Describes the managed rule group to override.
- exclusions
List<ManagedRule Exclusion> 
- Describes the exclusions that are applied to all rules in the group.
- rules
List<FrontDoor Managed Rule Override> 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup stringName 
- Describes the managed rule group to override.
- exclusions
ManagedRule Exclusion[] 
- Describes the exclusions that are applied to all rules in the group.
- rules
FrontDoor Managed Rule Override[] 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- rule_group_ strname 
- Describes the managed rule group to override.
- exclusions
Sequence[ManagedRule Exclusion] 
- Describes the exclusions that are applied to all rules in the group.
- rules
Sequence[FrontDoor Managed Rule Override] 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup StringName 
- Describes the managed rule group to override.
- exclusions List<Property Map>
- Describes the exclusions that are applied to all rules in the group.
- rules List<Property Map>
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
FrontDoorManagedRuleGroupOverrideResponse, FrontDoorManagedRuleGroupOverrideResponseArgs              
- RuleGroup stringName 
- Describes the managed rule group to override.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion Response> 
- Describes the exclusions that are applied to all rules in the group.
- Rules
List<Pulumi.Azure Native. Network. Inputs. Front Door Managed Rule Override Response> 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- RuleGroup stringName 
- Describes the managed rule group to override.
- Exclusions
[]ManagedRule Exclusion Response 
- Describes the exclusions that are applied to all rules in the group.
- Rules
[]FrontDoor Managed Rule Override Response 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup StringName 
- Describes the managed rule group to override.
- exclusions
List<ManagedRule Exclusion Response> 
- Describes the exclusions that are applied to all rules in the group.
- rules
List<FrontDoor Managed Rule Override Response> 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup stringName 
- Describes the managed rule group to override.
- exclusions
ManagedRule Exclusion Response[] 
- Describes the exclusions that are applied to all rules in the group.
- rules
FrontDoor Managed Rule Override Response[] 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- rule_group_ strname 
- Describes the managed rule group to override.
- exclusions
Sequence[ManagedRule Exclusion Response] 
- Describes the exclusions that are applied to all rules in the group.
- rules
Sequence[FrontDoor Managed Rule Override Response] 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup StringName 
- Describes the managed rule group to override.
- exclusions List<Property Map>
- Describes the exclusions that are applied to all rules in the group.
- rules List<Property Map>
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
FrontDoorManagedRuleOverride, FrontDoorManagedRuleOverrideArgs          
- RuleId string
- Identifier for the managed rule.
- Action
string | Pulumi.Azure Native. Network. Action Type 
- Describes the override action to be applied when rule matches.
- EnabledState string | Pulumi.Azure Native. Network. Managed Rule Enabled State 
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion> 
- Describes the exclusions that are applied to this specific rule.
- RuleId string
- Identifier for the managed rule.
- Action
string | ActionType 
- Describes the override action to be applied when rule matches.
- EnabledState string | ManagedRule Enabled State 
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- Exclusions
[]ManagedRule Exclusion 
- Describes the exclusions that are applied to this specific rule.
- ruleId String
- Identifier for the managed rule.
- action
String | ActionType 
- Describes the override action to be applied when rule matches.
- enabledState String | ManagedRule Enabled State 
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
List<ManagedRule Exclusion> 
- Describes the exclusions that are applied to this specific rule.
- ruleId string
- Identifier for the managed rule.
- action
string | ActionType 
- Describes the override action to be applied when rule matches.
- enabledState string | ManagedRule Enabled State 
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
ManagedRule Exclusion[] 
- Describes the exclusions that are applied to this specific rule.
- rule_id str
- Identifier for the managed rule.
- action
str | ActionType 
- Describes the override action to be applied when rule matches.
- enabled_state str | ManagedRule Enabled State 
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
Sequence[ManagedRule Exclusion] 
- Describes the exclusions that are applied to this specific rule.
- ruleId String
- Identifier for the managed rule.
- action
String | "AnomalyScoring" | "Allow" | "Block" | "Log" 
- Describes the override action to be applied when rule matches.
- enabledState String | "Disabled" | "Enabled"
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions List<Property Map>
- Describes the exclusions that are applied to this specific rule.
FrontDoorManagedRuleOverrideResponse, FrontDoorManagedRuleOverrideResponseArgs            
- RuleId string
- Identifier for the managed rule.
- Action string
- Describes the override action to be applied when rule matches.
- EnabledState string
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion Response> 
- Describes the exclusions that are applied to this specific rule.
- RuleId string
- Identifier for the managed rule.
- Action string
- Describes the override action to be applied when rule matches.
- EnabledState string
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- Exclusions
[]ManagedRule Exclusion Response 
- Describes the exclusions that are applied to this specific rule.
- ruleId String
- Identifier for the managed rule.
- action String
- Describes the override action to be applied when rule matches.
- enabledState String
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
List<ManagedRule Exclusion Response> 
- Describes the exclusions that are applied to this specific rule.
- ruleId string
- Identifier for the managed rule.
- action string
- Describes the override action to be applied when rule matches.
- enabledState string
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
ManagedRule Exclusion Response[] 
- Describes the exclusions that are applied to this specific rule.
- rule_id str
- Identifier for the managed rule.
- action str
- Describes the override action to be applied when rule matches.
- enabled_state str
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
Sequence[ManagedRule Exclusion Response] 
- Describes the exclusions that are applied to this specific rule.
- ruleId String
- Identifier for the managed rule.
- action String
- Describes the override action to be applied when rule matches.
- enabledState String
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions List<Property Map>
- Describes the exclusions that are applied to this specific rule.
FrontDoorManagedRuleSet, FrontDoorManagedRuleSetArgs          
- RuleSet stringType 
- Defines the rule set type to use.
- RuleSet stringVersion 
- Defines the version of the rule set to use.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion> 
- Describes the exclusions that are applied to all rules in the set.
- RuleGroup List<Pulumi.Overrides Azure Native. Network. Inputs. Front Door Managed Rule Group Override> 
- Defines the rule group overrides to apply to the rule set.
- RuleSet string | Pulumi.Action Azure Native. Network. Managed Rule Set Action Type 
- Defines the rule set action.
- RuleSet stringType 
- Defines the rule set type to use.
- RuleSet stringVersion 
- Defines the version of the rule set to use.
- Exclusions
[]ManagedRule Exclusion 
- Describes the exclusions that are applied to all rules in the set.
- RuleGroup []FrontOverrides Door Managed Rule Group Override 
- Defines the rule group overrides to apply to the rule set.
- RuleSet string | ManagedAction Rule Set Action Type 
- Defines the rule set action.
- ruleSet StringType 
- Defines the rule set type to use.
- ruleSet StringVersion 
- Defines the version of the rule set to use.
- exclusions
List<ManagedRule Exclusion> 
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup List<FrontOverrides Door Managed Rule Group Override> 
- Defines the rule group overrides to apply to the rule set.
- ruleSet String | ManagedAction Rule Set Action Type 
- Defines the rule set action.
- ruleSet stringType 
- Defines the rule set type to use.
- ruleSet stringVersion 
- Defines the version of the rule set to use.
- exclusions
ManagedRule Exclusion[] 
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup FrontOverrides Door Managed Rule Group Override[] 
- Defines the rule group overrides to apply to the rule set.
- ruleSet string | ManagedAction Rule Set Action Type 
- Defines the rule set action.
- rule_set_ strtype 
- Defines the rule set type to use.
- rule_set_ strversion 
- Defines the version of the rule set to use.
- exclusions
Sequence[ManagedRule Exclusion] 
- Describes the exclusions that are applied to all rules in the set.
- rule_group_ Sequence[Frontoverrides Door Managed Rule Group Override] 
- Defines the rule group overrides to apply to the rule set.
- rule_set_ str | Managedaction Rule Set Action Type 
- Defines the rule set action.
- ruleSet StringType 
- Defines the rule set type to use.
- ruleSet StringVersion 
- Defines the version of the rule set to use.
- exclusions List<Property Map>
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup List<Property Map>Overrides 
- Defines the rule group overrides to apply to the rule set.
- ruleSet String | "Block" | "Log" | "Redirect"Action 
- Defines the rule set action.
FrontDoorManagedRuleSetResponse, FrontDoorManagedRuleSetResponseArgs            
- RuleSet stringType 
- Defines the rule set type to use.
- RuleSet stringVersion 
- Defines the version of the rule set to use.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion Response> 
- Describes the exclusions that are applied to all rules in the set.
- RuleGroup List<Pulumi.Overrides Azure Native. Network. Inputs. Front Door Managed Rule Group Override Response> 
- Defines the rule group overrides to apply to the rule set.
- RuleSet stringAction 
- Defines the rule set action.
- RuleSet stringType 
- Defines the rule set type to use.
- RuleSet stringVersion 
- Defines the version of the rule set to use.
- Exclusions
[]ManagedRule Exclusion Response 
- Describes the exclusions that are applied to all rules in the set.
- RuleGroup []FrontOverrides Door Managed Rule Group Override Response 
- Defines the rule group overrides to apply to the rule set.
- RuleSet stringAction 
- Defines the rule set action.
- ruleSet StringType 
- Defines the rule set type to use.
- ruleSet StringVersion 
- Defines the version of the rule set to use.
- exclusions
List<ManagedRule Exclusion Response> 
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup List<FrontOverrides Door Managed Rule Group Override Response> 
- Defines the rule group overrides to apply to the rule set.
- ruleSet StringAction 
- Defines the rule set action.
- ruleSet stringType 
- Defines the rule set type to use.
- ruleSet stringVersion 
- Defines the version of the rule set to use.
- exclusions
ManagedRule Exclusion Response[] 
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup FrontOverrides Door Managed Rule Group Override Response[] 
- Defines the rule group overrides to apply to the rule set.
- ruleSet stringAction 
- Defines the rule set action.
- rule_set_ strtype 
- Defines the rule set type to use.
- rule_set_ strversion 
- Defines the version of the rule set to use.
- exclusions
Sequence[ManagedRule Exclusion Response] 
- Describes the exclusions that are applied to all rules in the set.
- rule_group_ Sequence[Frontoverrides Door Managed Rule Group Override Response] 
- Defines the rule group overrides to apply to the rule set.
- rule_set_ straction 
- Defines the rule set action.
- ruleSet StringType 
- Defines the rule set type to use.
- ruleSet StringVersion 
- Defines the version of the rule set to use.
- exclusions List<Property Map>
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup List<Property Map>Overrides 
- Defines the rule group overrides to apply to the rule set.
- ruleSet StringAction 
- Defines the rule set action.
FrontDoorMatchCondition, FrontDoorMatchConditionArgs        
- MatchValue List<string>
- List of possible match values.
- MatchVariable string | Pulumi.Azure Native. Network. Front Door Match Variable 
- Request variable to compare with.
- Operator
string | Pulumi.Azure Native. Network. Operator 
- Comparison type to use for matching with the variable value.
- NegateCondition bool
- Describes if the result of this condition should be negated.
- Selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- Transforms
List<Union<string, Pulumi.Azure Native. Network. Transform Type>> 
- List of transforms.
- MatchValue []string
- List of possible match values.
- MatchVariable string | FrontDoor Match Variable 
- Request variable to compare with.
- Operator string | Operator
- Comparison type to use for matching with the variable value.
- NegateCondition bool
- Describes if the result of this condition should be negated.
- Selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- Transforms []string
- List of transforms.
- matchValue List<String>
- List of possible match values.
- matchVariable String | FrontDoor Match Variable 
- Request variable to compare with.
- operator String | Operator
- Comparison type to use for matching with the variable value.
- negateCondition Boolean
- Describes if the result of this condition should be negated.
- selector String
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms
List<Either<String,TransformType>> 
- List of transforms.
- matchValue string[]
- List of possible match values.
- matchVariable string | FrontDoor Match Variable 
- Request variable to compare with.
- operator string | Operator
- Comparison type to use for matching with the variable value.
- negateCondition boolean
- Describes if the result of this condition should be negated.
- selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms
(string | TransformType)[] 
- List of transforms.
- match_value Sequence[str]
- List of possible match values.
- match_variable str | FrontDoor Match Variable 
- Request variable to compare with.
- operator str | Operator
- Comparison type to use for matching with the variable value.
- negate_condition bool
- Describes if the result of this condition should be negated.
- selector str
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms
Sequence[Union[str, TransformType]] 
- List of transforms.
- matchValue List<String>
- List of possible match values.
- matchVariable String | "RemoteAddr" | "Request Method" | "Query String" | "Post Args" | "Request Uri" | "Request Header" | "Request Body" | "Cookies" | "Socket Addr" 
- Request variable to compare with.
- operator
String | "Any" | "IPMatch" | "GeoMatch" | "Equal" | "Contains" | "Less Than" | "Greater Than" | "Less Than Or Equal" | "Greater Than Or Equal" | "Begins With" | "Ends With" | "Reg Ex" 
- Comparison type to use for matching with the variable value.
- negateCondition Boolean
- Describes if the result of this condition should be negated.
- selector String
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms
List<String | "Lowercase" | "Uppercase" | "Trim" | "UrlDecode" | "Url Encode" | "Remove Nulls"> 
- List of transforms.
FrontDoorMatchConditionResponse, FrontDoorMatchConditionResponseArgs          
- MatchValue List<string>
- List of possible match values.
- MatchVariable string
- Request variable to compare with.
- Operator string
- Comparison type to use for matching with the variable value.
- NegateCondition bool
- Describes if the result of this condition should be negated.
- Selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- Transforms List<string>
- List of transforms.
- MatchValue []string
- List of possible match values.
- MatchVariable string
- Request variable to compare with.
- Operator string
- Comparison type to use for matching with the variable value.
- NegateCondition bool
- Describes if the result of this condition should be negated.
- Selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- Transforms []string
- List of transforms.
- matchValue List<String>
- List of possible match values.
- matchVariable String
- Request variable to compare with.
- operator String
- Comparison type to use for matching with the variable value.
- negateCondition Boolean
- Describes if the result of this condition should be negated.
- selector String
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms List<String>
- List of transforms.
- matchValue string[]
- List of possible match values.
- matchVariable string
- Request variable to compare with.
- operator string
- Comparison type to use for matching with the variable value.
- negateCondition boolean
- Describes if the result of this condition should be negated.
- selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms string[]
- List of transforms.
- match_value Sequence[str]
- List of possible match values.
- match_variable str
- Request variable to compare with.
- operator str
- Comparison type to use for matching with the variable value.
- negate_condition bool
- Describes if the result of this condition should be negated.
- selector str
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms Sequence[str]
- List of transforms.
- matchValue List<String>
- List of possible match values.
- matchVariable String
- Request variable to compare with.
- operator String
- Comparison type to use for matching with the variable value.
- negateCondition Boolean
- Describes if the result of this condition should be negated.
- selector String
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms List<String>
- List of transforms.
FrontDoorMatchVariable, FrontDoorMatchVariableArgs        
- RemoteAddr 
- RemoteAddr
- RequestMethod 
- RequestMethod
- QueryString 
- QueryString
- PostArgs 
- PostArgs
- RequestUri 
- RequestUri
- RequestHeader 
- RequestHeader
- RequestBody 
- RequestBody
- Cookies
- Cookies
- SocketAddr 
- SocketAddr
- FrontDoor Match Variable Remote Addr 
- RemoteAddr
- FrontDoor Match Variable Request Method 
- RequestMethod
- FrontDoor Match Variable Query String 
- QueryString
- FrontDoor Match Variable Post Args 
- PostArgs
- FrontDoor Match Variable Request Uri 
- RequestUri
- FrontDoor Match Variable Request Header 
- RequestHeader
- FrontDoor Match Variable Request Body 
- RequestBody
- FrontDoor Match Variable Cookies 
- Cookies
- FrontDoor Match Variable Socket Addr 
- SocketAddr
- RemoteAddr 
- RemoteAddr
- RequestMethod 
- RequestMethod
- QueryString 
- QueryString
- PostArgs 
- PostArgs
- RequestUri 
- RequestUri
- RequestHeader 
- RequestHeader
- RequestBody 
- RequestBody
- Cookies
- Cookies
- SocketAddr 
- SocketAddr
- RemoteAddr 
- RemoteAddr
- RequestMethod 
- RequestMethod
- QueryString 
- QueryString
- PostArgs 
- PostArgs
- RequestUri 
- RequestUri
- RequestHeader 
- RequestHeader
- RequestBody 
- RequestBody
- Cookies
- Cookies
- SocketAddr 
- SocketAddr
- REMOTE_ADDR
- RemoteAddr
- REQUEST_METHOD
- RequestMethod
- QUERY_STRING
- QueryString
- POST_ARGS
- PostArgs
- REQUEST_URI
- RequestUri
- REQUEST_HEADER
- RequestHeader
- REQUEST_BODY
- RequestBody
- COOKIES
- Cookies
- SOCKET_ADDR
- SocketAddr
- "RemoteAddr" 
- RemoteAddr
- "RequestMethod" 
- RequestMethod
- "QueryString" 
- QueryString
- "PostArgs" 
- PostArgs
- "RequestUri" 
- RequestUri
- "RequestHeader" 
- RequestHeader
- "RequestBody" 
- RequestBody
- "Cookies"
- Cookies
- "SocketAddr" 
- SocketAddr
FrontDoorPolicySettings, FrontDoorPolicySettingsArgs        
- CustomBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlock intResponse Status Code 
- If the action type is block, customer can override the response status code.
- EnabledState string | Pulumi.Azure Native. Network. Policy Enabled State 
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- Mode
string | Pulumi.Azure Native. Network. Policy Mode 
- Describes if it is in detection mode or prevention mode at policy level.
- RedirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- RequestBody string | Pulumi.Check Azure Native. Network. Policy Request Body Check 
- Describes if policy managed rules will inspect the request body content.
- CustomBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlock intResponse Status Code 
- If the action type is block, customer can override the response status code.
- EnabledState string | PolicyEnabled State 
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- Mode
string | PolicyMode 
- Describes if it is in detection mode or prevention mode at policy level.
- RedirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- RequestBody string | PolicyCheck Request Body Check 
- Describes if policy managed rules will inspect the request body content.
- customBlock StringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock IntegerResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState String | PolicyEnabled State 
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode
String | PolicyMode 
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl String
- If action type is redirect, this field represents redirect URL for the client.
- requestBody String | PolicyCheck Request Body Check 
- Describes if policy managed rules will inspect the request body content.
- customBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock numberResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState string | PolicyEnabled State 
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode
string | PolicyMode 
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- requestBody string | PolicyCheck Request Body Check 
- Describes if policy managed rules will inspect the request body content.
- custom_block_ strresponse_ body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- custom_block_ intresponse_ status_ code 
- If the action type is block, customer can override the response status code.
- enabled_state str | PolicyEnabled State 
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode
str | PolicyMode 
- Describes if it is in detection mode or prevention mode at policy level.
- redirect_url str
- If action type is redirect, this field represents redirect URL for the client.
- request_body_ str | Policycheck Request Body Check 
- Describes if policy managed rules will inspect the request body content.
- customBlock StringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock NumberResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState String | "Disabled" | "Enabled"
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode String | "Prevention" | "Detection"
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl String
- If action type is redirect, this field represents redirect URL for the client.
- requestBody String | "Disabled" | "Enabled"Check 
- Describes if policy managed rules will inspect the request body content.
FrontDoorPolicySettingsResponse, FrontDoorPolicySettingsResponseArgs          
- CustomBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlock intResponse Status Code 
- If the action type is block, customer can override the response status code.
- EnabledState string
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- Mode string
- Describes if it is in detection mode or prevention mode at policy level.
- RedirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- RequestBody stringCheck 
- Describes if policy managed rules will inspect the request body content.
- CustomBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlock intResponse Status Code 
- If the action type is block, customer can override the response status code.
- EnabledState string
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- Mode string
- Describes if it is in detection mode or prevention mode at policy level.
- RedirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- RequestBody stringCheck 
- Describes if policy managed rules will inspect the request body content.
- customBlock StringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock IntegerResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState String
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode String
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl String
- If action type is redirect, this field represents redirect URL for the client.
- requestBody StringCheck 
- Describes if policy managed rules will inspect the request body content.
- customBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock numberResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState string
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode string
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- requestBody stringCheck 
- Describes if policy managed rules will inspect the request body content.
- custom_block_ strresponse_ body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- custom_block_ intresponse_ status_ code 
- If the action type is block, customer can override the response status code.
- enabled_state str
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode str
- Describes if it is in detection mode or prevention mode at policy level.
- redirect_url str
- If action type is redirect, this field represents redirect URL for the client.
- request_body_ strcheck 
- Describes if policy managed rules will inspect the request body content.
- customBlock StringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock NumberResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState String
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode String
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl String
- If action type is redirect, this field represents redirect URL for the client.
- requestBody StringCheck 
- Describes if policy managed rules will inspect the request body content.
FrontendEndpointLinkResponse, FrontendEndpointLinkResponseArgs        
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
ManagedRuleEnabledState, ManagedRuleEnabledStateArgs        
- Disabled
- Disabled
- Enabled
- Enabled
- ManagedRule Enabled State Disabled 
- Disabled
- ManagedRule Enabled State Enabled 
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
ManagedRuleExclusion, ManagedRuleExclusionArgs      
- MatchVariable string | Pulumi.Azure Native. Network. Managed Rule Exclusion Match Variable 
- The variable type to be excluded.
- Selector string
- Selector value for which elements in the collection this exclusion applies to.
- SelectorMatch string | Pulumi.Operator Azure Native. Network. Managed Rule Exclusion Selector Match Operator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- MatchVariable string | ManagedRule Exclusion Match Variable 
- The variable type to be excluded.
- Selector string
- Selector value for which elements in the collection this exclusion applies to.
- SelectorMatch string | ManagedOperator Rule Exclusion Selector Match Operator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable String | ManagedRule Exclusion Match Variable 
- The variable type to be excluded.
- selector String
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch String | ManagedOperator Rule Exclusion Selector Match Operator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable string | ManagedRule Exclusion Match Variable 
- The variable type to be excluded.
- selector string
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch string | ManagedOperator Rule Exclusion Selector Match Operator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- match_variable str | ManagedRule Exclusion Match Variable 
- The variable type to be excluded.
- selector str
- Selector value for which elements in the collection this exclusion applies to.
- selector_match_ str | Managedoperator Rule Exclusion Selector Match Operator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable String | "RequestHeader Names" | "Request Cookie Names" | "Query String Arg Names" | "Request Body Post Arg Names" | "Request Body Json Arg Names" 
- The variable type to be excluded.
- selector String
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch String | "Equals" | "Contains" | "StartsOperator With" | "Ends With" | "Equals Any" 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
ManagedRuleExclusionMatchVariable, ManagedRuleExclusionMatchVariableArgs          
- RequestHeader Names 
- RequestHeaderNames
- RequestCookie Names 
- RequestCookieNames
- QueryString Arg Names 
- QueryStringArgNames
- RequestBody Post Arg Names 
- RequestBodyPostArgNames
- RequestBody Json Arg Names 
- RequestBodyJsonArgNames
- ManagedRule Exclusion Match Variable Request Header Names 
- RequestHeaderNames
- ManagedRule Exclusion Match Variable Request Cookie Names 
- RequestCookieNames
- ManagedRule Exclusion Match Variable Query String Arg Names 
- QueryStringArgNames
- ManagedRule Exclusion Match Variable Request Body Post Arg Names 
- RequestBodyPostArgNames
- ManagedRule Exclusion Match Variable Request Body Json Arg Names 
- RequestBodyJsonArgNames
- RequestHeader Names 
- RequestHeaderNames
- RequestCookie Names 
- RequestCookieNames
- QueryString Arg Names 
- QueryStringArgNames
- RequestBody Post Arg Names 
- RequestBodyPostArgNames
- RequestBody Json Arg Names 
- RequestBodyJsonArgNames
- RequestHeader Names 
- RequestHeaderNames
- RequestCookie Names 
- RequestCookieNames
- QueryString Arg Names 
- QueryStringArgNames
- RequestBody Post Arg Names 
- RequestBodyPostArgNames
- RequestBody Json Arg Names 
- RequestBodyJsonArgNames
- REQUEST_HEADER_NAMES
- RequestHeaderNames
- REQUEST_COOKIE_NAMES
- RequestCookieNames
- QUERY_STRING_ARG_NAMES
- QueryStringArgNames
- REQUEST_BODY_POST_ARG_NAMES
- RequestBodyPostArgNames
- REQUEST_BODY_JSON_ARG_NAMES
- RequestBodyJsonArgNames
- "RequestHeader Names" 
- RequestHeaderNames
- "RequestCookie Names" 
- RequestCookieNames
- "QueryString Arg Names" 
- QueryStringArgNames
- "RequestBody Post Arg Names" 
- RequestBodyPostArgNames
- "RequestBody Json Arg Names" 
- RequestBodyJsonArgNames
ManagedRuleExclusionResponse, ManagedRuleExclusionResponseArgs        
- MatchVariable string
- The variable type to be excluded.
- Selector string
- Selector value for which elements in the collection this exclusion applies to.
- SelectorMatch stringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- MatchVariable string
- The variable type to be excluded.
- Selector string
- Selector value for which elements in the collection this exclusion applies to.
- SelectorMatch stringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable String
- The variable type to be excluded.
- selector String
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch StringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable string
- The variable type to be excluded.
- selector string
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch stringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- match_variable str
- The variable type to be excluded.
- selector str
- Selector value for which elements in the collection this exclusion applies to.
- selector_match_ stroperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable String
- The variable type to be excluded.
- selector String
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch StringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
ManagedRuleExclusionSelectorMatchOperator, ManagedRuleExclusionSelectorMatchOperatorArgs            
- EqualsValue 
- Equals
- Contains
- Contains
- StartsWith 
- StartsWith
- EndsWith 
- EndsWith
- EqualsAny 
- EqualsAny
- ManagedRule Exclusion Selector Match Operator Equals 
- Equals
- ManagedRule Exclusion Selector Match Operator Contains 
- Contains
- ManagedRule Exclusion Selector Match Operator Starts With 
- StartsWith
- ManagedRule Exclusion Selector Match Operator Ends With 
- EndsWith
- ManagedRule Exclusion Selector Match Operator Equals Any 
- EqualsAny
- Equals
- Equals
- Contains
- Contains
- StartsWith 
- StartsWith
- EndsWith 
- EndsWith
- EqualsAny 
- EqualsAny
- Equals
- Equals
- Contains
- Contains
- StartsWith 
- StartsWith
- EndsWith 
- EndsWith
- EqualsAny 
- EqualsAny
- EQUALS
- Equals
- CONTAINS
- Contains
- STARTS_WITH
- StartsWith
- ENDS_WITH
- EndsWith
- EQUALS_ANY
- EqualsAny
- "Equals"
- Equals
- "Contains"
- Contains
- "StartsWith" 
- StartsWith
- "EndsWith" 
- EndsWith
- "EqualsAny" 
- EqualsAny
ManagedRuleSetActionType, ManagedRuleSetActionTypeArgs          
- Block
- Block
- Log
- Log
- Redirect
- Redirect
- ManagedRule Set Action Type Block 
- Block
- ManagedRule Set Action Type Log 
- Log
- ManagedRule Set Action Type Redirect 
- Redirect
- Block
- Block
- Log
- Log
- Redirect
- Redirect
- Block
- Block
- Log
- Log
- Redirect
- Redirect
- BLOCK
- Block
- LOG
- Log
- REDIRECT
- Redirect
- "Block"
- Block
- "Log"
- Log
- "Redirect"
- Redirect
ManagedRuleSetList, ManagedRuleSetListArgs        
- ManagedRule []FrontSets Door Managed Rule Set 
- List of rule sets.
- managedRule List<FrontSets Door Managed Rule Set> 
- List of rule sets.
- managedRule FrontSets Door Managed Rule Set[] 
- List of rule sets.
- managed_rule_ Sequence[Frontsets Door Managed Rule Set] 
- List of rule sets.
- managedRule List<Property Map>Sets 
- List of rule sets.
ManagedRuleSetListResponse, ManagedRuleSetListResponseArgs          
- ManagedRule []FrontSets Door Managed Rule Set Response 
- List of rule sets.
- managedRule List<FrontSets Door Managed Rule Set Response> 
- List of rule sets.
- managedRule FrontSets Door Managed Rule Set Response[] 
- List of rule sets.
- managed_rule_ Sequence[Frontsets Door Managed Rule Set Response] 
- List of rule sets.
- managedRule List<Property Map>Sets 
- List of rule sets.
Operator, OperatorArgs  
- Any
- Any
- IPMatch
- IPMatch
- GeoMatch 
- GeoMatch
- Equal
- Equal
- Contains
- Contains
- LessThan 
- LessThan
- GreaterThan 
- GreaterThan
- LessThan Or Equal 
- LessThanOrEqual
- GreaterThan Or Equal 
- GreaterThanOrEqual
- BeginsWith 
- BeginsWith
- EndsWith 
- EndsWith
- RegEx 
- RegEx
- OperatorAny 
- Any
- OperatorIPMatch 
- IPMatch
- OperatorGeo Match 
- GeoMatch
- OperatorEqual 
- Equal
- OperatorContains 
- Contains
- OperatorLess Than 
- LessThan
- OperatorGreater Than 
- GreaterThan
- OperatorLess Than Or Equal 
- LessThanOrEqual
- OperatorGreater Than Or Equal 
- GreaterThanOrEqual
- OperatorBegins With 
- BeginsWith
- OperatorEnds With 
- EndsWith
- OperatorReg Ex 
- RegEx
- Any
- Any
- IPMatch
- IPMatch
- GeoMatch 
- GeoMatch
- Equal
- Equal
- Contains
- Contains
- LessThan 
- LessThan
- GreaterThan 
- GreaterThan
- LessThan Or Equal 
- LessThanOrEqual
- GreaterThan Or Equal 
- GreaterThanOrEqual
- BeginsWith 
- BeginsWith
- EndsWith 
- EndsWith
- RegEx 
- RegEx
- Any
- Any
- IPMatch
- IPMatch
- GeoMatch 
- GeoMatch
- Equal
- Equal
- Contains
- Contains
- LessThan 
- LessThan
- GreaterThan 
- GreaterThan
- LessThan Or Equal 
- LessThanOrEqual
- GreaterThan Or Equal 
- GreaterThanOrEqual
- BeginsWith 
- BeginsWith
- EndsWith 
- EndsWith
- RegEx 
- RegEx
- 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
- REG_EX
- RegEx
- "Any"
- Any
- "IPMatch"
- IPMatch
- "GeoMatch" 
- GeoMatch
- "Equal"
- Equal
- "Contains"
- Contains
- "LessThan" 
- LessThan
- "GreaterThan" 
- GreaterThan
- "LessThan Or Equal" 
- LessThanOrEqual
- "GreaterThan Or Equal" 
- GreaterThanOrEqual
- "BeginsWith" 
- BeginsWith
- "EndsWith" 
- EndsWith
- "RegEx" 
- RegEx
PolicyEnabledState, PolicyEnabledStateArgs      
- Disabled
- Disabled
- Enabled
- Enabled
- PolicyEnabled State Disabled 
- Disabled
- PolicyEnabled State Enabled 
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
PolicyMode, PolicyModeArgs    
- Prevention
- Prevention
- Detection
- Detection
- PolicyMode Prevention 
- Prevention
- PolicyMode Detection 
- Detection
- Prevention
- Prevention
- Detection
- Detection
- Prevention
- Prevention
- Detection
- Detection
- PREVENTION
- Prevention
- DETECTION
- Detection
- "Prevention"
- Prevention
- "Detection"
- Detection
PolicyRequestBodyCheck, PolicyRequestBodyCheckArgs        
- Disabled
- Disabled
- Enabled
- Enabled
- PolicyRequest Body Check Disabled 
- Disabled
- PolicyRequest Body Check Enabled 
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
RoutingRuleLinkResponse, RoutingRuleLinkResponseArgs        
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
RuleType, RuleTypeArgs    
- MatchRule 
- MatchRule
- RateLimit Rule 
- RateLimitRule
- RuleType Match Rule 
- MatchRule
- RuleType Rate Limit Rule 
- RateLimitRule
- MatchRule 
- MatchRule
- RateLimit Rule 
- RateLimitRule
- MatchRule 
- MatchRule
- RateLimit Rule 
- RateLimitRule
- MATCH_RULE
- MatchRule
- RATE_LIMIT_RULE
- RateLimitRule
- "MatchRule" 
- MatchRule
- "RateLimit Rule" 
- RateLimitRule
SecurityPolicyLinkResponse, SecurityPolicyLinkResponseArgs        
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Sku, SkuArgs  
- Name
string | Pulumi.Azure | Pulumi.Native. Network. Sku Name Azure Native. Network. Bastion Host Sku Name 
- Name of the pricing tier.
- Name
string | SkuName | BastionHost Sku Name 
- Name of the pricing tier.
- name
String | SkuName | BastionHost Sku Name 
- Name of the pricing tier.
- name
string | SkuName | BastionHost Sku Name 
- Name of the pricing tier.
- name
str | SkuName | BastionHost Sku Name 
- Name of the pricing tier.
- name
String | "Classic_AzureFront | "Basic" | "Standard"Door" | "Standard_Azure Front Door" | "Premium_Azure Front Door" 
- Name of the pricing tier.
SkuName, SkuNameArgs    
- Classic_AzureFront Door 
- Classic_AzureFrontDoor
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- SkuName_Classic_Azure Front Door 
- Classic_AzureFrontDoor
- SkuName_Standard_Azure Front Door 
- Standard_AzureFrontDoor
- SkuName_Premium_Azure Front Door 
- Premium_AzureFrontDoor
- Classic_AzureFront Door 
- Classic_AzureFrontDoor
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- Classic_AzureFront Door 
- Classic_AzureFrontDoor
- Standard_AzureFront Door 
- Standard_AzureFrontDoor
- Premium_AzureFront Door 
- Premium_AzureFrontDoor
- CLASSIC_AZURE_FRONT_DOOR
- Classic_AzureFrontDoor
- STANDARD_AZURE_FRONT_DOOR
- Standard_AzureFrontDoor
- PREMIUM_AZURE_FRONT_DOOR
- Premium_AzureFrontDoor
- "Classic_AzureFront Door" 
- Classic_AzureFrontDoor
- "Standard_AzureFront Door" 
- Standard_AzureFrontDoor
- "Premium_AzureFront Door" 
- Premium_AzureFrontDoor
SkuResponse, SkuResponseArgs    
- Name string
- Name of the pricing tier.
- Name string
- Name of the pricing tier.
- name String
- Name of the pricing tier.
- name string
- Name of the pricing tier.
- name str
- Name of the pricing tier.
- name String
- Name of the pricing tier.
TransformType, TransformTypeArgs    
- Lowercase
- Lowercase
- Uppercase
- Uppercase
- Trim
- Trim
- UrlDecode 
- UrlDecode
- UrlEncode 
- UrlEncode
- RemoveNulls 
- RemoveNulls
- TransformType Lowercase 
- Lowercase
- TransformType Uppercase 
- Uppercase
- TransformType Trim 
- Trim
- TransformType Url Decode 
- UrlDecode
- TransformType Url Encode 
- UrlEncode
- TransformType Remove Nulls 
- RemoveNulls
- Lowercase
- Lowercase
- Uppercase
- Uppercase
- Trim
- Trim
- UrlDecode 
- UrlDecode
- UrlEncode 
- UrlEncode
- RemoveNulls 
- RemoveNulls
- Lowercase
- Lowercase
- Uppercase
- Uppercase
- Trim
- Trim
- UrlDecode 
- UrlDecode
- UrlEncode 
- UrlEncode
- RemoveNulls 
- RemoveNulls
- LOWERCASE
- Lowercase
- UPPERCASE
- Uppercase
- TRIM
- Trim
- URL_DECODE
- UrlDecode
- URL_ENCODE
- UrlEncode
- REMOVE_NULLS
- RemoveNulls
- "Lowercase"
- Lowercase
- "Uppercase"
- Uppercase
- "Trim"
- Trim
- "UrlDecode" 
- UrlDecode
- "UrlEncode" 
- UrlEncode
- "RemoveNulls" 
- RemoveNulls
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:Policy Policy1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0