New-AzFirewallPolicyFilterRuleCollection
Erstellen einer neuen Azure Firewall Policy Filter Rule Collection
Syntax
New-AzFirewallPolicyFilterRuleCollection
-Name <String>
-Priority <UInt32>
[-Rule <PSAzureFirewallPolicyRule[]>]
-ActionType <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Das Cmdlet New-AzFirewallPolicyFilterRuleCollection erstellt eine Filterregelsammlung für eine Azure Firewall-Richtlinie.
Beispiele
Beispiel 1
New-AzFirewallPolicyFilterRuleCollection -Name FR1 -Priority 400 -Rule $appRule1 ,$appRule2 -ActionType "Allow"
In diesem Beispiel wird eine Filterregel mit zwei Regelbedingungen erstellt.
Parameter
-ActionType
Die Aktion der Regelsammlung
Typ: | String |
Zulässige Werte: | Allow, Deny |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
Typ: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Der Name der Anwendungsregelauflistung
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Priority
Die Priorität der Regelsammlung
Typ: | UInt32 |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Rule
Die Liste der Anwendungsregeln
Typ: | PSAzureFirewallPolicyRule[] |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Eingaben
None