New-AzFrontDoorCdnProfileScrubbingRulesObject
Create an in-memory object for ProfileScrubbingRules.
PowerShell
New-AzFrontDoorCdnProfileScrubbingRulesObject
-MatchVariable <ScrubbingRuleEntryMatchVariable>
[-Selector <String>]
[-State <ScrubbingRuleEntryState>]
[<CommonParameters>]
Create an in-memory object for ProfileScrubbingRules.
Example 1: Create an in-memory object for ProfileScrubbingRules and the value of matchVariable is RequestIPAddress
PowerShell
New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled
MatchVariable Selector SelectorMatchOperator State
------------- -------- --------------------- -----
RequestIPAddress EqualsAny Enabled
Create an in-memory object for ProfileScrubbingRules and the value of matchVariable is RequestIPAddress
PowerShell
New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled
MatchVariable Selector SelectorMatchOperator State
------------- -------- --------------------- -----
RequestUri EqualsAny Disabled
Create an in-memory object for ProfileScrubbingRules and disbale the Scrubbing rule
The variable to be scrubbed from the logs.
Type: | ScrubbingRuleEntryMatchVariable |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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 |
Defines the state of a log scrubbing rule. Default value is enabled.
Type: | ScrubbingRuleEntryState |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |