Documentation ¶
Index ¶
- type GetFirewallPolicyArgs
- type GetFirewallPolicyResult
- type Policy
- func (*Policy) ElementType() reflect.Type
- func (i *Policy) ToPolicyOutput() PolicyOutput
- func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (i *Policy) ToPolicyPtrOutput() PolicyPtrOutput
- func (i *Policy) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
- type PolicyArgs
- type PolicyArray
- type PolicyArrayInput
- type PolicyArrayOutput
- type PolicyCustomRule
- type PolicyCustomRuleArgs
- type PolicyCustomRuleArray
- type PolicyCustomRuleArrayInput
- type PolicyCustomRuleArrayOutput
- func (PolicyCustomRuleArrayOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleArrayOutput) Index(i pulumi.IntInput) PolicyCustomRuleOutput
- func (o PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutput() PolicyCustomRuleArrayOutput
- func (o PolicyCustomRuleArrayOutput) ToPolicyCustomRuleArrayOutputWithContext(ctx context.Context) PolicyCustomRuleArrayOutput
- type PolicyCustomRuleInput
- type PolicyCustomRuleMatchCondition
- type PolicyCustomRuleMatchConditionArgs
- func (PolicyCustomRuleMatchConditionArgs) ElementType() reflect.Type
- func (i PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput
- func (i PolicyCustomRuleMatchConditionArgs) ToPolicyCustomRuleMatchConditionOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionOutput
- type PolicyCustomRuleMatchConditionArray
- func (PolicyCustomRuleMatchConditionArray) ElementType() reflect.Type
- func (i PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput
- func (i PolicyCustomRuleMatchConditionArray) ToPolicyCustomRuleMatchConditionArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionArrayOutput
- type PolicyCustomRuleMatchConditionArrayInput
- type PolicyCustomRuleMatchConditionArrayOutput
- func (PolicyCustomRuleMatchConditionArrayOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleMatchConditionArrayOutput) Index(i pulumi.IntInput) PolicyCustomRuleMatchConditionOutput
- func (o PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutput() PolicyCustomRuleMatchConditionArrayOutput
- func (o PolicyCustomRuleMatchConditionArrayOutput) ToPolicyCustomRuleMatchConditionArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionArrayOutput
- type PolicyCustomRuleMatchConditionInput
- type PolicyCustomRuleMatchConditionMatchVariable
- type PolicyCustomRuleMatchConditionMatchVariableArgs
- func (PolicyCustomRuleMatchConditionMatchVariableArgs) ElementType() reflect.Type
- func (i PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput
- func (i PolicyCustomRuleMatchConditionMatchVariableArgs) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput
- type PolicyCustomRuleMatchConditionMatchVariableArray
- func (PolicyCustomRuleMatchConditionMatchVariableArray) ElementType() reflect.Type
- func (i PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- func (i PolicyCustomRuleMatchConditionMatchVariableArray) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- type PolicyCustomRuleMatchConditionMatchVariableArrayInput
- type PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) Index(i pulumi.IntInput) PolicyCustomRuleMatchConditionMatchVariableOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- type PolicyCustomRuleMatchConditionMatchVariableInput
- type PolicyCustomRuleMatchConditionMatchVariableOutput
- func (PolicyCustomRuleMatchConditionMatchVariableOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleMatchConditionMatchVariableOutput) Selector() pulumi.StringPtrOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutput() PolicyCustomRuleMatchConditionMatchVariableOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableOutput) ToPolicyCustomRuleMatchConditionMatchVariableOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionMatchVariableOutput
- func (o PolicyCustomRuleMatchConditionMatchVariableOutput) VariableName() pulumi.StringOutput
- type PolicyCustomRuleMatchConditionOutput
- func (PolicyCustomRuleMatchConditionOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleMatchConditionOutput) MatchValues() pulumi.StringArrayOutput
- func (o PolicyCustomRuleMatchConditionOutput) MatchVariables() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
- func (o PolicyCustomRuleMatchConditionOutput) NegationCondition() pulumi.BoolPtrOutput
- func (o PolicyCustomRuleMatchConditionOutput) Operator() pulumi.StringOutput
- func (o PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutput() PolicyCustomRuleMatchConditionOutput
- func (o PolicyCustomRuleMatchConditionOutput) ToPolicyCustomRuleMatchConditionOutputWithContext(ctx context.Context) PolicyCustomRuleMatchConditionOutput
- func (o PolicyCustomRuleMatchConditionOutput) Transforms() pulumi.StringArrayOutput
- type PolicyCustomRuleOutput
- func (o PolicyCustomRuleOutput) Action() pulumi.StringOutput
- func (PolicyCustomRuleOutput) ElementType() reflect.Type
- func (o PolicyCustomRuleOutput) MatchConditions() PolicyCustomRuleMatchConditionArrayOutput
- func (o PolicyCustomRuleOutput) Name() pulumi.StringPtrOutput
- func (o PolicyCustomRuleOutput) Priority() pulumi.IntOutput
- func (o PolicyCustomRuleOutput) RuleType() pulumi.StringOutput
- func (o PolicyCustomRuleOutput) ToPolicyCustomRuleOutput() PolicyCustomRuleOutput
- func (o PolicyCustomRuleOutput) ToPolicyCustomRuleOutputWithContext(ctx context.Context) PolicyCustomRuleOutput
- type PolicyInput
- type PolicyManagedRules
- type PolicyManagedRulesArgs
- func (PolicyManagedRulesArgs) ElementType() reflect.Type
- func (i PolicyManagedRulesArgs) ToPolicyManagedRulesOutput() PolicyManagedRulesOutput
- func (i PolicyManagedRulesArgs) ToPolicyManagedRulesOutputWithContext(ctx context.Context) PolicyManagedRulesOutput
- func (i PolicyManagedRulesArgs) ToPolicyManagedRulesPtrOutput() PolicyManagedRulesPtrOutput
- func (i PolicyManagedRulesArgs) ToPolicyManagedRulesPtrOutputWithContext(ctx context.Context) PolicyManagedRulesPtrOutput
- type PolicyManagedRulesExclusion
- type PolicyManagedRulesExclusionArgs
- func (PolicyManagedRulesExclusionArgs) ElementType() reflect.Type
- func (i PolicyManagedRulesExclusionArgs) ToPolicyManagedRulesExclusionOutput() PolicyManagedRulesExclusionOutput
- func (i PolicyManagedRulesExclusionArgs) ToPolicyManagedRulesExclusionOutputWithContext(ctx context.Context) PolicyManagedRulesExclusionOutput
- type PolicyManagedRulesExclusionArray
- func (PolicyManagedRulesExclusionArray) ElementType() reflect.Type
- func (i PolicyManagedRulesExclusionArray) ToPolicyManagedRulesExclusionArrayOutput() PolicyManagedRulesExclusionArrayOutput
- func (i PolicyManagedRulesExclusionArray) ToPolicyManagedRulesExclusionArrayOutputWithContext(ctx context.Context) PolicyManagedRulesExclusionArrayOutput
- type PolicyManagedRulesExclusionArrayInput
- type PolicyManagedRulesExclusionArrayOutput
- func (PolicyManagedRulesExclusionArrayOutput) ElementType() reflect.Type
- func (o PolicyManagedRulesExclusionArrayOutput) Index(i pulumi.IntInput) PolicyManagedRulesExclusionOutput
- func (o PolicyManagedRulesExclusionArrayOutput) ToPolicyManagedRulesExclusionArrayOutput() PolicyManagedRulesExclusionArrayOutput
- func (o PolicyManagedRulesExclusionArrayOutput) ToPolicyManagedRulesExclusionArrayOutputWithContext(ctx context.Context) PolicyManagedRulesExclusionArrayOutput
- type PolicyManagedRulesExclusionInput
- type PolicyManagedRulesExclusionOutput
- func (PolicyManagedRulesExclusionOutput) ElementType() reflect.Type
- func (o PolicyManagedRulesExclusionOutput) MatchVariable() pulumi.StringOutput
- func (o PolicyManagedRulesExclusionOutput) Selector() pulumi.StringOutput
- func (o PolicyManagedRulesExclusionOutput) SelectorMatchOperator() pulumi.StringOutput
- func (o PolicyManagedRulesExclusionOutput) ToPolicyManagedRulesExclusionOutput() PolicyManagedRulesExclusionOutput
- func (o PolicyManagedRulesExclusionOutput) ToPolicyManagedRulesExclusionOutputWithContext(ctx context.Context) PolicyManagedRulesExclusionOutput
- type PolicyManagedRulesInput
- type PolicyManagedRulesManagedRuleSet
- type PolicyManagedRulesManagedRuleSetArgs
- func (PolicyManagedRulesManagedRuleSetArgs) ElementType() reflect.Type
- func (i PolicyManagedRulesManagedRuleSetArgs) ToPolicyManagedRulesManagedRuleSetOutput() PolicyManagedRulesManagedRuleSetOutput
- func (i PolicyManagedRulesManagedRuleSetArgs) ToPolicyManagedRulesManagedRuleSetOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetOutput
- type PolicyManagedRulesManagedRuleSetArray
- func (PolicyManagedRulesManagedRuleSetArray) ElementType() reflect.Type
- func (i PolicyManagedRulesManagedRuleSetArray) ToPolicyManagedRulesManagedRuleSetArrayOutput() PolicyManagedRulesManagedRuleSetArrayOutput
- func (i PolicyManagedRulesManagedRuleSetArray) ToPolicyManagedRulesManagedRuleSetArrayOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetArrayOutput
- type PolicyManagedRulesManagedRuleSetArrayInput
- type PolicyManagedRulesManagedRuleSetArrayOutput
- func (PolicyManagedRulesManagedRuleSetArrayOutput) ElementType() reflect.Type
- func (o PolicyManagedRulesManagedRuleSetArrayOutput) Index(i pulumi.IntInput) PolicyManagedRulesManagedRuleSetOutput
- func (o PolicyManagedRulesManagedRuleSetArrayOutput) ToPolicyManagedRulesManagedRuleSetArrayOutput() PolicyManagedRulesManagedRuleSetArrayOutput
- func (o PolicyManagedRulesManagedRuleSetArrayOutput) ToPolicyManagedRulesManagedRuleSetArrayOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetArrayOutput
- type PolicyManagedRulesManagedRuleSetInput
- type PolicyManagedRulesManagedRuleSetOutput
- func (PolicyManagedRulesManagedRuleSetOutput) ElementType() reflect.Type
- func (o PolicyManagedRulesManagedRuleSetOutput) RuleGroupOverrides() PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
- func (o PolicyManagedRulesManagedRuleSetOutput) ToPolicyManagedRulesManagedRuleSetOutput() PolicyManagedRulesManagedRuleSetOutput
- func (o PolicyManagedRulesManagedRuleSetOutput) ToPolicyManagedRulesManagedRuleSetOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetOutput
- func (o PolicyManagedRulesManagedRuleSetOutput) Type() pulumi.StringPtrOutput
- func (o PolicyManagedRulesManagedRuleSetOutput) Version() pulumi.StringOutput
- type PolicyManagedRulesManagedRuleSetRuleGroupOverride
- type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs
- func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ElementType() reflect.Type
- func (i PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
- func (i PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
- type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray
- func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray) ElementType() reflect.Type
- func (i PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
- func (i PolicyManagedRulesManagedRuleSetRuleGroupOverrideArray) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
- type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayInput
- type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
- func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ElementType() reflect.Type
- func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) Index(i pulumi.IntInput) PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
- func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
- func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
- type PolicyManagedRulesManagedRuleSetRuleGroupOverrideInput
- type PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
- func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) DisabledRules() pulumi.StringArrayOutput
- func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ElementType() reflect.Type
- func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) RuleGroupName() pulumi.StringOutput
- func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
- func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutputWithContext(ctx context.Context) PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
- type PolicyManagedRulesOutput
- func (PolicyManagedRulesOutput) ElementType() reflect.Type
- func (o PolicyManagedRulesOutput) Exclusions() PolicyManagedRulesExclusionArrayOutput
- func (o PolicyManagedRulesOutput) ManagedRuleSets() PolicyManagedRulesManagedRuleSetArrayOutput
- func (o PolicyManagedRulesOutput) ToPolicyManagedRulesOutput() PolicyManagedRulesOutput
- func (o PolicyManagedRulesOutput) ToPolicyManagedRulesOutputWithContext(ctx context.Context) PolicyManagedRulesOutput
- func (o PolicyManagedRulesOutput) ToPolicyManagedRulesPtrOutput() PolicyManagedRulesPtrOutput
- func (o PolicyManagedRulesOutput) ToPolicyManagedRulesPtrOutputWithContext(ctx context.Context) PolicyManagedRulesPtrOutput
- type PolicyManagedRulesPtrInput
- type PolicyManagedRulesPtrOutput
- func (o PolicyManagedRulesPtrOutput) Elem() PolicyManagedRulesOutput
- func (PolicyManagedRulesPtrOutput) ElementType() reflect.Type
- func (o PolicyManagedRulesPtrOutput) Exclusions() PolicyManagedRulesExclusionArrayOutput
- func (o PolicyManagedRulesPtrOutput) ManagedRuleSets() PolicyManagedRulesManagedRuleSetArrayOutput
- func (o PolicyManagedRulesPtrOutput) ToPolicyManagedRulesPtrOutput() PolicyManagedRulesPtrOutput
- func (o PolicyManagedRulesPtrOutput) ToPolicyManagedRulesPtrOutputWithContext(ctx context.Context) PolicyManagedRulesPtrOutput
- type PolicyMap
- type PolicyMapInput
- type PolicyMapOutput
- type PolicyOutput
- func (PolicyOutput) ElementType() reflect.Type
- func (o PolicyOutput) ToPolicyOutput() PolicyOutput
- func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput
- func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
- type PolicyPolicySettings
- type PolicyPolicySettingsArgs
- func (PolicyPolicySettingsArgs) ElementType() reflect.Type
- func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput
- func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsOutputWithContext(ctx context.Context) PolicyPolicySettingsOutput
- func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
- func (i PolicyPolicySettingsArgs) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
- type PolicyPolicySettingsInput
- type PolicyPolicySettingsOutput
- func (PolicyPolicySettingsOutput) ElementType() reflect.Type
- func (o PolicyPolicySettingsOutput) Enabled() pulumi.BoolPtrOutput
- func (o PolicyPolicySettingsOutput) FileUploadLimitInMb() pulumi.IntPtrOutput
- func (o PolicyPolicySettingsOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput
- func (o PolicyPolicySettingsOutput) Mode() pulumi.StringPtrOutput
- func (o PolicyPolicySettingsOutput) RequestBodyCheck() pulumi.BoolPtrOutput
- func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutput() PolicyPolicySettingsOutput
- func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsOutputWithContext(ctx context.Context) PolicyPolicySettingsOutput
- func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
- func (o PolicyPolicySettingsOutput) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
- type PolicyPolicySettingsPtrInput
- type PolicyPolicySettingsPtrOutput
- func (o PolicyPolicySettingsPtrOutput) Elem() PolicyPolicySettingsOutput
- func (PolicyPolicySettingsPtrOutput) ElementType() reflect.Type
- func (o PolicyPolicySettingsPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o PolicyPolicySettingsPtrOutput) FileUploadLimitInMb() pulumi.IntPtrOutput
- func (o PolicyPolicySettingsPtrOutput) MaxRequestBodySizeInKb() pulumi.IntPtrOutput
- func (o PolicyPolicySettingsPtrOutput) Mode() pulumi.StringPtrOutput
- func (o PolicyPolicySettingsPtrOutput) RequestBodyCheck() pulumi.BoolPtrOutput
- func (o PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutput() PolicyPolicySettingsPtrOutput
- func (o PolicyPolicySettingsPtrOutput) ToPolicyPolicySettingsPtrOutputWithContext(ctx context.Context) PolicyPolicySettingsPtrOutput
- type PolicyPtrInput
- type PolicyPtrOutput
- type PolicyState
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 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/v4/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 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/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/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) ToPolicyOutput ¶
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (*Policy) ToPolicyPtrOutput ¶
func (i *Policy) ToPolicyPtrOutput() PolicyPtrOutput
func (*Policy) ToPolicyPtrOutputWithContext ¶
func (i *Policy) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
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 (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
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) ElementType() reflect.Type
func (PolicyCustomRuleArrayOutput) Index ¶
func (o PolicyCustomRuleArrayOutput) Index(i pulumi.IntInput) PolicyCustomRuleOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput ¶
func (o PolicyCustomRuleMatchConditionMatchVariableArrayOutput) ToPolicyCustomRuleMatchConditionMatchVariableArrayOutput() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
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) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionMatchVariableOutput) Selector ¶
func (o PolicyCustomRuleMatchConditionMatchVariableOutput) Selector() pulumi.StringPtrOutput
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 ¶
func (o PolicyCustomRuleMatchConditionMatchVariableOutput) VariableName() pulumi.StringOutput
The name of the Match Variable
type PolicyCustomRuleMatchConditionOutput ¶
type PolicyCustomRuleMatchConditionOutput struct{ *pulumi.OutputState }
func (PolicyCustomRuleMatchConditionOutput) ElementType ¶
func (PolicyCustomRuleMatchConditionOutput) ElementType() reflect.Type
func (PolicyCustomRuleMatchConditionOutput) MatchValues ¶
func (o PolicyCustomRuleMatchConditionOutput) MatchValues() pulumi.StringArrayOutput
A list of match values.
func (PolicyCustomRuleMatchConditionOutput) MatchVariables ¶
func (o PolicyCustomRuleMatchConditionOutput) MatchVariables() PolicyCustomRuleMatchConditionMatchVariableArrayOutput
One or more `matchVariables` blocks as defined below.
func (PolicyCustomRuleMatchConditionOutput) NegationCondition ¶
func (o PolicyCustomRuleMatchConditionOutput) NegationCondition() pulumi.BoolPtrOutput
Describes if this is negate condition or not
func (PolicyCustomRuleMatchConditionOutput) Operator ¶
func (o PolicyCustomRuleMatchConditionOutput) Operator() pulumi.StringOutput
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 ¶
func (o PolicyCustomRuleMatchConditionOutput) Transforms() pulumi.StringArrayOutput
A list of transformations to do before the match is attempted.
type PolicyCustomRuleOutput ¶
type PolicyCustomRuleOutput struct{ *pulumi.OutputState }
func (PolicyCustomRuleOutput) Action ¶
func (o PolicyCustomRuleOutput) Action() pulumi.StringOutput
Type of action.
func (PolicyCustomRuleOutput) ElementType ¶
func (PolicyCustomRuleOutput) ElementType() reflect.Type
func (PolicyCustomRuleOutput) MatchConditions ¶
func (o PolicyCustomRuleOutput) MatchConditions() PolicyCustomRuleMatchConditionArrayOutput
One or more `matchConditions` blocks as defined below.
func (PolicyCustomRuleOutput) Name ¶
func (o PolicyCustomRuleOutput) Name() pulumi.StringPtrOutput
Gets name of the resource that is unique within a policy. This name can be used to access the resource.
func (PolicyCustomRuleOutput) Priority ¶
func (o PolicyCustomRuleOutput) Priority() pulumi.IntOutput
Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
func (PolicyCustomRuleOutput) RuleType ¶
func (o PolicyCustomRuleOutput) RuleType() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (PolicyManagedRulesExclusionOutput) MatchVariable ¶
func (o PolicyManagedRulesExclusionOutput) MatchVariable() pulumi.StringOutput
The name of the Match Variable. Possible values: `RequestArgNames`, `RequestCookieNames`, `RequestHeaderNames`.
func (PolicyManagedRulesExclusionOutput) Selector ¶
func (o PolicyManagedRulesExclusionOutput) Selector() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (PolicyManagedRulesManagedRuleSetOutput) RuleGroupOverrides ¶
func (o PolicyManagedRulesManagedRuleSetOutput) RuleGroupOverrides() PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
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 ¶
func (o PolicyManagedRulesManagedRuleSetOutput) Type() pulumi.StringPtrOutput
The rule set type. Possible values: `Microsoft_BotManagerRuleSet` and `OWASP`.
func (PolicyManagedRulesManagedRuleSetOutput) Version ¶
func (o PolicyManagedRulesManagedRuleSetOutput) Version() pulumi.StringOutput
The rule set version. Possible values: `0.1`, `1.0`, `2.2.9`, `3.0`, `3.1` and `3.2`.
type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs ¶
type PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs struct { // One or more Rule ID's DisabledRules pulumi.StringArrayInput `pulumi:"disabledRules"` // The name of the Rule Group RuleGroupName pulumi.StringInput `pulumi:"ruleGroupName"` }
func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ElementType ¶
func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput ¶
func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideArrayOutput
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 ¶
func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) DisabledRules() pulumi.StringArrayOutput
One or more Rule ID's
func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ElementType ¶
func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ElementType() reflect.Type
func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) RuleGroupName ¶
func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) RuleGroupName() pulumi.StringOutput
The name of the Rule Group
func (PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput ¶
func (o PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput) ToPolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput() PolicyManagedRulesManagedRuleSetRuleGroupOverrideOutput
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 ¶
func (o PolicyManagedRulesOutput) Exclusions() PolicyManagedRulesExclusionArrayOutput
One or more `exclusion` block defined below.
func (PolicyManagedRulesOutput) ManagedRuleSets ¶
func (o PolicyManagedRulesOutput) ManagedRuleSets() PolicyManagedRulesManagedRuleSetArrayOutput
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
func PolicyManagedRulesPtr ¶
func PolicyManagedRulesPtr(v *PolicyManagedRulesArgs) PolicyManagedRulesPtrInput
type PolicyManagedRulesPtrOutput ¶
type PolicyManagedRulesPtrOutput struct{ *pulumi.OutputState }
func (PolicyManagedRulesPtrOutput) Elem ¶
func (o PolicyManagedRulesPtrOutput) Elem() PolicyManagedRulesOutput
func (PolicyManagedRulesPtrOutput) ElementType ¶
func (PolicyManagedRulesPtrOutput) ElementType() reflect.Type
func (PolicyManagedRulesPtrOutput) Exclusions ¶
func (o PolicyManagedRulesPtrOutput) Exclusions() PolicyManagedRulesExclusionArrayOutput
One or more `exclusion` block defined below.
func (PolicyManagedRulesPtrOutput) ManagedRuleSets ¶
func (o PolicyManagedRulesPtrOutput) ManagedRuleSets() PolicyManagedRulesManagedRuleSetArrayOutput
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) 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 (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
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) ElementType ¶
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) ToPolicyOutput ¶
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (PolicyOutput) ToPolicyPtrOutput ¶
func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput
func (PolicyOutput) ToPolicyPtrOutputWithContext ¶
func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
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 `750`. Defaults to `100`. FileUploadLimitInMb *int `pulumi:"fileUploadLimitInMb"` // The Maximum Request Body Size in KB. Accepted values are in the range `8` to `128`. Defaults to `128`. MaxRequestBodySizeInKb *int `pulumi:"maxRequestBodySizeInKb"` // Describes if it is in detection mode or prevention mode at the policy level. 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 `750`. Defaults to `100`. FileUploadLimitInMb pulumi.IntPtrInput `pulumi:"fileUploadLimitInMb"` // The Maximum Request Body Size in KB. Accepted values are in the range `8` to `128`. Defaults to `128`. MaxRequestBodySizeInKb pulumi.IntPtrInput `pulumi:"maxRequestBodySizeInKb"` // Describes if it is in detection mode or prevention mode at the policy level. 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 ¶
func (o PolicyPolicySettingsOutput) Enabled() pulumi.BoolPtrOutput
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 `750`. 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 `128`. Defaults to `128`.
func (PolicyPolicySettingsOutput) Mode ¶
func (o PolicyPolicySettingsOutput) Mode() pulumi.StringPtrOutput
Describes if it is in detection mode or prevention mode at the policy level. 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
func PolicyPolicySettingsPtr ¶
func PolicyPolicySettingsPtr(v *PolicyPolicySettingsArgs) PolicyPolicySettingsPtrInput
type PolicyPolicySettingsPtrOutput ¶
type PolicyPolicySettingsPtrOutput struct{ *pulumi.OutputState }
func (PolicyPolicySettingsPtrOutput) Elem ¶
func (o PolicyPolicySettingsPtrOutput) Elem() PolicyPolicySettingsOutput
func (PolicyPolicySettingsPtrOutput) ElementType ¶
func (PolicyPolicySettingsPtrOutput) ElementType() reflect.Type
func (PolicyPolicySettingsPtrOutput) Enabled ¶
func (o PolicyPolicySettingsPtrOutput) Enabled() pulumi.BoolPtrOutput
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 `750`. 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 `128`. Defaults to `128`.
func (PolicyPolicySettingsPtrOutput) Mode ¶
func (o PolicyPolicySettingsPtrOutput) Mode() pulumi.StringPtrOutput
Describes if it is in detection mode or prevention mode at the policy level. 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 PolicyPtrInput ¶
type PolicyPtrInput interface { pulumi.Input ToPolicyPtrOutput() PolicyPtrOutput ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput }
type PolicyPtrOutput ¶
type PolicyPtrOutput struct {
*pulumi.OutputState
}
func (PolicyPtrOutput) ElementType ¶
func (PolicyPtrOutput) ElementType() reflect.Type
func (PolicyPtrOutput) ToPolicyPtrOutput ¶
func (o PolicyPtrOutput) ToPolicyPtrOutput() PolicyPtrOutput
func (PolicyPtrOutput) ToPolicyPtrOutputWithContext ¶
func (o PolicyPtrOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
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