-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add examples when using the profileScrubbing'
- Loading branch information
1 parent
0d4297f
commit 991b553
Showing
6 changed files
with
134 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 8 additions & 15 deletions
23
src/Cdn/Cdn.Autorest/examples/New-AzFrontDoorCdnProfileLogScrubbingObject.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,15 @@ | ||
### Example 1: {{ Add title here }} | ||
### Example 1: Create an in-memory object for ProfileUpgradeParameters, for two LogScrubbingRules | ||
```powershell | ||
{{ Add code here }} | ||
$scrubbingRule1 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled | ||
$scrubbingRule2 = New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Enabled | ||
New-AzFrontDoorCdnProfileLogScrubbingObject -ScrubbingRule @($scrubbingRule1, $scrubbingRule2) -State Enabled | ||
``` | ||
|
||
```output | ||
{{ Add output here }} | ||
State | ||
----- | ||
Enabled | ||
``` | ||
|
||
{{ Add description here }} | ||
|
||
### Example 2: {{ Add title here }} | ||
```powershell | ||
{{ Add code here }} | ||
``` | ||
|
||
```output | ||
{{ Add output here }} | ||
``` | ||
|
||
{{ Add description here }} | ||
Create an in-memory object for ProfileUpgradeParameters, for two LogScrubbingRules | ||
|
20 changes: 12 additions & 8 deletions
20
src/Cdn/Cdn.Autorest/examples/New-AzFrontDoorCdnProfileScrubbingRulesObject.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
### Example 1: {{ Add title here }} | ||
### Example 1: Create an in-memory object for ProfileScrubbingRules and the value of matchVariable is RequestIPAddress | ||
```powershell | ||
{{ Add code here }} | ||
New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled | ||
``` | ||
|
||
```output | ||
{{ Add output here }} | ||
MatchVariable Selector SelectorMatchOperator State | ||
------------- -------- --------------------- ----- | ||
RequestIPAddress EqualsAny Enabled | ||
``` | ||
|
||
{{ Add description here }} | ||
Create an in-memory object for ProfileScrubbingRules and the value of matchVariable is RequestIPAddress | ||
|
||
### Example 2: {{ Add title here }} | ||
### Example 2: Create an in-memory object for ProfileScrubbingRules and disbale the Scrubbing rule | ||
```powershell | ||
{{ Add code here }} | ||
New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled | ||
``` | ||
|
||
```output | ||
{{ Add output here }} | ||
MatchVariable Selector SelectorMatchOperator State | ||
------------- -------- --------------------- ----- | ||
RequestUri EqualsAny Disabled | ||
``` | ||
|
||
{{ Add description here }} | ||
Create an in-memory object for ProfileScrubbingRules and disbale the Scrubbing rule | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters