New-AzApplicationGatewayFirewallPolicyLogScrubbingConfiguration
Creates a log scrubbing configuration for firewall policy
Syntax
New-AzApplicationGatewayFirewallPolicyLogScrubbingConfiguration
-State <String>
-ScrubbingRule <PSApplicationGatewayFirewallPolicyLogScrubbingRule[]>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzApplicationGatewayFirewallPolicyLogScrubbingConfiguration creates a log scrubbing configuration for firewall policy.
Examples
Example 1
$logScrubbingRuleConfig = New-AzApplicationGatewayFirewallPolicyLogScrubbingConfiguration -State Enabled -ScrubbingRule $logScrubbingRule1
The command creates a log scrubbing rule configuration with state as enable, ScrubbingRule as $logScrubbingRule1. The new log scrubbing rule configuration is stored to $logScrubbingRuleConfig.
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 |
-ScrubbingRule
The rules that are applied to the logs for scrubbing.
Type: | PSApplicationGatewayFirewallPolicyLogScrubbingRule[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-State
State of the log scrubbing config. Default value is Enabled.
Type: | String |
Accepted values: | Enabled, Disabled |
Position: | Named |
Default value: | Enabled |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.