Skip to content

Commit fd6cb17

Browse files
[AppServices]: Fix #16646 : Marked New-AzWebAppContainerPSSession as obsolete (#17303)
* Fix #17184 : `Get-AzWebApp` to return SiteConfig details in the response when requested the WebApps under subscreption * Revert "Fix #17184 : `Get-AzWebApp` to return SiteConfig details in the response when requested the WebApps under subscreption" This reverts commit 96a4d28. * Fix #16646 - Updated 'New-AzWebAppContainerPSSession' with CmdletDeprecation Attribute Co-authored-by: Yeming Liu <[email protected]>
1 parent a1798a9 commit fd6cb17

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
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+
* Updated 'New-AzWebAppContainerPSSession' with CmdletDeprecation Attribute [#16646]
2122
* Updated `Restore-AzDeletedWebApp` to fix issue that prevents the cmdlet from working on hosts with a locale is anything different from `en-US`
2223

2324
## Version 2.11.0

src/Websites/Websites/Cmdlets/WebApps/NewAzureRmWebAppContainerPSSession.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
// ----------------------------------------------------------------------------------
1414
using System.Management.Automation;
1515
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
16+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
1617
using Microsoft.WindowsAzure.Commands.Utilities.Common;
1718
namespace Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps
1819
{
1920
/// <summary>
2021
/// this commandlet will create remote ps session with site
2122
/// </summary>
23+
[CmdletDeprecation()]
2224
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "WebAppContainerPSSession", DefaultParameterSetName = ParameterSet1Name, SupportsShouldProcess = true)]
2325
[OutputType(typeof(System.Management.Automation.Runspaces.PSSession))]
2426
public class NewAzureRmWebAppContainerPSSession : WebAppBaseCmdlet

0 commit comments

Comments
 (0)