Skip to content

Commit d769f78

Browse files
author
Chenglong Liu
committed
Hide LogAnalytic
1 parent f48016e commit d769f78

9 files changed

+7
-202
lines changed

src/Cdn/Cdn.Autorest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ directive:
9999
# 1. Remove the unexpanded parameter set
100100
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
101101
- where:
102-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
102+
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Patch$|^PatchViaIdentity$
103103
subject: ^(?!RuleSet).+$
104104
remove: true
105105
- where:

src/Cdn/Cdn.Autorest/docs/Update-AzFrontDoorCdnSecurityPolicy.md

Lines changed: 6 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,6 @@ Update-AzFrontDoorCdnSecurityPolicy -Name <String> -ProfileName <String> -Resour
1919
[-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
2020
```
2121

22-
### Patch
23-
```
24-
Update-AzFrontDoorCdnSecurityPolicy -Name <String> -ProfileName <String> -ResourceGroupName <String>
25-
-SecurityPolicyUpdateProperty <ISecurityPolicyUpdateParameters> [-SubscriptionId <String>]
26-
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
27-
```
28-
29-
### PatchViaIdentity
30-
```
31-
Update-AzFrontDoorCdnSecurityPolicy -InputObject <ICdnIdentity>
32-
-SecurityPolicyUpdateProperty <ISecurityPolicyUpdateParameters> [-DefaultProfile <PSObject>] [-AsJob]
33-
[-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
34-
```
35-
3622
### PatchViaIdentityExpanded
3723
```
3824
Update-AzFrontDoorCdnSecurityPolicy -InputObject <ICdnIdentity>
@@ -101,7 +87,7 @@ To construct, see NOTES section for INPUTOBJECT properties and create a hash tab
10187
10288
```yaml
10389
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
104-
Parameter Sets: PatchViaIdentity, PatchViaIdentityExpanded
90+
Parameter Sets: PatchViaIdentityExpanded
10591
Aliases:
10692

10793
Required: True
@@ -116,7 +102,7 @@ Name of the security policy under the profile.
116102
117103
```yaml
118104
Type: System.String
119-
Parameter Sets: Patch, PatchExpanded
105+
Parameter Sets: PatchExpanded
120106
Aliases: SecurityPolicyName
121107

122108
Required: True
@@ -146,7 +132,7 @@ object which contains security policy parameters
146132
147133
```yaml
148134
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.ISecurityPolicyPropertiesParameters
149-
Parameter Sets: PatchExpanded, PatchViaIdentityExpanded
135+
Parameter Sets: (All)
150136
Aliases:
151137

152138
Required: False
@@ -161,7 +147,7 @@ Name of the Azure Front Door Standard or Azure Front Door Premium profile which
161147
162148
```yaml
163149
Type: System.String
164-
Parameter Sets: Patch, PatchExpanded
150+
Parameter Sets: PatchExpanded
165151
Aliases:
166152

167153
Required: True
@@ -176,7 +162,7 @@ Name of the Resource group within the Azure subscription.
176162
177163
```yaml
178164
Type: System.String
179-
Parameter Sets: Patch, PatchExpanded
165+
Parameter Sets: PatchExpanded
180166
Aliases:
181167

182168
Required: True
@@ -186,28 +172,12 @@ Accept pipeline input: False
186172
Accept wildcard characters: False
187173
```
188174
189-
### -SecurityPolicyUpdateProperty
190-
The JSON object containing security policy update parameters.
191-
To construct, see NOTES section for SECURITYPOLICYUPDATEPROPERTY properties and create a hash table.
192-
193-
```yaml
194-
Type: Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.ISecurityPolicyUpdateParameters
195-
Parameter Sets: Patch, PatchViaIdentity
196-
Aliases:
197-
198-
Required: True
199-
Position: Named
200-
Default value: None
201-
Accept pipeline input: True (ByValue)
202-
Accept wildcard characters: False
203-
```
204-
205175
### -SubscriptionId
206176
Azure Subscription ID.
207177
208178
```yaml
209179
Type: System.String
210-
Parameter Sets: Patch, PatchExpanded
180+
Parameter Sets: PatchExpanded
211181
Aliases:
212182

213183
Required: False
@@ -253,8 +223,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
253223
254224
## INPUTS
255225
256-
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20210601.ISecurityPolicyUpdateParameters
257-
258226
### Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ICdnIdentity
259227
260228
## OUTPUTS
@@ -286,8 +254,5 @@ INPUTOBJECT <ICdnIdentity>: Identity Parameter
286254
- `[SecurityPolicyName <String>]`: Name of the security policy under the profile.
287255
- `[SubscriptionId <String>]`: Azure Subscription ID.
288256

289-
SECURITYPOLICYUPDATEPROPERTY <ISecurityPolicyUpdateParameters>: The JSON object containing security policy update parameters.
290-
- `[Parameter <ISecurityPolicyPropertiesParameters>]`: object which contains security policy parameters
291-
292257
## RELATED LINKS
293258

src/Cdn/Cdn.Autorest/test/Get-AzCdnLogAnalyticLocation.Tests.ps1

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/Cdn/Cdn.Autorest/test/Get-AzCdnLogAnalyticMetric.Tests.ps1

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/Cdn/Cdn.Autorest/test/Get-AzCdnLogAnalyticRanking.Tests.ps1

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/Cdn/Cdn.Autorest/test/Get-AzCdnLogAnalyticResource.Tests.ps1

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/Cdn/Cdn.Autorest/test/Get-AzCdnLogAnalyticWafLogAnalyticMetric.Tests.ps1

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/Cdn/Cdn.Autorest/test/Get-AzCdnLogAnalyticWafLogAnalyticRanking.Tests.ps1

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/Cdn/Cdn.Autorest/test/Update-AzFrontDoorCdnSecurityPolicy.Tests.ps1

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ Describe 'Update-AzFrontDoorCdnSecurityPolicy' {
6161
} | Should -Not -Throw
6262
}
6363

64-
It 'Patch' -skip {
65-
{ throw [System.NotImplementedException] } | Should -Not -Throw
66-
}
67-
6864
It 'PatchViaIdentityExpanded' {
6965
{
7066
$PSDefaultParameterValues['Disabled'] = $true
@@ -110,10 +106,4 @@ Describe 'Update-AzFrontDoorCdnSecurityPolicy' {
110106
}
111107
} | Should -Not -Throw
112108
}
113-
114-
It 'PatchViaIdentity' -skip {
115-
{
116-
throw [System.NotImplementedException]
117-
} | Should -Not -Throw
118-
}
119109
}

0 commit comments

Comments
 (0)