Modifier

Partager via


New-AzApplicationGatewayFirewallPolicyExclusionManagedRule

Creates an exclusionManagedRule entry for ExclusionManagedRuleGroup entry.

Syntax

New-AzApplicationGatewayFirewallPolicyExclusionManagedRule
   -RuleId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzApplicationGatewayFirewallPolicyExclusionManagedRule creates an exclusion rule entry.

Examples

Example 1

$ruleOverrideEntry = New-AzApplicationGatewayFirewallPolicyExclusionManagedRule -RuleId $ruleId

Creates an exclusion rule Entry with RuleId as $ruleId.

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

-RuleId

Specify the RuleId in exclusion rule entry.

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

Inputs

None

Outputs

PSApplicationGatewayFirewallPolicyExclusionManagedRule