New-AzApplicationGatewayFirewallPolicyLogScrubbingConfiguration
Skapar en loggrensningskonfiguration för brandväggsprincip
Syntax
New-AzApplicationGatewayFirewallPolicyLogScrubbingConfiguration
-State <String>
-ScrubbingRule <PSApplicationGatewayFirewallPolicyLogScrubbingRule[]>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
New-AzApplicationGatewayFirewallPolicyLogScrubbingConfiguration skapar en loggrensningskonfiguration för brandväggsprincipen.
Exempel
Exempel 1
$logScrubbingRuleConfig = New-AzApplicationGatewayFirewallPolicyLogScrubbingConfiguration -State Enabled -ScrubbingRule $logScrubbingRule1
Kommandot skapar en loggrensningsregelkonfiguration med tillstånd som aktiverad, ScrubbingRule som $logScrubbingRule 1. Den nya konfigurationen av loggrensningsregeln lagras till $logScrubbingRuleConfig.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ScrubbingRule
De regler som tillämpas på loggarna för rensning.
Type: | PSApplicationGatewayFirewallPolicyLogScrubbingRule[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-State
Status för loggrensningskonfigurationen. Standardvärdet är Aktiverat.
Type: | String |
Accepted values: | Enabled, Disabled |
Position: | Named |
Default value: | Enabled |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indata
None
Utdata
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för