Skip to content

Commit 4ae27fe

Browse files
authored
Merge pull request #8535 from gapreste/gapreste/add-deprecation-msgs
Add deprecation message to AddAzureASAccount cmdlet.
2 parents cd0b20f + 631e31b commit 4ae27fe

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/AnalysisServices/AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@
2323
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
2424
using Microsoft.WindowsAzure.Commands.Common;
2525
using System;
26+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2627

2728
namespace Microsoft.Azure.Commands.AnalysisServices.Dataplane
2829
{
2930
/// <summary>
3031
/// Cmdlet to log into an Analysis Services environment
3132
/// </summary>
33+
[CmdletDeprecation("2.0.0")]
3234
[Cmdlet("Add", ResourceManager.Common.AzureRMConstants.AzurePrefix + "AnalysisServicesAccount", DefaultParameterSetName = "UserParameterSetName", SupportsShouldProcess =true)]
3335
[Alias("Login-AzureAsAccount", "Login-AzAsAccount")]
3436
[OutputType(typeof(AsAzureProfile))]

src/AnalysisServices/AnalysisServices/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Deprecated AddAzureASAccount cmdlet
2122

2223
## Version 1.0.1
2324
* Release with updated Authentication dependency
2425

2526
## Version 1.0.0
26-
* General availability of `Az.AnalysisServices` module
27+
* General availability of `Az.AnalysisServices` module

0 commit comments

Comments
 (0)