Freigeben über


New-AzApplicationGatewayFirewallCustomRuleGroupByVariable

Erstellt eine neue GroupByVariable für die benutzerdefinierte Anwendungsgatewayfirewall GroupByUserSession.

Syntax

New-AzApplicationGatewayFirewallCustomRuleGroupByVariable
   -VariableName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Beschreibung

Das New-AzApplicationGatewayFirewallCustomRuleGroupByVariable erstellt eine neue GroupByVariable für die benutzerdefinierte Regel "GroupByUserSession" der Anwendungsgatewayfirewall.

Beispiele

Beispiel 1

New-AzApplicationGatewayFirewallCustomRuleGroupByVariable -VariableName ClientAddr

Mit dem Befehl wird ein neues GroupByVariable-Objekt mit dem VariablenName ClientAddr erstellt.

Parameter

-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

-VariableName

Benutzersitzungsklauselvariable.

Typ:String
Zulässige Werte:ClientAddr, GeoLocation, None
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

Eingaben

None

Ausgaben

PSApplicationGatewayFirewallCustomRule