Skip to content

Commit 2869b97

Browse files
Marty-Mewyunchi-ms
andauthored
Fixed Ambiguous Positional Argument for (#23888)
* Fixed Ambiguous Positional Argument for * Adding breaking changes exception file for Az.Websites --------- Co-authored-by: Yunchi Wang <[email protected]>
1 parent 81e6ec2 commit 2869b97

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/Websites/Websites/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Fixed Ambiguous Positional Argument for `New-AzWebAppSlot`
2122

2223
## Version 3.1.2
2324
* Adjusted `Publish-AzWebApp` default behavior

src/Websites/Websites/Cmdlets/DeploymentSlots/NewAzureWebAppSlot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public class NewAzureWebAppSlotCmdlet : WebAppBaseClientCmdLet
7373
[ValidateNotNullOrEmpty]
7474
public string AseName { get; set; }
7575

76-
[Parameter(Position = 9, Mandatory = false, HelpMessage = "Resource group of Application Service environment")]
76+
[Parameter(Position = 10, Mandatory = false, HelpMessage = "Resource group of Application Service environment")]
7777
[ValidateNotNullOrEmpty]
7878
public string AseResourceGroupName { get; set; }
7979

src/Websites/Websites/help/New-AzWebAppSlot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Parameter Sets: (All)
9494
Aliases:
9595

9696
Required: False
97-
Position: 9
97+
Position: 10
9898
Default value: None
9999
Accept pipeline input: False
100100
Accept wildcard characters: False
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"Module","ClassName","Target","Severity","ProblemId","Description","Remediation"
2+
"Az.Websites","Microsoft.Azure.Commands.WebApps.Cmdlets.DeploymentSlots.NewAzureWebAppSlotCmdlet","New-AzWebAppSlot","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzWebAppSlot' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzWebAppSlot'."

0 commit comments

Comments
 (0)