New-​Azure​Rm​Application​Gateway​Firewall​Disabled​Rule​Group​Config

Creates a new disabled rule group configuration.

Syntax

New-AzureRmApplicationGatewayFirewallDisabledRuleGroupConfig
   -RuleGroupName <String>
   [-Rules <System.Collections.Generic.List`1[System.Int32]>]
   [<CommonParameters>]

Description

The New-AzureRmApplicationGatewayFirewallDisabledRuleGroupConfig cmdlet creates a new disabled rule group configuration.

Examples

Example 1

PS C:\> $disabledRuleGroup1 = New-AzureRmApplicationGatewayFirewallDisabledRuleGroupConfig -RuleGroupName "REQUEST-942-APPLICATION-ATTACK-SQLI" -Rules 942130,942140

The command creates a new disabled rule group configuration for the rule group named "REQUEST-942-APPLICATION-ATTACK-SQLI" with rule 942130 and rule 942140 being disabled. The new disabled rule group configuration is saved in $disabledRuleGroup1.

Required Parameters

-RuleGroupName

The name of the rule group that will be disabled.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Rules

The list of rules that will be disabled. If null, all rules of the rule group will be disabled.

Type:System.Collections.Generic.List`1[System.Int32]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayFirewallDisabledRuleGroup