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 にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell