Skip to content

Commit fc33f7f

Browse files
committed
Merge pull request Azure#1084 from jianghaolu/rename
Fix badly named cmdlets in Profile and Keyvault
2 parents d1f225b + 2cc2548 commit fc33f7f

14 files changed

+32
-32
lines changed

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace Microsoft.Azure.Commands.KeyVault
3434
/// 4 .Create a HSM or software key by importing key material with given key
3535
/// attributes
3636
/// </summary>
37-
[Cmdlet(VerbsCommon.Add, "AzureRmKeyVaultKey",
37+
[Cmdlet(VerbsCommon.Add, "AzureKeyVaultKey",
3838
DefaultParameterSetName = CreateParameterSet,
3939
HelpUri = Constants.KeyVaultHelpUri)]
4040
[OutputType(typeof(KeyBundle))]

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.KeyVault
2323
/// <summary>
2424
/// Requests that a backup of the specified key be downloaded and stored to a file
2525
/// </summary>
26-
[Cmdlet(VerbsData.Backup, "AzureRmKeyVaultKey", HelpUri = Constants.KeyVaultHelpUri)]
26+
[Cmdlet(VerbsData.Backup, "AzureKeyVaultKey", HelpUri = Constants.KeyVaultHelpUri)]
2727
[OutputType(typeof(String))]
2828
public class BackupAzureKeyVaultKey : KeyVaultCmdletBase
2929
{

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
namespace Microsoft.Azure.Commands.KeyVault
2323
{
24-
[Cmdlet(VerbsCommon.Get, "AzureRmKeyVaultKey",
24+
[Cmdlet(VerbsCommon.Get, "AzureKeyVaultKey",
2525
DefaultParameterSetName = ByVaultNameParameterSet,
2626
HelpUri = Constants.KeyVaultHelpUri)]
2727
[OutputType(typeof(List<KeyIdentityItem>), typeof(KeyBundle))]

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
namespace Microsoft.Azure.Commands.KeyVault
2323
{
24-
[Cmdlet(VerbsCommon.Get, "AzureRmKeyVaultSecret",
24+
[Cmdlet(VerbsCommon.Get, "AzureKeyVaultSecret",
2525
DefaultParameterSetName = ByVaultNameParameterSet,
2626
HelpUri = Constants.KeyVaultHelpUri)]
2727
[OutputType(typeof(List<SecretIdentityItem>), typeof(Secret))]

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace Microsoft.Azure.Commands.KeyVault
2222
{
23-
[Cmdlet(VerbsCommon.Remove, "AzureRmKeyVaultKey",
23+
[Cmdlet(VerbsCommon.Remove, "AzureKeyVaultKey",
2424
SupportsShouldProcess = true,
2525
ConfirmImpact = ConfirmImpact.High,
2626
HelpUri = Constants.KeyVaultHelpUri)]

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace Microsoft.Azure.Commands.KeyVault
2222
{
23-
[Cmdlet(VerbsCommon.Remove, "AzureRmKeyVaultSecret",
23+
[Cmdlet(VerbsCommon.Remove, "AzureKeyVaultSecret",
2424
SupportsShouldProcess = true,
2525
ConfirmImpact = ConfirmImpact.High,
2626
HelpUri = Constants.KeyVaultHelpUri)]

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.KeyVault
2323
/// <summary>
2424
/// Restores the backup key into a vault
2525
/// </summary>
26-
[Cmdlet(VerbsData.Restore, "AzureRmKeyVaultKey", HelpUri = Constants.KeyVaultHelpUri)]
26+
[Cmdlet(VerbsData.Restore, "AzureKeyVaultKey", HelpUri = Constants.KeyVaultHelpUri)]
2727
[OutputType(typeof(KeyBundle))]
2828
public class RestoreAzureKeyVaultKey : KeyVaultCmdletBase
2929
{

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKeyAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.KeyVault
2323
/// Update attribute of a key vault key.
2424
/// </summary>
2525
[Alias("Set-AzureKeyVaultKey")]
26-
[Cmdlet(VerbsCommon.Set, "AzureRmKeyVaultKeyAttribute", HelpUri = Constants.KeyVaultHelpUri)]
26+
[Cmdlet(VerbsCommon.Set, "AzureKeyVaultKeyAttribute", HelpUri = Constants.KeyVaultHelpUri)]
2727
[OutputType(typeof(KeyBundle))]
2828
public class SetAzureKeyVaultKeyAttribute : KeyVaultCmdletBase
2929
{

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace Microsoft.Azure.Commands.KeyVault
2222
{
23-
[Cmdlet(VerbsCommon.Set, "AzureRmKeyVaultSecret", HelpUri = Constants.KeyVaultHelpUri)]
23+
[Cmdlet(VerbsCommon.Set, "AzureKeyVaultSecret", HelpUri = Constants.KeyVaultHelpUri)]
2424
[OutputType(typeof(Secret))]
2525
public class SetAzureKeyVaultSecret : KeyVaultCmdletBase
2626
{

src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecretAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
namespace Microsoft.Azure.Commands.KeyVault
2222
{
23-
[Cmdlet(VerbsCommon.Set, "AzureRmKeyVaultSecretAttribute", HelpUri = Constants.KeyVaultHelpUri)]
23+
[Cmdlet(VerbsCommon.Set, "AzureKeyVaultSecretAttribute", HelpUri = Constants.KeyVaultHelpUri)]
2424
[OutputType(typeof(Secret))]
2525
public class SetAzureKeyVaultSecretAttribute : KeyVaultCmdletBase
2626
{

src/ResourceManager/Profile/Commands.Profile/Context/SetAzureRMContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Profile
2323
/// <summary>
2424
/// Cmdlet to change current Azure context.
2525
/// </summary>
26-
[Cmdlet(VerbsCommon.Set, "AzureRMContext", DefaultParameterSetName =TenantIdAndSubscriptionIdParameterSet)]
26+
[Cmdlet(VerbsCommon.Set, "AzureRmContext", DefaultParameterSetName =TenantIdAndSubscriptionIdParameterSet)]
2727
[Alias("Select-AzureRmSubscription")]
2828
[OutputType(typeof(PSAzureContext))]
2929
public class SetAzureRMContextCommand : AzureRMCmdlet

src/ResourceManager/Profile/Commands.Profile/Microsoft.Azure.Commands.Profile.dll-Help.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,29 +1760,29 @@ Subscription Name: Contoso Subscription 1</maml:para>
17601760
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
17611761
<!--Generated by PS Cmdlet Help Editor-->
17621762
<command:details>
1763-
<command:name>Save-AzureRMProfile</command:name>
1763+
<command:name>Save-AzureRmProfile</command:name>
17641764
<maml:description>
17651765
<maml:para>Save the current authentication information for use in other PowerShell sessions.</maml:para>
17661766
</maml:description>
17671767
<maml:copyright>
17681768
<maml:para />
17691769
</maml:copyright>
17701770
<command:verb>Save</command:verb>
1771-
<command:noun>AzureRMProfile</command:noun>
1771+
<command:noun>AzureRmProfile</command:noun>
17721772
<dev:version />
17731773
</command:details>
17741774
<maml:description>
17751775
<maml:para>Save the current authentication information for use in other PowerShell sessions.</maml:para>
17761776
</maml:description>
17771777
<command:syntax>
17781778
<command:syntaxItem>
1779-
<maml:name>Save-AzureRMProfile</maml:name>
1779+
<maml:name>Save-AzureRmProfile</maml:name>
17801780
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0">
17811781
<maml:name>Profile</maml:name>
17821782
<maml:description>
17831783
<maml:para>If provided, saves the given profile to the provided path. If no profile is provided, the currently active profile will be saved.</maml:para>
17841784
</maml:description>
1785-
<command:parameterValue required="true" variableLength="false">AzureRMProfile</command:parameterValue>
1785+
<command:parameterValue required="true" variableLength="false">AzureRmProfile</command:parameterValue>
17861786
</command:parameter>
17871787
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
17881788
<maml:name>Path</maml:name>
@@ -1813,9 +1813,9 @@ Subscription Name: Contoso Subscription 1</maml:para>
18131813
<maml:description>
18141814
<maml:para>If provided, saves the given profile to the provided path. If no profile is provided, the currently active profile will be saved.</maml:para>
18151815
</maml:description>
1816-
<command:parameterValue required="true" variableLength="false">AzureRMProfile</command:parameterValue>
1816+
<command:parameterValue required="true" variableLength="false">AzureRmProfile</command:parameterValue>
18171817
<dev:type>
1818-
<maml:name>AzureRMProfile</maml:name>
1818+
<maml:name>AzureRmProfile</maml:name>
18191819
<maml:uri />
18201820
</dev:type>
18211821
<dev:defaultValue>
@@ -1919,29 +1919,29 @@ Subscription Name: Contoso Subscription 1</maml:para>
19191919
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
19201920
<!--Generated by PS Cmdlet Help Editor-->
19211921
<command:details>
1922-
<command:name>Select-AzureRMProfile</command:name>
1922+
<command:name>Select-AzureRmProfile</command:name>
19231923
<maml:description>
19241924
<maml:para>Load authentication information from the given file. This sets the current context and azure environment metadata used by all cmdlets in the current session.</maml:para>
19251925
</maml:description>
19261926
<maml:copyright>
19271927
<maml:para />
19281928
</maml:copyright>
19291929
<command:verb>Select</command:verb>
1930-
<command:noun>AzureRMProfile</command:noun>
1930+
<command:noun>AzureRmProfile</command:noun>
19311931
<dev:version />
19321932
</command:details>
19331933
<maml:description>
19341934
<maml:para>Load authentication information from the given file. This sets the current context and azure environment metadata used by all cmdlets in the current session.</maml:para>
19351935
</maml:description>
19361936
<command:syntax>
19371937
<command:syntaxItem>
1938-
<maml:name>Select-AzureRMProfile</maml:name>
1938+
<maml:name>Select-AzureRmProfile</maml:name>
19391939
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0">
19401940
<maml:name>Profile</maml:name>
19411941
<maml:description>
19421942
<maml:para>The profile to select as the current profile in the given session.</maml:para>
19431943
</maml:description>
1944-
<command:parameterValue required="true" variableLength="false">AzureRMProfile</command:parameterValue>
1944+
<command:parameterValue required="true" variableLength="false">AzureRmProfile</command:parameterValue>
19451945
</command:parameter>
19461946
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
19471947
<maml:name>InformationAction</maml:name>
@@ -1959,7 +1959,7 @@ Subscription Name: Contoso Subscription 1</maml:para>
19591959
</command:parameter>
19601960
</command:syntaxItem>
19611961
<command:syntaxItem>
1962-
<maml:name>Select-AzureRMProfile</maml:name>
1962+
<maml:name>Select-AzureRmProfile</maml:name>
19631963
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="0">
19641964
<maml:name>Path</maml:name>
19651965
<maml:description>
@@ -1989,9 +1989,9 @@ Subscription Name: Contoso Subscription 1</maml:para>
19891989
<maml:description>
19901990
<maml:para>The profile to select as the current profile in the given session.</maml:para>
19911991
</maml:description>
1992-
<command:parameterValue required="true" variableLength="false">AzureRMProfile</command:parameterValue>
1992+
<command:parameterValue required="true" variableLength="false">AzureRmProfile</command:parameterValue>
19931993
<dev:type>
1994-
<maml:name>AzureRMProfile</maml:name>
1994+
<maml:name>AzureRmProfile</maml:name>
19951995
<maml:uri />
19961996
</dev:type>
19971997
<dev:defaultValue>
@@ -2085,23 +2085,23 @@ Subscription Name: Contoso Subscription 1</maml:para>
20852085
<command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
20862086
<!--Generated by PS Cmdlet Help Editor-->
20872087
<command:details>
2088-
<command:name>Set-AzureRMContext</command:name>
2088+
<command:name>Set-AzureRmContext</command:name>
20892089
<maml:description>
20902090
<maml:para>Set the tenant, subscription, and environment to be used by cmdlets in this session.</maml:para>
20912091
</maml:description>
20922092
<maml:copyright>
20932093
<maml:para />
20942094
</maml:copyright>
20952095
<command:verb>Set</command:verb>
2096-
<command:noun>AzureRMContext</command:noun>
2096+
<command:noun>AzureRmContext</command:noun>
20972097
<dev:version />
20982098
</command:details>
20992099
<maml:description>
21002100
<maml:para>Set authentication information for cmdlets executed in the current session. Includes subscription, tenant, and environment information.</maml:para>
21012101
</maml:description>
21022102
<command:syntax>
21032103
<command:syntaxItem>
2104-
<maml:name>Set-AzureRMContext</maml:name>
2104+
<maml:name>Set-AzureRmContext</maml:name>
21052105
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
21062106
<maml:name>TenantId</maml:name>
21072107
<maml:description>
@@ -2132,7 +2132,7 @@ Subscription Name: Contoso Subscription 1</maml:para>
21322132
</command:parameter>
21332133
</command:syntaxItem>
21342134
<command:syntaxItem>
2135-
<maml:name>Set-AzureRMContext</maml:name>
2135+
<maml:name>Set-AzureRmContext</maml:name>
21362136
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
21372137
<maml:name>TenantId</maml:name>
21382138
<maml:description>
@@ -2156,7 +2156,7 @@ Subscription Name: Contoso Subscription 1</maml:para>
21562156
</command:parameter>
21572157
</command:syntaxItem>
21582158
<command:syntaxItem>
2159-
<maml:name>Set-AzureRMContext</maml:name>
2159+
<maml:name>Set-AzureRmContext</maml:name>
21602160
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
21612161
<maml:name>SubscriptionId</maml:name>
21622162
<maml:description>
@@ -2180,7 +2180,7 @@ Subscription Name: Contoso Subscription 1</maml:para>
21802180
</command:parameter>
21812181
</command:syntaxItem>
21822182
<command:syntaxItem>
2183-
<maml:name>Set-AzureRMContext</maml:name>
2183+
<maml:name>Set-AzureRmContext</maml:name>
21842184
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="named">
21852185
<maml:name>Tenant</maml:name>
21862186
<maml:description>

src/ResourceManager/Profile/Commands.Profile/Profile/SaveAzureRMProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Profile
2525
/// <summary>
2626
/// Saves Microsoft Azure profile.
2727
/// </summary>
28-
[Cmdlet(VerbsData.Save, "AzureRMProfile"), OutputType(typeof(PSAzureProfile))]
28+
[Cmdlet(VerbsData.Save, "AzureRmProfile"), OutputType(typeof(PSAzureProfile))]
2929
public class SaveAzureRMProfileCommand : AzureRMCmdlet
3030
{
3131
[Parameter(Mandatory = false, Position = 0, ValueFromPipelineByPropertyName = true)]

src/ResourceManager/Profile/Commands.Profile/Profile/SelectAzureRMProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Profile
2525
/// <summary>
2626
/// Selects Microsoft Azure profile.
2727
/// </summary>
28-
[Cmdlet(VerbsCommon.Select, "AzureRMProfile"), OutputType(typeof(PSAzureProfile))]
28+
[Cmdlet(VerbsCommon.Select, "AzureRmProfile"), OutputType(typeof(PSAzureProfile))]
2929
public class SelectAzureRMProfileCommand : AzureRMCmdlet
3030
{
3131
internal const string InMemoryProfileParameterSet = "InMemoryProfile";

0 commit comments

Comments
 (0)