Editar

Compartir a través de


New-AzFrontDoorWafLogScrubbingRuleObject

Create LogScrubbingRule object for LogScrubbingSetting

Syntax

New-AzFrontDoorWafLogScrubbingRuleObject
   -MatchVariable <String>
   -SelectorMatchOperator <String>
   -State <String>
   [-Selector <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Create LogScrubbingRule object for LogScrubbingSetting

Examples

Example 1

New-AzFrontDoorWafLogScrubbingRuleObject -MatchVariable "RequestHeaderNames" -SelectorMatchOperator "EqualsAny" -State "Enabled"

This obejct is a parameter for LogscrubbingSetting

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

-MatchVariable

Gets or sets the variable to be scrubbed from the logs.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Selector

Gets or sets when matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SelectorMatchOperator

Gets or sets when matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-State

Gets or sets defines the state of a log scrubbing rule.Default value is enabled.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSFrontDoorWafLogScrubbingRule