Skip to content

Commit a294ee6

Browse files
committed
Rename storage cmdlets
1 parent ae763a3 commit a294ee6

9 files changed

+9
-0
lines changed

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/GetAzureStorageAccount.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
namespace Microsoft.Azure.Commands.Management.Storage
2121
{
2222
[Cmdlet(VerbsCommon.Get, StorageAccountNounStr), OutputType(typeof(PSStorageAccount))]
23+
[CliCommandAlias("storage;account;ls")]
2324
public class GetAzureStorageAccountCommand : StorageAccountBaseCmdlet
2425
{
2526
[Parameter(

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/GetAzureStorageAccountKey.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Management.Storage
2020
{
2121
[Cmdlet(VerbsCommon.Get, StorageAccountKeyNounStr), OutputType(typeof(StorageAccountKeys))]
22+
[CliCommandAlias("storage;key;ls")]
2223
public class GetAzureStorageAccountKeyCommand : StorageAccountBaseCmdlet
2324
{
2425
[Parameter(

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/GetAzureStorageAccountNameAvailability.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Management.Storage.StorageAccount
2020
{
2121
[Cmdlet(VerbsCommon.Get, StorageAccountNameAvailabilityStr), OutputType(typeof(CheckNameAvailabilityResult))]
22+
[CliCommandAlias("storage;name;test")]
2223
public class GetAzureStorageAccountNameAvailability : StorageAccountBaseCmdlet
2324
{
2425
[Parameter(

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/GetAzureStorageUsage.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Management.Storage.StorageAccount
2020
{
2121
[Cmdlet(VerbsCommon.Get, StorageUsageNounStr), OutputType(typeof(PSUsage))]
22+
[CliCommandAlias("storage;usage;ls")]
2223
public class GetAzureStorageUsageCommand : StorageAccountBaseCmdlet
2324
{
2425
protected override void ProcessRecord()

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/NewAzureStorageAccount.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
namespace Microsoft.Azure.Commands.Management.Storage
2424
{
2525
[Cmdlet(VerbsCommon.New, StorageAccountNounStr), OutputType(typeof(PSStorageAccount))]
26+
[CliCommandAlias("storage;account;create")]
2627
public class NewAzureStorageAccountCommand : StorageAccountBaseCmdlet
2728
{
2829
[Parameter(

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/NewAzureStorageAccountKey.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
namespace Microsoft.Azure.Commands.Management.Storage
2121
{
2222
[Cmdlet(VerbsCommon.New, StorageAccountKeyNounStr), OutputType(typeof(StorageAccountKeys))]
23+
[CliCommandAlias("storage;key;create")]
2324
public class NewAzureStorageAccountKeyCommand : StorageAccountBaseCmdlet
2425
{
2526
private const string Key1 = "Key1";

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/RemoveAzureStorageAccount.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace Microsoft.Azure.Commands.Management.Storage
2121
/// Lists all storage services underneath the subscription.
2222
/// </summary>
2323
[Cmdlet(VerbsCommon.Remove, StorageAccountNounStr)]
24+
[CliCommandAlias("storage;account;rm")]
2425
public class RemoveAzureStorageAccountCommand : StorageAccountBaseCmdlet
2526
{
2627
[Parameter(

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/SetAzureRmCurrentStorageAccount.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace Microsoft.Azure.Commands.Management.Storage
2222
{
2323
[Cmdlet(VerbsCommon.Set, "AzureRmCurrentStorageAccount", DefaultParameterSetName=ResourceNameParameterSet),
2424
OutputType(typeof(string))]
25+
[CliCommandAlias("storage;account;current;set")]
2526
public class SetAzureRmCurrentStorageAccount : StorageAccountBaseCmdlet
2627
{
2728
private const string StorageContextParameterSet = "UsingStorageContext";

src/CLU/Microsoft.Azure.Commands.Management.Storage/StorageAccount/SetAzureStorageAccount.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Microsoft.Azure.Commands.Management.Storage
2626
/// Lists all storage services underneath the subscription.
2727
/// </summary>
2828
[Cmdlet(VerbsCommon.Set, StorageAccountNounStr, DefaultParameterSetName = UpdateAccountTypeParamSet), OutputType(typeof(StorageModels.StorageAccount))]
29+
[CliCommandAlias("storage;account;set")]
2930
public class SetAzureStorageAccountCommand : StorageAccountBaseCmdlet
3031
{
3132
protected const string UpdateAccountTypeParamSet = "UpdateAccountType";

0 commit comments

Comments
 (0)