New-AzApplicationGatewayFirewallCustomRuleGroupByVariable

Creates a new GroupByVariable for the application gateway firewall custom rule GroupByUserSession.

Syntax

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

Description

The New-AzApplicationGatewayFirewallCustomRuleGroupByVariable creates a new GroupByVariable for the application gateway firewall custom rule GroupByUserSession.

Examples

Example 1

New-AzApplicationGatewayFirewallCustomRuleGroupByVariable -VariableName ClientAddr

The command creates a new GroupByVariable, with the VariableName ClientAddr

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

-VariableName

User Session clause variable.

Type:String
Accepted values:ClientAddr, GeoLocation, None
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSApplicationGatewayFirewallCustomRule