waf

package
v5.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetFirewallPolicyArgs

type GetFirewallPolicyArgs struct {
	// The name of the Web Application Firewall Policy
	Name string `pulumi:"name"`
	// The name of the Resource Group where the Web Application Firewall Policy exists.
	ResourceGroupName string            `pulumi:"resourceGroupName"`
	Tags              map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getFirewallPolicy.

type GetFirewallPolicyOutputArgs

type GetFirewallPolicyOutputArgs struct {
	// The name of the Web Application Firewall Policy
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the Resource Group where the Web Application Firewall Policy exists.
	ResourceGroupName pulumi.StringInput    `pulumi:"resourceGroupName"`
	Tags              pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getFirewallPolicy.

func (GetFirewallPolicyOutputArgs) ElementType

type GetFirewallPolicyResult

type GetFirewallPolicyResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id                string            `pulumi:"id"`
	Location          string            `pulumi:"location"`
	Name              string            `pulumi:"name"`
	ResourceGroupName string            `pulumi:"resourceGroupName"`
	Tags              map[string]string `pulumi:"tags"`
}

A collection of values returned by getFirewallPolicy.

func GetFirewallPolicy

func GetFirewallPolicy(ctx *pulumi.Context, args *GetFirewallPolicyArgs, opts ...pulumi.InvokeOption) (*GetFirewallPolicyResult, error)

Use this data source to access information about an existing Web Application Firewall Policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/waf"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := waf.GetFirewallPolicy(ctx, &waf.GetFirewallPolicyArgs{
			ResourceGroupName: "existing",
			Name:              "existing",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type GetFirewallPolicyResultOutput

type GetFirewallPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFirewallPolicy.

func (GetFirewallPolicyResultOutput) ElementType

func (GetFirewallPolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetFirewallPolicyResultOutput) Location

func (GetFirewallPolicyResultOutput) Name

func (GetFirewallPolicyResultOutput) ResourceGroupName

func (o GetFirewallPolicyResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetFirewallPolicyResultOutput) Tags

func (GetFirewallPolicyResultOutput) ToGetFirewallPolicyResultOutput

func (o GetFirewallPolicyResultOutput) ToGetFirewallPolicyResultOutput() GetFirewallPolicyResultOutput

func (GetFirewallPolicyResultOutput) ToGetFirewallPolicyResultOutputWithContext

func (o GetFirewallPolicyResultOutput) ToGetFirewallPolicyResultOutputWithContext(ctx context.Context) GetFirewallPolicyResultOutput

type Policy

type Policy struct {
	pulumi.CustomResourceState

	// One or more `customRules` blocks as defined below.
	CustomRules PolicyCustomRuleArrayOutput `pulumi:"customRules"`
	// A list of HTTP Listener IDs from an `network.ApplicationGateway`.
	HttpListenerIds pulumi.StringArrayOutput `pulumi:"httpListenerIds"`
	// Resource location. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A `managedRules` blocks as defined below.
	ManagedRules PolicyManagedRulesOutput `pulumi:"managedRules"`
	// The name of the policy. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of URL Path Map Path Rule IDs from an `network.ApplicationGateway`.
	PathBasedRuleIds pulumi.StringArrayOutput `pulumi:"pathBasedRuleIds"`
	// A `policySettings` block as defined below.
	PolicySettings PolicyPolicySettingsPtrOutput `pulumi:"policySettings"`
	// The name of the resource group. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the Web Application Firewall Policy.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Azure Web Application Firewall Policy instance.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/waf"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = waf.NewPolicy(ctx, "examplePolicy", &waf.PolicyArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			CustomRules: waf.PolicyCustomRuleArray{
				&waf.PolicyCustomRuleArgs{
					Name:     pulumi.String("Rule1"),
					Priority: pulumi.Int(1),
					RuleType: pulumi.String("MatchRule"),
					MatchConditions: waf.PolicyCustomRuleMatchConditionArray{
						&waf.PolicyCustomRuleMatchConditionArgs{
							MatchVariables: waf.PolicyCustomRuleMatchConditionMatchVariableArray{
								&waf.PolicyCustomRuleMatchConditionMatchVariableArgs{
									VariableName: pulumi.String("RemoteAddr"),
								},
							},
							Operator:          pulumi.String("IPMatch"),
							NegationCondition: pulumi.Bool(false),
							MatchValues: pulumi.StringArray{
								pulumi.String("192.168.1.0/24"),
								pulumi.String("10.0.0.0/24"),
							},
						},
					},
					Action: pulumi.String("Block"),
				},
				&waf.PolicyCustomRuleArgs{
					Name:     pulumi.String("Rule2"),
					Priority: pulumi.Int(2),
					RuleType: pulumi.String("MatchRule"),
					MatchConditions: waf.PolicyCustomRuleMatchConditionArray{
						&waf.PolicyCustomRuleMatchConditionArgs{
							MatchVariables: waf.PolicyCustomRuleMatchConditionMatchVariableArray{
								&waf.PolicyCustomRuleMatchConditionMatchVariableArgs{
									VariableName: pulumi.String("RemoteAddr"),
								},
							},
							Operator:          pulumi.String("IPMatch"),
							NegationCondition: pulumi.Bool(false),
							MatchValues: pulumi.StringArray{
								pulumi.String("192.168.1.0/24"),
							},
						},
						&waf.PolicyCustomRuleMatchConditionArgs{
							MatchVariables: waf.PolicyCustomRuleMatchConditionMatchVariableArray{
								&waf.PolicyCustomRuleMatchConditionMatchVariableArgs{
									VariableName: pulumi.String("RequestHeaders"),
									Selector:     pulumi.String("UserAgent"),
								},
							},
							Operator:          pulumi.String("Contains"),
							NegationCondition: pulumi.Bool(false),
							MatchValues: pulumi.StringArray{
								pulumi.String("Windows"),
							},
						},
					},
					Action: pulumi.String("Block"),
				},
			},
			PolicySettings: &waf.PolicyPolicySettingsArgs{
				Enabled:                pulumi.Bool(true),
				Mode:                   pulumi.String("Prevention"),
				RequestBodyCheck:       pulumi.Bool(true),
				FileUploadLimitInMb:    pulumi.Int(100),
				MaxRequestBodySizeInKb: pulumi.Int(128),
			},
			ManagedRules: &waf.PolicyManagedRulesArgs{
				Exclusions: waf.PolicyManagedRulesExclusionArray{
					&waf.PolicyManagedRulesExclusionArgs{
						MatchVariable:         pulumi.String("RequestHeaderNames"),
						Selector:              pulumi.String("x-company-secret-header"),
						SelectorMatchOperator: pulumi.String("Equals"),
					},
					&waf.PolicyManagedRulesExclusionArgs{
						MatchVariable:         pulumi.String("RequestCookieNames"),
						Selector:              pulumi.String("too-tasty"),
						SelectorMatchOperator: pulumi.String("EndsWith"),
					},
				},
				ManagedRuleSets: waf.PolicyManagedRulesManagedRuleSetArray{
					&waf.PolicyManagedRulesManagedRuleSetArgs{
						Type:    pulumi.String("OWASP"),
						Version: pulumi.String("3.1"),
						RuleGroupOverrides: waf.PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray{
							&waf.PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs{
								RuleGroupName: pulumi.String("REQUEST-920-PROTOCOL-ENFORCEMENT"),
								DisabledRules: pulumi.StringArray{
									pulumi.String("920300"),
									pulumi.String("920440"),
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Web Application Firewall Policy can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:waf/policy:Policy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/example-wafpolicy

```

func GetPolicy

func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)

GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicy

func NewPolicy(ctx *pulumi.Context,
	name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)

NewPolicy registers a new resource with the given unique name, arguments, and options.

func (*Policy) ElementType

func (*Policy) ElementType() reflect.Type

func (*Policy) ToPolicyOutput

func (i *Policy) ToPolicyOutput() PolicyOutput

func (*Policy) ToPolicyOutputWithContext

func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput

type PolicyArgs

type PolicyArgs struct {
	// One or more `customRules` blocks as defined below.
	CustomRules PolicyCustomRuleArrayInput
	// Resource location. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `managedRules` blocks as defined below.
	ManagedRules PolicyManagedRulesInput
	// The name of the policy. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `policySettings` block as defined below.
	PolicySettings PolicyPolicySettingsPtrInput
	// The name of the resource group. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the Web Application Firewall Policy.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Policy resource.

func (PolicyArgs) ElementType

func (PolicyArgs) ElementType() reflect.Type

type PolicyArray

type PolicyArray []PolicyInput

func (PolicyArray) ElementType

func (PolicyArray) ElementType() reflect.Type

func (PolicyArray) ToPolicyArrayOutput

func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput

func (PolicyArray) ToPolicyArrayOutputWithContext

func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput

type PolicyArrayInput

type PolicyArrayInput interface {
	pulumi.Input

	ToPolicyArrayOutput() PolicyArrayOutput
	ToPolicyArrayOutputWithContext(context.Context) PolicyArrayOutput
}

PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. You can construct a concrete instance of `PolicyArrayInput` via:

PolicyArray{ PolicyArgs{...} }

type PolicyArrayOutput

type PolicyArrayOutput struct{ *pulumi.OutputState }

func (PolicyArrayOutput) ElementType

func (PolicyArrayOutput) ElementType() reflect.Type

func (PolicyArrayOutput) Index

func (PolicyArrayOutput) ToPolicyArrayOutput

func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput

func (PolicyArrayOutput) ToPolicyArrayOutputWithContext

func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput

type PolicyCustomRule

type PolicyCustomRule struct {
	// Type of action.
	Action string `pulumi:"action"`
	// One or more `matchConditions` blocks as defined below.
	MatchConditions []PolicyCustomRuleMatchCondition `pulumi:"matchConditions"`
	// Gets name of the resource that is unique within a policy. This name can be used to access the resource.
	Name *string `pulumi:"name"`
	// Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
	Priority int `pulumi:"priority"`
	// Describes the type of rule.
	RuleType string `pulumi:"ruleType"`
}

type PolicyCustomRuleArgs

type PolicyCustomRuleArgs struct {
	// Type of action.
	Action pulumi.StringInput `pulumi:"action"`
	// One or more `matchConditions` blocks as defined below.
	MatchConditions PolicyCustomRuleMatchConditionArrayInput `pulumi:"matchConditions"`
	// Gets name of the resource that is unique within a policy. This name can be used to access the resource.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
	Priority pulumi.IntInput `pulumi:"priority"`
	// Describes the type of rule.
	RuleType pulumi.StringInput `pulumi:"ruleType"`
}

func (PolicyCustomRuleArgs) ElementType

func (PolicyCustomRuleArgs) ElementType() reflect.Type

func (PolicyCustomRuleArgs) ToPolicyCustomRuleOutput

func (i PolicyCustomRuleArgs) ToPolicyCustomRuleOutput() PolicyCustomRuleOutput

func (PolicyCustomRuleArgs) ToPolicyCustomRuleOutputWithContext

func (i PolicyCustomRuleArgs) ToPolicyCustomRuleOutputWithContext(ctx context.Context) PolicyCustomRuleOutput

type PolicyCustomRuleArray

type PolicyCustomRuleArray []PolicyCustomRuleInput

func (PolicyCustomRuleArray) ElementType

func (PolicyCustomRuleArray) ElementType() reflect.Type

func (PolicyCustomRuleArray) ToPolicyCustomRuleArrayOutput

func (i PolicyCustomRuleArray) ToPolicyCustomRuleArrayOutput() PolicyCustomRuleArrayOutput

func (PolicyCustomRuleArray) ToPolicyCustomRuleArrayOutputWithContext

func (i PolicyCustomRuleArray) ToPolicyCustomRuleArrayOutputWithContext(ctx context.Context) PolicyCustomRuleArrayOutput

type PolicyCustomRuleArrayInput

type PolicyCustomRuleArrayInput interface {
	pulumi.Input

	ToPolicyCustomRuleArrayOutput() PolicyCustomRuleArrayOutput
	ToPolicyCustomRuleArrayOutputWithContext(context.Context) PolicyCustomRuleArrayOutput
}

PolicyCustomRuleArrayInput is an input type that accepts PolicyCustomRuleArray and PolicyCustomRuleArrayOutput values. You can construct a concrete instance of `PolicyCustomRuleArrayInput` via:

PolicyCustomRuleArray{ PolicyCustomRuleArgs{...} }

type PolicyCustomRuleArrayOutput

type PolicyCustomRuleArrayOutput struct{ *pulumi.OutputState }

func (PolicyCustomRuleArrayOutput) ElementType

func (PolicyCustomRuleArrayOutput) Index

func (PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutput

func (o PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutput() PolicyCustomRuleArrayOutput

func (PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutputWithContext

func (o PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutputWithContext(ctx context.Context) PolicyCustomRuleArrayOutput

type PolicyCustomRuleInput

type PolicyCustomRuleInput interface {
	pulumi.Input

	ToPolicyCustomRuleOutput() PolicyCustomRuleOutput
	ToPolicyCustomRuleOutputWithContext(context.Context) PolicyCustomRuleOutput
}

PolicyCustomRuleInput is an input type that accepts PolicyCustomRuleArgs and PolicyCustomRuleOutput values. You can construct a concrete instance of `PolicyCustomRuleInput` via:

PolicyCustomRuleArgs{...}

type PolicyCustomRuleMatchCondition

type PolicyCustomRuleMatchCondition struct {
	// A list of match values.
	MatchValues []string `pulumi:"matchValues"`
	// One or more `matchVariables` blocks as defined below.
	MatchVariables []PolicyCustomRuleMatchConditionMatchVariable `pulumi:"matchVariables"`
	// Describes if this is negate condition or not
	NegationCondition *bool `pulumi:"negationCondition"`
	// Describes operator to be matched.
	Operator string `pulumi:"operator"`
	// A list of transformations to do before the match is attempted.
	Transforms []string `pulumi:"transforms"`
}

type PolicyCustomRuleMatchConditionArgs

type PolicyCustomRuleMatchConditionArgs struct {
	// A list of match values.
	MatchValues pulumi.StringArrayInput `pulumi:"matchValues"`
	// One or more `matchVariables` blocks as defined below.
	MatchVariables PolicyCustomRuleMatchConditionMatchVariableArrayInput `pulumi:"matchVariables"`
	// Describes if this is negate condition or not
	NegationCondition pulumi.BoolPtrInput `pulumi:"negationCondition"`
	// Describes operator to be matched.
	Operator pulumi.StringInput `pulumi:"operator"`
	// A list of transformations to do before the match is attempted.
	Transforms pulumi.StringArrayInput `pulumi:"transforms"`
}

func (PolicyCustomRuleMatchConditionArgs) ElementType

func (PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutput

func (i PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput

func (PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutputWithContext

func (i PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionOutput

type PolicyCustomRuleMatchConditionArray

type PolicyCustomRuleMatchConditionArray []PolicyCustomRuleMatchConditionInput

func (PolicyCustomRuleMatchConditionArray) ElementType

func (PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutput

func (i PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput

func (PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutputWithContext

func (i PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionArrayOutput

type PolicyCustomRuleMatchConditionArrayInput

type PolicyCustomRuleMatchConditionArrayInput interface {
	pulumi.Input

	ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput
	ToPolicyCustomRuleMatchConditionArrayOutputWithContext(context.Context) PolicyCustomRuleMatchConditionArrayOutput
}

PolicyCustomRuleMatchConditionArrayInput is an input type that accepts PolicyCustomRuleMatchConditionArray and PolicyCustomRuleMatchConditionArrayOutput values. You can construct a concrete instance of `PolicyCustomRuleMatchConditionArrayInput` via:

PolicyCustomRuleMatchConditionArray{ PolicyCustomRuleMatchConditionArgs{...} }

type PolicyCustomRuleMatchConditionArrayOutput

type PolicyCustomRuleMatchConditionArrayOutput struct{ *pulumi.OutputState }

func (PolicyCustomRuleMatchConditionArrayOutput) ElementType

func (PolicyCustomRuleMatchConditionArrayOutput) Index

func (PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutput

func (o PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput

func (PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutputWithContext

func (o PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionArrayOutput

type PolicyCustomRuleMatchConditionInput

type PolicyCustomRuleMatchConditionInput interface {
	pulumi.Input

	ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput
	ToPolicyCustomRuleMatchConditionOutputWithContext(context.Context) PolicyCustomRuleMatchConditionOutput
}

PolicyCustomRuleMatchConditionInput is an input type that accepts PolicyCustomRuleMatchConditionArgs and PolicyCustomRuleMatchConditionOutput values. You can construct a concrete instance of `PolicyCustomRuleMatchConditionInput` via:

PolicyCustomRuleMatchConditionArgs{...}

type PolicyCustomRuleMatchConditionMatchVariable

type PolicyCustomRuleMatchConditionMatchVariable struct {
	// Describes field of the matchVariable collection
	Selector *string `pulumi:"selector"`
	// The name of the Match Variable
	VariableName string `pulumi:"variableName"`
}

type PolicyCustomRuleMatchConditionMatchVariableArgs

type PolicyCustomRuleMatchConditionMatchVariableArgs struct {
	// Describes field of the matchVariable collection
	Selector pulumi.StringPtrInput `pulumi:"selector"`
	// The name of the Match Variable
	VariableName pulumi.StringInput `pulumi:"variableName"`
}

func (PolicyCustomRuleMatchConditionMatchVariableArgs) ElementType

func (PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutput

func (i PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput

func (PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext

func (i PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput

type PolicyCustomRuleMatchConditionMatchVariableArray

type PolicyCustomRuleMatchConditionMatchVariableArray []PolicyCustomRuleMatchConditionMatchVariableInput

func (PolicyCustomRuleMatchConditionMatchVariableArray) ElementType

func (PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput

func (i PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput

func (PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext

func (i PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput

type PolicyCustomRuleMatchConditionMatchVariableArrayInput

type PolicyCustomRuleMatchConditionMatchVariableArrayInput interface {
	pulumi.Input

	ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
	ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput
}

PolicyCustomRuleMatchConditionMatchVariableArrayInput is an input type that accepts PolicyCustomRuleMatchConditionMatchVariableArray and PolicyCustomRuleMatchConditionMatchVariableArrayOutput values. You can construct a concrete instance of `PolicyCustomRuleMatchConditionMatchVariableArrayInput` via:

PolicyCustomRuleMatchConditionMatchVariableArray{ PolicyCustomRuleMatchConditionMatchVariableArgs{...} }

type PolicyCustomRuleMatchConditionMatchVariableArrayOutput

type PolicyCustomRuleMatchConditionMatchVariableArrayOutput struct{ *pulumi.OutputState }

func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ElementType

func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) Index

func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput

func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext

func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput

type PolicyCustomRuleMatchConditionMatchVariableInput

type PolicyCustomRuleMatchConditionMatchVariableInput interface {
	pulumi.Input

	ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput
	ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput
}

PolicyCustomRuleMatchConditionMatchVariableInput is an input type that accepts PolicyCustomRuleMatchConditionMatchVariableArgs and PolicyCustomRuleMatchConditionMatchVariableOutput values. You can construct a concrete instance of `PolicyCustomRuleMatchConditionMatchVariableInput` via:

PolicyCustomRuleMatchConditionMatchVariableArgs{...}

type PolicyCustomRuleMatchConditionMatchVariableOutput

type PolicyCustomRuleMatchConditionMatchVariableOutput struct{ *pulumi.OutputState }

func (PolicyCustomRuleMatchConditionMatchVariableOutput) ElementType

func (PolicyCustomRuleMatchConditionMatchVariableOutput) Selector

Describes field of the matchVariable collection

func (PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutput

func (o PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput

func (PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext

func (o PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput

func (PolicyCustomRuleMatchConditionMatchVariableOutput) VariableName

The name of the Match Variable

type PolicyCustomRuleMatchConditionOutput

type PolicyCustomRuleMatchConditionOutput struct{ *pulumi.OutputState }

func (PolicyCustomRuleMatchConditionOutput) ElementType

func (PolicyCustomRuleMatchConditionOutput) MatchValues

A list of match values.

func (PolicyCustomRuleMatchConditionOutput) MatchVariables

One or more `matchVariables` blocks as defined below.

func (PolicyCustomRuleMatchConditionOutput) NegationCondition

Describes if this is negate condition or not

func (PolicyCustomRuleMatchConditionOutput) Operator

Describes operator to be matched.

func (PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutput

func (o PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput

func (PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutputWithContext

func (o PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionOutput

func (PolicyCustomRuleMatchConditionOutput) Transforms

A list of transformations to do before the match is attempted.

type PolicyCustomRuleOutput

type PolicyCustomRuleOutput struct{ *pulumi.OutputState }

func (PolicyCustomRuleOutput) Action

Type of action.

func (PolicyCustomRuleOutput) ElementType

func (PolicyCustomRuleOutput) ElementType() reflect.Type

func (PolicyCustomRuleOutput) MatchConditions

One or more `matchConditions` blocks as defined below.

func (PolicyCustomRuleOutput) Name

Gets name of the resource that is unique within a policy. This name can be used to access the resource.

func (PolicyCustomRuleOutput) Priority

Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

func (PolicyCustomRuleOutput) RuleType

Describes the type of rule.

func (PolicyCustomRuleOutput) ToPolicyCustomRuleOutput

func (o PolicyCustomRuleOutput) ToPolicyCustomRuleOutput() PolicyCustomRuleOutput

func (PolicyCustomRuleOutput) ToPolicyCustomRuleOutputWithContext

func (o PolicyCustomRuleOutput) ToPolicyCustomRuleOutputWithContext(ctx context.Context) PolicyCustomRuleOutput

type PolicyInput

type PolicyInput interface {
	pulumi.Input

	ToPolicyOutput() PolicyOutput
	ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
}

type PolicyManagedRules

type PolicyManagedRules struct {
	// One or more `exclusion` block defined below.
	Exclusions []PolicyManagedRulesExclusion `pulumi:"exclusions"`
	// One or more `managedRuleSet` block defined below.
	ManagedRuleSets []PolicyManagedRulesManagedRuleSet `pulumi:"managedRuleSets"`
}

type PolicyManagedRulesArgs

type PolicyManagedRulesArgs struct {
	// One or more `exclusion` block defined below.
	Exclusions PolicyManagedRulesExclusionArrayInput `pulumi:"exclusions"`
	// One or more `managedRuleSet` block defined below.
	ManagedRuleSets PolicyManagedRulesManagedRuleSetArrayInput `pulumi:"managedRuleSets"`
}

func (PolicyManagedRulesArgs) ElementType

func (PolicyManagedRulesArgs) ElementType() reflect.Type

func (PolicyManagedRulesArgs) ToPolicyManagedRulesOutput

func (i PolicyManagedRulesArgs) ToPolicyManagedRulesOutput() PolicyManagedRulesOutput

func (PolicyManagedRulesArgs) ToPolicyManagedRulesOutputWithContext

func (i PolicyManagedRulesArgs) ToPolicyManagedRulesOutputWithContext(ctx context.Context) PolicyManagedRulesOutput

func (PolicyManagedRulesArgs) ToPolicyManagedRulesPtrOutput

func (i PolicyManagedRulesArgs) ToPolicyManagedRulesPtrOutput() PolicyManagedRulesPtrOutput

func (PolicyManagedRulesArgs) ToPolicyManagedRulesPtrOutputWithContext

func (i PolicyManagedRulesArgs) ToPolicyManagedRulesPtrOutputWithContext(ctx context.Context) PolicyManagedRulesPtrOutput

type PolicyManagedRulesExclusion

type PolicyManagedRulesExclusion struct {
	// The name of the Match Variable. Possible values: `RequestArgNames`, `RequestCookieNames`, `RequestHeaderNames`.
	MatchVariable string `pulumi:"matchVariable"`
	// Describes field of the matchVariable collection.
	Selector string `pulumi:"selector"`
	// Describes operator to be matched. Possible values: `Contains`, `EndsWith`, `Equals`, `EqualsAny`, `StartsWith`.
	SelectorMatchOperator string `pulumi:"selectorMatchOperator"`
}

type PolicyManagedRulesExclusionArgs

type PolicyManagedRulesExclusionArgs struct {
	// The name of the Match Variable. Possible values: `RequestArgNames`, `RequestCookieNames`, `RequestHeaderNames`.
	MatchVariable pulumi.StringInput `pulumi:"matchVariable"`
	// Describes field of the matchVariable collection.
	Selector pulumi.StringInput `pulumi:"selector"`
	// Describes operator to be matched. Possible values: `Contains`, `EndsWith`, `Equals`, `EqualsAny`, `StartsWith`.
	SelectorMatchOperator pulumi.StringInput `pulumi:"selectorMatchOperator"`
}

func (PolicyManagedRulesExclusionArgs) ElementType

func (PolicyManagedRulesExclusionArgs) ToPolicyManagedRulesExclusionOutput

func (i PolicyManagedRulesExclusionArgs) ToPolicyManagedRulesExclusionOutput() PolicyManagedRulesExclusionOutput

func (PolicyManagedRulesExclusionArgs) ToPolicyManagedRulesExclusionOutputWithContext

func (i PolicyManagedRulesExclusionArgs) ToPolicyManagedRulesExclusionOutputWithContext(ctx context.Context) PolicyManagedRulesExclusionOutput

type PolicyManagedRulesExclusionArray

type PolicyManagedRulesExclusionArray []PolicyManagedRulesExclusionInput

func (PolicyManagedRulesExclusionArray) ElementType

func (PolicyManagedRulesExclusionArray) ToPolicyManagedRulesExclusionArrayOutput

func (i PolicyManagedRulesExclusionArray) ToPolicyManagedRulesExclusionArrayOutput() PolicyManagedRulesExclusionArrayOutput

func (PolicyManagedRulesExclusionArray) ToPolicyManagedRulesExclusionArrayOutputWithContext

func (i PolicyManagedRulesExclusionArray) ToPolicyManagedRulesExclusionArrayOutputWithContext(ctx context.Context) PolicyManagedRulesExclusionArrayOutput

type PolicyManagedRulesExclusionArrayInput

type PolicyManagedRulesExclusionArrayInput interface {
	pulumi.Input

	ToPolicyManagedRulesExclusionArrayOutput() PolicyManagedRulesExclusionArrayOutput
	ToPolicyManagedRulesExclusionArrayOutputWithContext(context.Context) PolicyManagedRulesExclusionArrayOutput
}

PolicyManagedRulesExclusionArrayInput is an input type that accepts PolicyManagedRulesExclusionArray and PolicyManagedRulesExclusionArrayOutput values. You can construct a concrete instance of `PolicyManagedRulesExclusionArrayInput` via:

PolicyManagedRulesExclusionArray{ PolicyManagedRulesExclusionArgs{...} }

type PolicyManagedRulesExclusionArrayOutput

type PolicyManagedRulesExclusionArrayOutput struct{ *pulumi.OutputState }

func (PolicyManagedRulesExclusionArrayOutput) ElementType

func (PolicyManagedRulesExclusionArrayOutput) Index

func (PolicyManagedRulesExclusionArrayOutput) ToPolicyManagedRulesExclusionArrayOutput

func (o PolicyManagedRulesExclusionArrayOutput) ToPolicyManagedRulesExclusionArrayOutput() PolicyManagedRulesExclusionArrayOutput

func (PolicyManagedRulesExclusionArrayOutput) ToPolicyManagedRulesExclusionArrayOutputWithContext

func (o PolicyManagedRulesExclusionArrayOutput) ToPolicyManagedRulesExclusionArrayOutputWithContext(ctx context.Context) PolicyManagedRulesExclusionArrayOutput

type PolicyManagedRulesExclusionInput

type PolicyManagedRulesExclusionInput interface {
	pulumi.Input

	ToPolicyManagedRulesExclusionOutput() PolicyManagedRulesExclusionOutput
	ToPolicyManagedRulesExclusionOutputWithContext(context.Context) PolicyManagedRulesExclusionOutput
}

PolicyManagedRulesExclusionInput is an input type that accepts PolicyManagedRulesExclusionArgs and PolicyManagedRulesExclusionOutput values. You can construct a concrete instance of `PolicyManagedRulesExclusionInput` via:

PolicyManagedRulesExclusionArgs{...}

type PolicyManagedRulesExclusionOutput

type PolicyManagedRulesExclusionOutput struct{ *pulumi.OutputState }

func (PolicyManagedRulesExclusionOutput) ElementType

func (PolicyManagedRulesExclusionOutput) MatchVariable

The name of the Match Variable. Possible values: `RequestArgNames`, `RequestCookieNames`, `RequestHeaderNames`.

func (PolicyManagedRulesExclusionOutput) Selector

Describes field of the matchVariable collection.

func (PolicyManagedRulesExclusionOutput) SelectorMatchOperator

func (o PolicyManagedRulesExclusionOutput) SelectorMatchOperator() pulumi.StringOutput

Describes operator to be matched. Possible values: `Contains`, `EndsWith`, `Equals`, `EqualsAny`, `StartsWith`.

func (PolicyManagedRulesExclusionOutput) ToPolicyManagedRulesExclusionOutput

func (o PolicyManagedRulesExclusionOutput) ToPolicyManagedRulesExclusionOutput() PolicyManagedRulesExclusionOutput

func (PolicyManagedRulesExclusionOutput) ToPolicyManagedRulesExclusionOutputWithContext

func (o PolicyManagedRulesExclusionOutput) ToPolicyManagedRulesExclusionOutputWithContext(ctx context.Context) PolicyManagedRulesExclusionOutput

type PolicyManagedRulesInput

type PolicyManagedRulesInput interface {
	pulumi.Input

	ToPolicyManagedRulesOutput() PolicyManagedRulesOutput
	ToPolicyManagedRulesOutputWithContext(context.Context) PolicyManagedRulesOutput
}

PolicyManagedRulesInput is an input type that accepts PolicyManagedRulesArgs and PolicyManagedRulesOutput values. You can construct a concrete instance of `PolicyManagedRulesInput` via:

PolicyManagedRulesArgs{...}

type PolicyManagedRulesManagedRuleSet

type PolicyManagedRulesManagedRuleSet struct {
	// One or more `ruleGroupOverride` block defined below.
	RuleGroupOverrides []PolicyManagedRulesManagedRuleSetRuleGroupOverride `pulumi:"ruleGroupOverrides"`
	// The rule set type. Possible values: `Microsoft_BotManagerRuleSet` and `OWASP`.
	Type *string `pulumi:"type"`
	// The rule set version. Possible values: `0.1`, `1.0`, `2.2.9`, `3.0`, `3.1` and `3.2`.
	Version string `pulumi:"version"`
}

type PolicyManagedRulesManagedRuleSetArgs

type PolicyManagedRulesManagedRuleSetArgs struct {
	// One or more `ruleGroupOverride` block defined below.
	RuleGroupOverrides PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayInput `pulumi:"ruleGroupOverrides"`
	// The rule set type. Possible values: `Microsoft_BotManagerRuleSet` and `OWASP`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// The rule set version. Possible values: `0.1`, `1.0`, `2.2.9`, `3.0`, `3.1` and `3.2`.
	Version pulumi.StringInput `pulumi:"version"`
}

func (PolicyManagedRulesManagedRuleSetArgs) ElementType

func (PolicyManagedRulesManagedRuleSetArgs) ToPolicyManagedRulesManagedRuleSetOutput

func (i PolicyManagedRulesManagedRuleSetArgs) ToPolicyManagedRulesManagedRuleSetOutput() PolicyManagedRulesManagedRuleSetOutput

func (PolicyManagedRulesManagedRuleSetArgs) ToPolicyManagedRulesManagedRuleSetOutputWithContext

func (i PolicyManagedRulesManagedRuleSetArgs) ToPolicyManagedRulesManagedRuleSetOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetOutput

type PolicyManagedRulesManagedRuleSetArray

type PolicyManagedRulesManagedRuleSetArray []PolicyManagedRulesManagedRuleSetInput

func (PolicyManagedRulesManagedRuleSetArray) ElementType

func (PolicyManagedRulesManagedRuleSetArray) ToPolicyManagedRulesManagedRuleSetArrayOutput

func (i PolicyManagedRulesManagedRuleSetArray) ToPolicyManagedRulesManagedRuleSetArrayOutput() PolicyManagedRulesManagedRuleSetArrayOutput

func (PolicyManagedRulesManagedRuleSetArray) ToPolicyManagedRulesManagedRuleSetArrayOutputWithContext

func (i PolicyManagedRulesManagedRuleSetArray) ToPolicyManagedRulesManagedRuleSetArrayOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetArrayOutput

type PolicyManagedRulesManagedRuleSetArrayInput

type PolicyManagedRulesManagedRuleSetArrayInput interface {
	pulumi.Input

	ToPolicyManagedRulesManagedRuleSetArrayOutput() PolicyManagedRulesManagedRuleSetArrayOutput
	ToPolicyManagedRulesManagedRuleSetArrayOutputWithContext(context.Context) PolicyManagedRulesManagedRuleSetArrayOutput
}

PolicyManagedRulesManagedRuleSetArrayInput is an input type that accepts PolicyManagedRulesManagedRuleSetArray and PolicyManagedRulesManagedRuleSetArrayOutput values. You can construct a concrete instance of `PolicyManagedRulesManagedRuleSetArrayInput` via:

PolicyManagedRulesManagedRuleSetArray{ PolicyManagedRulesManagedRuleSetArgs{...} }

type PolicyManagedRulesManagedRuleSetArrayOutput

type PolicyManagedRulesManagedRuleSetArrayOutput struct{ *pulumi.OutputState }

func (PolicyManagedRulesManagedRuleSetArrayOutput) ElementType

func (PolicyManagedRulesManagedRuleSetArrayOutput) Index

func (PolicyManagedRulesManagedRuleSetArrayOutput) ToPolicyManagedRulesManagedRuleSetArrayOutput

func (o PolicyManagedRulesManagedRuleSetArrayOutput) ToPolicyManagedRulesManagedRuleSetArrayOutput() PolicyManagedRulesManagedRuleSetArrayOutput

func (PolicyManagedRulesManagedRuleSetArrayOutput) ToPolicyManagedRulesManagedRuleSetArrayOutputWithContext

func (o PolicyManagedRulesManagedRuleSetArrayOutput) ToPolicyManagedRulesManagedRuleSetArrayOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetArrayOutput

type PolicyManagedRulesManagedRuleSetInput

type PolicyManagedRulesManagedRuleSetInput interface {
	pulumi.Input

	ToPolicyManagedRulesManagedRuleSetOutput() PolicyManagedRulesManagedRuleSetOutput
	ToPolicyManagedRulesManagedRuleSetOutputWithContext(context.Context) PolicyManagedRulesManagedRuleSetOutput
}

PolicyManagedRulesManagedRuleSetInput is an input type that accepts PolicyManagedRulesManagedRuleSetArgs and PolicyManagedRulesManagedRuleSetOutput values. You can construct a concrete instance of `PolicyManagedRulesManagedRuleSetInput` via:

PolicyManagedRulesManagedRuleSetArgs{...}

type PolicyManagedRulesManagedRuleSetOutput

type PolicyManagedRulesManagedRuleSetOutput struct{ *pulumi.OutputState }

func (PolicyManagedRulesManagedRuleSetOutput) ElementType

func (PolicyManagedRulesManagedRuleSetOutput) RuleGroupOverrides

One or more `ruleGroupOverride` block defined below.

func (PolicyManagedRulesManagedRuleSetOutput) ToPolicyManagedRulesManagedRuleSetOutput

func (o PolicyManagedRulesManagedRuleSetOutput) ToPolicyManagedRulesManagedRuleSetOutput() PolicyManagedRulesManagedRuleSetOutput

func (PolicyManagedRulesManagedRuleSetOutput) ToPolicyManagedRulesManagedRuleSetOutputWithContext

func (o PolicyManagedRulesManagedRuleSetOutput) ToPolicyManagedRulesManagedRuleSetOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetOutput

func (PolicyManagedRulesManagedRuleSetOutput) Type

The rule set type. Possible values: `Microsoft_BotManagerRuleSet` and `OWASP`.

func (PolicyManagedRulesManagedRuleSetOutput) Version

The rule set version. Possible values: `0.1`, `1.0`, `2.2.9`, `3.0`, `3.1` and `3.2`.

type PolicyManagedRulesManagedRuleSetRuleGroupOverride

type PolicyManagedRulesManagedRuleSetRuleGroupOverride struct {
	// One or more Rule IDs
	DisabledRules []string `pulumi:"disabledRules"`
	// The name of the Rule Group
	RuleGroupName string `pulumi:"ruleGroupName"`
}

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs struct {
	// One or more Rule IDs
	DisabledRules pulumi.StringArrayInput `pulumi:"disabledRules"`
	// The name of the Rule Group
	RuleGroupName pulumi.StringInput `pulumi:"ruleGroupName"`
}

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ElementType

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput

func (i PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutputWithContext

func (i PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray []PolicyManagedRulesManagedRuleSetRuleGroupOverrideInput

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray) ElementType

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput

func (i PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutputWithContext

func (i PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayInput

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayInput interface {
	pulumi.Input

	ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
	ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutputWithContext(context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
}

PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayInput is an input type that accepts PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray and PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput values. You can construct a concrete instance of `PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayInput` via:

PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray{ PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs{...} }

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput struct{ *pulumi.OutputState }

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ElementType

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) Index

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutputWithContext

func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideInput

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideInput interface {
	pulumi.Input

	ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
	ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutputWithContext(context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
}

PolicyManagedRulesManagedRuleSetRuleGroupOverrideInput is an input type that accepts PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs and PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput values. You can construct a concrete instance of `PolicyManagedRulesManagedRuleSetRuleGroupOverrideInput` via:

PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs{...}

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput

type PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput struct{ *pulumi.OutputState }

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) DisabledRules

One or more Rule IDs

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ElementType

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) RuleGroupName

The name of the Rule Group

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput

func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutputWithContext

func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput

type PolicyManagedRulesOutput

type PolicyManagedRulesOutput struct{ *pulumi.OutputState }

func (PolicyManagedRulesOutput) ElementType

func (PolicyManagedRulesOutput) ElementType() reflect.Type

func (PolicyManagedRulesOutput) Exclusions

One or more `exclusion` block defined below.

func (PolicyManagedRulesOutput) ManagedRuleSets

One or more `managedRuleSet` block defined below.

func (PolicyManagedRulesOutput) ToPolicyManagedRulesOutput

func (o PolicyManagedRulesOutput) ToPolicyManagedRulesOutput() PolicyManagedRulesOutput

func (PolicyManagedRulesOutput) ToPolicyManagedRulesOutputWithContext

func (o PolicyManagedRulesOutput) ToPolicyManagedRulesOutputWithContext(ctx context.Context) PolicyManagedRulesOutput

func (PolicyManagedRulesOutput) ToPolicyManagedRulesPtrOutput

func (o PolicyManagedRulesOutput) ToPolicyManagedRulesPtrOutput() PolicyManagedRulesPtrOutput

func (PolicyManagedRulesOutput) ToPolicyManagedRulesPtrOutputWithContext

func (o PolicyManagedRulesOutput) ToPolicyManagedRulesPtrOutputWithContext(ctx context.Context) PolicyManagedRulesPtrOutput

type PolicyManagedRulesPtrInput

type PolicyManagedRulesPtrInput interface {
	pulumi.Input

	ToPolicyManagedRulesPtrOutput() PolicyManagedRulesPtrOutput
	ToPolicyManagedRulesPtrOutputWithContext(context.Context) PolicyManagedRulesPtrOutput
}

PolicyManagedRulesPtrInput is an input type that accepts PolicyManagedRulesArgs, PolicyManagedRulesPtr and PolicyManagedRulesPtrOutput values. You can construct a concrete instance of `PolicyManagedRulesPtrInput` via:

        PolicyManagedRulesArgs{...}

or:

        nil

type PolicyManagedRulesPtrOutput

type PolicyManagedRulesPtrOutput struct{ *pulumi.OutputState }

func (PolicyManagedRulesPtrOutput) Elem

func (PolicyManagedRulesPtrOutput) ElementType

func (PolicyManagedRulesPtrOutput) Exclusions

One or more `exclusion` block defined below.

func (PolicyManagedRulesPtrOutput) ManagedRuleSets

One or more `managedRuleSet` block defined below.

func (PolicyManagedRulesPtrOutput) ToPolicyManagedRulesPtrOutput

func (o PolicyManagedRulesPtrOutput) ToPolicyManagedRulesPtrOutput() PolicyManagedRulesPtrOutput

func (PolicyManagedRulesPtrOutput) ToPolicyManagedRulesPtrOutputWithContext

func (o PolicyManagedRulesPtrOutput) ToPolicyManagedRulesPtrOutputWithContext(ctx context.Context) PolicyManagedRulesPtrOutput

type PolicyMap

type PolicyMap map[string]PolicyInput

func (PolicyMap) ElementType

func (PolicyMap) ElementType() reflect.Type

func (PolicyMap) ToPolicyMapOutput

func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput

func (PolicyMap) ToPolicyMapOutputWithContext

func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput

type PolicyMapInput

type PolicyMapInput interface {
	pulumi.Input

	ToPolicyMapOutput() PolicyMapOutput
	ToPolicyMapOutputWithContext(context.Context) PolicyMapOutput
}

PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. You can construct a concrete instance of `PolicyMapInput` via:

PolicyMap{ "key": PolicyArgs{...} }

type PolicyMapOutput

type PolicyMapOutput struct{ *pulumi.OutputState }

func (PolicyMapOutput) ElementType

func (PolicyMapOutput) ElementType() reflect.Type

func (PolicyMapOutput) MapIndex

func (PolicyMapOutput) ToPolicyMapOutput

func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput

func (PolicyMapOutput) ToPolicyMapOutputWithContext

func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput

type PolicyOutput

type PolicyOutput struct{ *pulumi.OutputState }

func (PolicyOutput) CustomRules added in v5.5.0

func (o PolicyOutput) CustomRules() PolicyCustomRuleArrayOutput

One or more `customRules` blocks as defined below.

func (PolicyOutput) ElementType

func (PolicyOutput) ElementType() reflect.Type

func (PolicyOutput) HttpListenerIds added in v5.5.0

func (o PolicyOutput) HttpListenerIds() pulumi.StringArrayOutput

A list of HTTP Listener IDs from an `network.ApplicationGateway`.

func (PolicyOutput) Location added in v5.5.0

func (o PolicyOutput) Location() pulumi.StringOutput

Resource location. Changing this forces a new resource to be created.

func (PolicyOutput) ManagedRules added in v5.5.0

func (o PolicyOutput) ManagedRules() PolicyManagedRulesOutput

A `managedRules` blocks as defined below.

func (PolicyOutput) Name added in v5.5.0

func (o PolicyOutput) Name() pulumi.StringOutput

The name of the policy. Changing this forces a new resource to be created.

func (PolicyOutput) PathBasedRuleIds added in v5.5.0

func (o PolicyOutput) PathBasedRuleIds() pulumi.StringArrayOutput

A list of URL Path Map Path Rule IDs from an `network.ApplicationGateway`.

func (PolicyOutput) PolicySettings added in v5.5.0

func (o PolicyOutput) PolicySettings() PolicyPolicySettingsPtrOutput

A `policySettings` block as defined below.

func (PolicyOutput) ResourceGroupName added in v5.5.0

func (o PolicyOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group. Changing this forces a new resource to be created.

func (PolicyOutput) Tags added in v5.5.0

A mapping of tags to assign to the Web Application Firewall Policy.

func (PolicyOutput) ToPolicyOutput

func (o PolicyOutput) ToPolicyOutput() PolicyOutput

func (PolicyOutput) ToPolicyOutputWithContext

func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput

type PolicyPolicySettings

type PolicyPolicySettings struct {
	// Describes if the policy is in enabled state or disabled state. Defaults to `true`.
	Enabled *bool `pulumi:"enabled"`
	// The File Upload Limit in MB. Accepted values are in the range `1` to `4000`. Defaults to `100`.
	FileUploadLimitInMb *int `pulumi:"fileUploadLimitInMb"`
	// The Maximum Request Body Size in KB.  Accepted values are in the range `8` to `2000`. Defaults to `128`.
	MaxRequestBodySizeInKb *int `pulumi:"maxRequestBodySizeInKb"`
	// Describes if it is in detection mode or prevention mode at the policy level. Valid values are `Detection` and `Prevention`. Defaults to `Prevention`.
	Mode *string `pulumi:"mode"`
	// Is Request Body Inspection enabled? Defaults to `true`.
	RequestBodyCheck *bool `pulumi:"requestBodyCheck"`
}

type PolicyPolicySettingsArgs

type PolicyPolicySettingsArgs struct {
	// Describes if the policy is in enabled state or disabled state. Defaults to `true`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The File Upload Limit in MB. Accepted values are in the range `1` to `4000`. Defaults to `100`.
	FileUploadLimitInMb pulumi.IntPtrInput `pulumi:"fileUploadLimitInMb"`
	// The Maximum Request Body Size in KB.  Accepted values are in the range `8` to `2000`. Defaults to `128`.
	MaxRequestBodySizeInKb pulumi.IntPtrInput `pulumi:"maxRequestBodySizeInKb"`
	// Describes if it is in detection mode or prevention mode at the policy level. Valid values are `Detection` and `Prevention`. Defaults to `Prevention`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// Is Request Body Inspection enabled? Defaults to `true`.
	RequestBodyCheck pulumi.BoolPtrInput `pulumi:"requestBodyCheck"`
}

func (PolicyPolicySettingsArgs) ElementType

func (PolicyPolicySettingsArgs) ElementType() reflect.Type

func (PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutput

func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput

func (PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutputWithContext

func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutputWithContext(ctx context.Context) PolicyPolicySettingsOutput

func (PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutput

func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput

func (PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutputWithContext

func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput

type PolicyPolicySettingsInput

type PolicyPolicySettingsInput interface {
	pulumi.Input

	ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput
	ToPolicyPolicySettingsOutputWithContext(context.Context) PolicyPolicySettingsOutput
}

PolicyPolicySettingsInput is an input type that accepts PolicyPolicySettingsArgs and PolicyPolicySettingsOutput values. You can construct a concrete instance of `PolicyPolicySettingsInput` via:

PolicyPolicySettingsArgs{...}

type PolicyPolicySettingsOutput

type PolicyPolicySettingsOutput struct{ *pulumi.OutputState }

func (PolicyPolicySettingsOutput) ElementType

func (PolicyPolicySettingsOutput) ElementType() reflect.Type

func (PolicyPolicySettingsOutput) Enabled

Describes if the policy is in enabled state or disabled state. Defaults to `true`.

func (PolicyPolicySettingsOutput) FileUploadLimitInMb

func (o PolicyPolicySettingsOutput) FileUploadLimitInMb() pulumi.IntPtrOutput

The File Upload Limit in MB. Accepted values are in the range `1` to `4000`. Defaults to `100`.

func (PolicyPolicySettingsOutput) MaxRequestBodySizeInKb

func (o PolicyPolicySettingsOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput

The Maximum Request Body Size in KB. Accepted values are in the range `8` to `2000`. Defaults to `128`.

func (PolicyPolicySettingsOutput) Mode

Describes if it is in detection mode or prevention mode at the policy level. Valid values are `Detection` and `Prevention`. Defaults to `Prevention`.

func (PolicyPolicySettingsOutput) RequestBodyCheck

func (o PolicyPolicySettingsOutput) RequestBodyCheck() pulumi.BoolPtrOutput

Is Request Body Inspection enabled? Defaults to `true`.

func (PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutput

func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput

func (PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutputWithContext

func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutputWithContext(ctx context.Context) PolicyPolicySettingsOutput

func (PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutput

func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput

func (PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutputWithContext

func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput

type PolicyPolicySettingsPtrInput

type PolicyPolicySettingsPtrInput interface {
	pulumi.Input

	ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
	ToPolicyPolicySettingsPtrOutputWithContext(context.Context) PolicyPolicySettingsPtrOutput
}

PolicyPolicySettingsPtrInput is an input type that accepts PolicyPolicySettingsArgs, PolicyPolicySettingsPtr and PolicyPolicySettingsPtrOutput values. You can construct a concrete instance of `PolicyPolicySettingsPtrInput` via:

        PolicyPolicySettingsArgs{...}

or:

        nil

type PolicyPolicySettingsPtrOutput

type PolicyPolicySettingsPtrOutput struct{ *pulumi.OutputState }

func (PolicyPolicySettingsPtrOutput) Elem

func (PolicyPolicySettingsPtrOutput) ElementType

func (PolicyPolicySettingsPtrOutput) Enabled

Describes if the policy is in enabled state or disabled state. Defaults to `true`.

func (PolicyPolicySettingsPtrOutput) FileUploadLimitInMb

func (o PolicyPolicySettingsPtrOutput) FileUploadLimitInMb() pulumi.IntPtrOutput

The File Upload Limit in MB. Accepted values are in the range `1` to `4000`. Defaults to `100`.

func (PolicyPolicySettingsPtrOutput) MaxRequestBodySizeInKb

func (o PolicyPolicySettingsPtrOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput

The Maximum Request Body Size in KB. Accepted values are in the range `8` to `2000`. Defaults to `128`.

func (PolicyPolicySettingsPtrOutput) Mode

Describes if it is in detection mode or prevention mode at the policy level. Valid values are `Detection` and `Prevention`. Defaults to `Prevention`.

func (PolicyPolicySettingsPtrOutput) RequestBodyCheck

func (o PolicyPolicySettingsPtrOutput) RequestBodyCheck() pulumi.BoolPtrOutput

Is Request Body Inspection enabled? Defaults to `true`.

func (PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutput

func (o PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput

func (PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutputWithContext

func (o PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput

type PolicyState

type PolicyState struct {
	// One or more `customRules` blocks as defined below.
	CustomRules PolicyCustomRuleArrayInput
	// A list of HTTP Listener IDs from an `network.ApplicationGateway`.
	HttpListenerIds pulumi.StringArrayInput
	// Resource location. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `managedRules` blocks as defined below.
	ManagedRules PolicyManagedRulesPtrInput
	// The name of the policy. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A list of URL Path Map Path Rule IDs from an `network.ApplicationGateway`.
	PathBasedRuleIds pulumi.StringArrayInput
	// A `policySettings` block as defined below.
	PolicySettings PolicyPolicySettingsPtrInput
	// The name of the resource group. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the Web Application Firewall Policy.
	Tags pulumi.StringMapInput
}

func (PolicyState) ElementType

func (PolicyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL