Bewerken

Delen via


New-AzApplicationGatewayFirewallDisabledRuleGroupConfig

Creates a new disabled rule group configuration.

Syntax

New-AzApplicationGatewayFirewallDisabledRuleGroupConfig
   -RuleGroupName <String>
   [-Rules <Int32[]>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

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

Examples

Example 1

$disabledRuleGroup1 = New-AzApplicationGatewayFirewallDisabledRuleGroupConfig -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.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RuleGroupName

The name of the rule group that will be disabled.

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

-Rules

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

Type:Int32[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSApplicationGatewayFirewallDisabledRuleGroup