New-AzApplicationGatewayFirewallMatchVariable
Creates a match variable for firewall condition.
PowerShell
New-AzApplicationGatewayFirewallMatchVariable
-VariableName <String>
[-Selector <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
The New-AzApplicationGatewayFirewallMatchVariable creates a match variable for firewall condition.
PowerShell
$variable = New-AzApplicationGatewayFirewallMatchVariable -VariableName RequestHeaders -Selector Content-Length
The command creates a new match variable with name of request headers and selector is Content-Length field. The new match variable is saved in $variable.
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 |
Describes field of the matchVariable collection.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Match Variable.
Type: | String |
Accepted values: | RemoteAddr, RequestMethod, QueryString, PostArgs, RequestUri, RequestHeaders, RequestBody, RequestCookies |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
None