New-AzFrontDoorCdnProfileLogScrubbingObject
Create an in-memory object for ProfileLogScrubbing.
Syntax
New-AzFrontDoorCdnProfileLogScrubbingObject
[-ScrubbingRule <IProfileScrubbingRules[]>]
[-State <ProfileScrubbingState>]
[<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. To construct, see NOTES section for SCRUBBINGRULE properties and create a hash table.
Type: | IProfileScrubbingRules[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-State
State of the log scrubbing config. Default value is Enabled.
Type: | ProfileScrubbingState |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |