New-AzFrontDoorCdnProfileScrubbingRulesObject
Create an in-memory object for ProfileScrubbingRules.
Syntax
New-AzFrontDoorCdnProfileScrubbingRulesObject
-MatchVariable <ScrubbingRuleEntryMatchVariable>
[-Selector <String>]
[-State <ScrubbingRuleEntryState>]
[<CommonParameters>]
Description
Create an in-memory object for ProfileScrubbingRules.
Examples
Example 1: Create an in-memory object for ProfileScrubbingRules and the value of matchVariable is RequestIPAddress
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
Example 2: Create an in-memory object for ProfileScrubbingRules and disbale the Scrubbing rule
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
Parameters
-MatchVariable
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 |
-Selector
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 |
-State
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 |
Outputs
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell