Skip to content

Commit 6c2a913

Browse files
author
Jingnan Xu
committed
fix parameterset
1 parent 8b94ed6 commit 6c2a913

File tree

11 files changed

+199
-234
lines changed

11 files changed

+199
-234
lines changed

src/Cdn/Cdn.Autorest/docs/Az.Cdn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Cdn
3-
Module Guid: 7068dad4-9b7e-4b63-80b8-ee7cfe94b6b4
3+
Module Guid: 017e09b7-e5d5-439a-b393-82dab6354cb3
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.cdn
55
Help Version: 1.0.0.0
66
Locale: en-US

src/FrontDoor/FrontDoor.Autorest/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ directive:
6464
- where:
6565
variant: ^CreateViaIdentity.*$
6666
remove: true
67+
68+
- where:
69+
variant: ^EnableViaIdentityFrontDoorExpanded$
70+
remove: true
71+
- where:
72+
variant: ^EnableViaIdentityExpanded$
73+
remove: true
6774
- no-inline: # choose ONE of these models to disable inlining
6875
- BackendPoolsSettings
6976
- RouteConfiguration

src/FrontDoor/FrontDoor.Autorest/custom/Enable-AzFrontDoorCustomDomainHttps.ps1

Lines changed: 159 additions & 170 deletions
Large diffs are not rendered by default.

src/FrontDoor/FrontDoor.Autorest/docs/Az.FrontDoor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.FrontDoor
3-
Module Guid: 870b88c5-9743-4f2a-94e7-ebdf75b4f4e3
3+
Module Guid: de841666-09d0-4c1e-a6ad-b3112699a6c2
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.frontdoor
55
Help Version: 1.0.0.0
66
Locale: en-US

src/FrontDoor/FrontDoor.Autorest/docs/Enable-AzFrontDoorCustomDomainHttps.md

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,12 @@ Enable-AzFrontDoorCustomDomainHttps -InputObject <IFrontDoorIdentity> [-DefaultP
4040
[-NoWait] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
4141
```
4242

43-
### EnableViaIdentityExpanded
44-
```
45-
Enable-AzFrontDoorCustomDomainHttps -InputObject <IFrontDoorIdentity> [-MinimumTlsVersion <String>]
46-
[-SecretName <String>] [-SecretVersion <String>] [-VaultId <String>] [-DefaultProfile <PSObject>] [-AsJob]
47-
[-NoWait] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
48-
```
49-
5043
### EnableViaIdentityFrontDoor
5144
```
5245
Enable-AzFrontDoorCustomDomainHttps -FrontDoorInputObject <IFrontDoorIdentity> -FrontendEndpointName <String>
5346
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
5447
```
5548

56-
### EnableViaIdentityFrontDoorExpanded
57-
```
58-
Enable-AzFrontDoorCustomDomainHttps -FrontDoorInputObject <IFrontDoorIdentity> -FrontendEndpointName <String>
59-
[-MinimumTlsVersion <String>] [-SecretName <String>] [-SecretVersion <String>] [-VaultId <String>]
60-
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
61-
```
62-
6349
### EnableViaJsonFilePath
6450
```
6551
Enable-AzFrontDoorCustomDomainHttps -FrontDoorName <String> -FrontendEndpointName <String>
@@ -205,7 +191,7 @@ Identity Parameter
205191
206192
```yaml
207193
Type: Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontDoorIdentity
208-
Parameter Sets: EnableViaIdentityFrontDoor, EnableViaIdentityFrontDoorExpanded
194+
Parameter Sets: EnableViaIdentityFrontDoor
209195
Aliases:
210196

211197
Required: True
@@ -235,7 +221,7 @@ Name of the Frontend endpoint which is unique within the Front Door.
235221
236222
```yaml
237223
Type: System.String
238-
Parameter Sets: Enable, EnableExpanded, EnableViaIdentityFrontDoor, EnableViaIdentityFrontDoorExpanded, EnableViaJsonFilePath, EnableViaJsonString
224+
Parameter Sets: Enable, EnableExpanded, EnableViaIdentityFrontDoor, EnableViaJsonFilePath, EnableViaJsonString
239225
Aliases:
240226

241227
Required: True
@@ -250,7 +236,7 @@ Identity Parameter
250236
251237
```yaml
252238
Type: Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontDoorIdentity
253-
Parameter Sets: EnableViaIdentity, EnableViaIdentityExpanded
239+
Parameter Sets: EnableViaIdentity
254240
Aliases:
255241

256242
Required: True
@@ -295,7 +281,7 @@ The minimum TLS version required from the clients to establish an SSL handshake
295281
296282
```yaml
297283
Type: System.String
298-
Parameter Sets: ByResourceIdWithVaultParameterSet, EnableExpanded, EnableViaIdentityExpanded, EnableViaIdentityFrontDoorExpanded
284+
Parameter Sets: ByResourceIdWithVaultParameterSet, EnableExpanded
299285
Aliases:
300286

301287
Required: False
@@ -355,7 +341,7 @@ The name of the Key Vault secret representing the full certificate PFX
355341
356342
```yaml
357343
Type: System.String
358-
Parameter Sets: ByResourceIdWithVaultParameterSet, EnableExpanded, EnableViaIdentityExpanded, EnableViaIdentityFrontDoorExpanded
344+
Parameter Sets: ByResourceIdWithVaultParameterSet, EnableExpanded
359345
Aliases:
360346

361347
Required: False
@@ -370,7 +356,7 @@ The version of the Key Vault secret representing the full certificate PFX
370356
371357
```yaml
372358
Type: System.String
373-
Parameter Sets: ByResourceIdWithVaultParameterSet, EnableExpanded, EnableViaIdentityExpanded, EnableViaIdentityFrontDoorExpanded
359+
Parameter Sets: ByResourceIdWithVaultParameterSet, EnableExpanded
374360
Aliases:
375361

376362
Required: False
@@ -401,7 +387,7 @@ Resource ID.
401387
402388
```yaml
403389
Type: System.String
404-
Parameter Sets: ByResourceIdWithVaultParameterSet, EnableExpanded, EnableViaIdentityExpanded, EnableViaIdentityFrontDoorExpanded
390+
Parameter Sets: ByResourceIdWithVaultParameterSet, EnableExpanded
405391
Aliases:
406392

407393
Required: False
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "da504079-e4ce-4e68-b97e-284654fbcf44"
2+
"generate_Id": "4ae3d56a-82fd-45f6-a635-d60e554db5c1"
33
}

src/FrontDoor/FrontDoor.sln

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestF
2323
EndProject
2424
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "FrontDoor.Autorest", "FrontDoor.Autorest", "{CCB5835C-B2B2-6D15-3546-15EE6FE0A6E7}"
2525
EndProject
26-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.FrontDoor", "..\..\generated\FrontDoor\FrontDoor.Autorest\Az.FrontDoor.csproj", "{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}"
26+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.FrontDoor", "..\..\generated\FrontDoor\FrontDoor.Autorest\Az.FrontDoor.csproj", "{21B2777D-4EA2-4025-BA20-A56FE1531992}"
2727
EndProject
2828
Global
2929
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -131,18 +131,18 @@ Global
131131
{CEE04FC4-EA9E-49F5-8E65-1BF927763971}.Release|x64.Build.0 = Release|Any CPU
132132
{CEE04FC4-EA9E-49F5-8E65-1BF927763971}.Release|x86.ActiveCfg = Release|Any CPU
133133
{CEE04FC4-EA9E-49F5-8E65-1BF927763971}.Release|x86.Build.0 = Release|Any CPU
134-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
135-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Debug|Any CPU.Build.0 = Debug|Any CPU
136-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Debug|x64.ActiveCfg = Debug|Any CPU
137-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Debug|x64.Build.0 = Debug|Any CPU
138-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Debug|x86.ActiveCfg = Debug|Any CPU
139-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Debug|x86.Build.0 = Debug|Any CPU
140-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Release|Any CPU.ActiveCfg = Release|Any CPU
141-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Release|Any CPU.Build.0 = Release|Any CPU
142-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Release|x64.ActiveCfg = Release|Any CPU
143-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Release|x64.Build.0 = Release|Any CPU
144-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Release|x86.ActiveCfg = Release|Any CPU
145-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E}.Release|x86.Build.0 = Release|Any CPU
134+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
135+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Debug|Any CPU.Build.0 = Debug|Any CPU
136+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Debug|x64.ActiveCfg = Debug|Any CPU
137+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Debug|x64.Build.0 = Debug|Any CPU
138+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Debug|x86.ActiveCfg = Debug|Any CPU
139+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Debug|x86.Build.0 = Debug|Any CPU
140+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Release|Any CPU.ActiveCfg = Release|Any CPU
141+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Release|Any CPU.Build.0 = Release|Any CPU
142+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Release|x64.ActiveCfg = Release|Any CPU
143+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Release|x64.Build.0 = Release|Any CPU
144+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Release|x86.ActiveCfg = Release|Any CPU
145+
{21B2777D-4EA2-4025-BA20-A56FE1531992}.Release|x86.Build.0 = Release|Any CPU
146146
EndGlobalSection
147147
GlobalSection(SolutionProperties) = preSolution
148148
HideSolutionNode = FALSE
@@ -154,7 +154,7 @@ Global
154154
{4A06E6FB-D5E9-48DF-9BFB-867FE814F47E} = {52103A11-029D-492B-87C7-22D39EF55958}
155155
{671E6476-CDED-43A3-AB46-1338DAB61409} = {52103A11-029D-492B-87C7-22D39EF55958}
156156
{31599FB7-7929-4E92-834F-A23C603A9116} = {52103A11-029D-492B-87C7-22D39EF55958}
157-
{2A27B2A4-3B69-47AC-BECF-FB90107AB65E} = {CCB5835C-B2B2-6D15-3546-15EE6FE0A6E7}
157+
{21B2777D-4EA2-4025-BA20-A56FE1531992} = {CCB5835C-B2B2-6D15-3546-15EE6FE0A6E7}
158158
EndGlobalSection
159159
GlobalSection(ExtensibilityGlobals) = postSolution
160160
SolutionGuid = {8030889A-062F-4BCC-8246-EC5BCEDCAF25}

src/FrontDoor/FrontDoor/Az.FrontDoor.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 2025/10/29
6+
# Generated on: 2025/11/3
77
#
88

99
@{

src/FrontDoor/FrontDoor/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
-->
2020
## Upcoming Release
2121

22-
* Migrated to autorest V4
22+
* Migrated to AutoRest PowerShell V4
2323

2424
## Version 1.13.0
2525
* Added support for Captcha

src/FrontDoor/FrontDoor/help/Enable-AzFrontDoorCustomDomainHttps.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,12 @@ Enable-AzFrontDoorCustomDomainHttps -FrontendEndpointName <String> -FrontDoorInp
4848
[-Confirm] [<CommonParameters>]
4949
```
5050

51-
### EnableViaIdentityFrontDoorExpanded
52-
```
53-
Enable-AzFrontDoorCustomDomainHttps -FrontendEndpointName <String> -FrontDoorInputObject <IFrontDoorIdentity>
54-
[-MinimumTlsVersion <String>] [-SecretName <String>] [-SecretVersion <String>] [-VaultId <String>]
55-
[-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-PassThru] [-WhatIf]
56-
[-Confirm] [<CommonParameters>]
57-
```
58-
5951
### EnableViaIdentity
6052
```
6153
Enable-AzFrontDoorCustomDomainHttps -InputObject <IFrontDoorIdentity> [-DefaultProfile <PSObject>] [-AsJob]
6254
[-NoWait] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
6355
```
6456

65-
### EnableViaIdentityExpanded
66-
```
67-
Enable-AzFrontDoorCustomDomainHttps -InputObject <IFrontDoorIdentity> [-MinimumTlsVersion <String>]
68-
[-SecretName <String>] [-SecretVersion <String>] [-VaultId <String>] [-DefaultProfile <PSObject>] [-AsJob]
69-
[-NoWait] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
70-
```
71-
7257
### ByResourceIdWithVaultParameterSet
7358
```
7459
Enable-AzFrontDoorCustomDomainHttps [-MinimumTlsVersion <String>] [-SecretName <String>]
@@ -207,7 +192,7 @@ Identity Parameter
207192
208193
```yaml
209194
Type: Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontDoorIdentity
210-
Parameter Sets: EnableViaIdentityFrontDoor, EnableViaIdentityFrontDoorExpanded
195+
Parameter Sets: EnableViaIdentityFrontDoor
211196
Aliases:
212197

213198
Required: True
@@ -237,7 +222,7 @@ Name of the Frontend endpoint which is unique within the Front Door.
237222
238223
```yaml
239224
Type: System.String
240-
Parameter Sets: EnableExpanded, Enable, EnableViaJsonFilePath, EnableViaJsonString, EnableViaIdentityFrontDoor, EnableViaIdentityFrontDoorExpanded
225+
Parameter Sets: EnableExpanded, Enable, EnableViaJsonFilePath, EnableViaJsonString, EnableViaIdentityFrontDoor
241226
Aliases:
242227

243228
Required: True
@@ -252,7 +237,7 @@ Identity Parameter
252237
253238
```yaml
254239
Type: Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IFrontDoorIdentity
255-
Parameter Sets: EnableViaIdentity, EnableViaIdentityExpanded
240+
Parameter Sets: EnableViaIdentity
256241
Aliases:
257242

258243
Required: True
@@ -297,7 +282,7 @@ The minimum TLS version required from the clients to establish an SSL handshake
297282
298283
```yaml
299284
Type: System.String
300-
Parameter Sets: EnableExpanded, EnableViaIdentityFrontDoorExpanded, EnableViaIdentityExpanded, ByResourceIdWithVaultParameterSet
285+
Parameter Sets: EnableExpanded, ByResourceIdWithVaultParameterSet
301286
Aliases:
302287

303288
Required: False
@@ -357,7 +342,7 @@ The name of the Key Vault secret representing the full certificate PFX
357342
358343
```yaml
359344
Type: System.String
360-
Parameter Sets: EnableExpanded, EnableViaIdentityFrontDoorExpanded, EnableViaIdentityExpanded, ByResourceIdWithVaultParameterSet
345+
Parameter Sets: EnableExpanded, ByResourceIdWithVaultParameterSet
361346
Aliases:
362347

363348
Required: False
@@ -372,7 +357,7 @@ The version of the Key Vault secret representing the full certificate PFX
372357
373358
```yaml
374359
Type: System.String
375-
Parameter Sets: EnableExpanded, EnableViaIdentityFrontDoorExpanded, EnableViaIdentityExpanded, ByResourceIdWithVaultParameterSet
360+
Parameter Sets: EnableExpanded, ByResourceIdWithVaultParameterSet
376361
Aliases:
377362

378363
Required: False
@@ -403,7 +388,7 @@ Resource ID.
403388
404389
```yaml
405390
Type: System.String
406-
Parameter Sets: EnableExpanded, EnableViaIdentityFrontDoorExpanded, EnableViaIdentityExpanded, ByResourceIdWithVaultParameterSet
391+
Parameter Sets: EnableExpanded, ByResourceIdWithVaultParameterSet
407392
Aliases:
408393

409394
Required: False

0 commit comments

Comments
 (0)