New-AzApplicationGatewayFirewallPolicyManagedRule
Create ManagedRules for the firewall policy.
Syntax
New-AzApplicationGatewayFirewallPolicyManagedRule
[-ManagedRuleSet <PSApplicationGatewayFirewallPolicyManagedRuleSet[]>]
[-Exclusion <PSApplicationGatewayFirewallPolicyExclusion[]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzApplicationGatewayFirewallPolicyManagedRule creates a managed-rules for a firewall policy.
Examples
Example 1
$condition = New-AzApplicationGatewayFirewallPolicyManagedRule -ManagedRuleSet $managedRuleSet -Exclusion $exclusion1,$exclusion2
The command creates managed rules a list of ManagedRuleSet with $managedRuleSet and an exclusion list with entries as $exclusion1, $exclusion2.
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 |
-Exclusion
List of Exclusion Entry.
Type: | PSApplicationGatewayFirewallPolicyExclusion[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManagedRuleSet
List of Managed ruleSets.
Type: | PSApplicationGatewayFirewallPolicyManagedRuleSet[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.