New-AzFrontDoorCdnProfileLogScrubbingObject
Create an in-memory object for ProfileLogScrubbing.
Syntax
Default (Default)
New-AzFrontDoorCdnProfileLogScrubbingObject
[-ScrubbingRule <IProfileScrubbingRules[]>]
[-State <String>]
[<CommonParameters>]
Description
Create an in-memory object for ProfileLogScrubbing.
Examples
Example 1: Create an in-memory object for ProfileUpgradeParameters, for two LogScrubbingRules
$scrubbingRule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled
$scrubbingRule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Enabled
New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($scrubbingRule1, $scrubbingRule2) -State Enabled
State
-----
Enabled
Create an in-memory object for ProfileUpgradeParameters, for two LogScrubbingRules
Parameters
-ScrubbingRule
List of log scrubbing rules applied to the Azure Front Door profile logs.
Parameter properties
| Type: | |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-State
State of the log scrubbing config. Default value is Enabled.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.