Edit

Share via


New-AzFrontDoorWafManagedRuleExclusionObject

Create an in-memory object for ManagedRuleExclusion.

Syntax

Default (Default)

New-AzFrontDoorWafManagedRuleExclusionObject
    -Operator <String>
    -Selector <String>
    -Variable <String>
    [<CommonParameters>]

Description

Create an in-memory object for ManagedRuleExclusion.

Examples

Example 1: Create managed rule exclusion object for WAF managed rule sets, groups, or rules.

New-AzFrontDoorWafManagedRuleExclusionObject -Variable QueryStringArgNames -Operator Equals -Selector "ParameterName"
Operator Selector      Variable
-------- --------      --------
Equals   ParameterName QueryStringArgNames

Create managed rule exclusion object for WAF managed rule sets, groups, or rules.

Parameters

-Operator

Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Selector

Selector value for which elements in the collection this exclusion applies to.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Variable

The variable type to be excluded.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

ManagedRuleExclusion