Skip to content

Commit ae763a3

Browse files
committed
rename compute cmdlets
1 parent 0732135 commit ae763a3

23 files changed

+23
-23
lines changed

src/CLU/Microsoft.Azure.Commands.Compute/AvailabilitySets/NewAzureAvailabilitySetCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Compute
2323
{
2424
[Cmdlet(VerbsCommon.New, ProfileNouns.AvailabilitySet)]
2525
[OutputType(typeof(PSAvailabilitySet))]
26-
[CliCommandAlias("vm;availabilityset;new")]
26+
[CliCommandAlias("vm;availabilityset;create")]
2727
public class NewAzureAvailabilitySetCommand : AvailabilitySetBaseCmdlet
2828
{
2929
[Parameter(

src/CLU/Microsoft.Azure.Commands.Compute/Extension/CustomScript/GetAzureVMCustomScriptExtensionCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Compute
2727
DefaultParameterSetName = GetCustomScriptExtensionParamSetName),
2828
OutputType(
2929
typeof(VirtualMachineCustomScriptExtensionContext))]
30-
[CliCommandAlias("vm;customscriptextension;ls")]
30+
[CliCommandAlias("vm;extension;script;ls")]
3131
public class GetAzureVMCustomScriptExtensionCommand : VirtualMachineExtensionBaseCmdlet
3232
{
3333
protected const string GetCustomScriptExtensionParamSetName = "GetCustomScriptExtension";

src/CLU/Microsoft.Azure.Commands.Compute/Extension/CustomScript/RemoveAzureVMCustomScriptExtensionCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Compute
2121
[Cmdlet(
2222
VerbsCommon.Remove,
2323
ProfileNouns.VirtualMachineCustomScriptExtension)]
24-
[CliCommandAlias("vm;customscriptextension;rm")]
24+
[CliCommandAlias("vm;extension;script;rm")]
2525
public class RemoveAzureVMCustomScriptExtensionCommand : VirtualMachineExtensionBaseCmdlet
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Compute/Extension/CustomScript/SetAzureVMCustomScriptExtensionCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace Microsoft.Azure.Commands.Compute
3434
VerbsCommon.Set,
3535
ProfileNouns.VirtualMachineCustomScriptExtension,
3636
DefaultParameterSetName = SetCustomScriptExtensionByContainerBlobsParamSetName)]
37-
[CliCommandAlias("vm;customscriptextension;set")]
37+
[CliCommandAlias("vm;extension;script;set")]
3838
public class SetAzureVMCustomScriptExtensionCommand : VirtualMachineExtensionBaseCmdlet
3939
{
4040
protected const string SetCustomScriptExtensionByContainerBlobsParamSetName = "SetCustomScriptExtensionByContainerAndFileNames";

src/CLU/Microsoft.Azure.Commands.Compute/Extension/VMAccess/GetAzureVMAccessExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Compute
2626
VerbsCommon.Get,
2727
ProfileNouns.VirtualMachineAccessExtension),
2828
OutputType(typeof(VirtualMachineAccessExtensionContext))]
29-
[CliCommandAlias("vm;accessextension;ls")]
29+
[CliCommandAlias("vm;extension;access;ls")]
3030
public class GetAzureVMAccessExtensionCommand : VirtualMachineExtensionBaseCmdlet
3131
{
3232
[Parameter(

src/CLU/Microsoft.Azure.Commands.Compute/Extension/VMAccess/RemoveAzureVMAccessExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Compute
2121
[Cmdlet(
2222
VerbsCommon.Remove,
2323
ProfileNouns.VirtualMachineAccessExtension)]
24-
[CliCommandAlias("vm;accessextension;rm")]
24+
[CliCommandAlias("vm;extension;access;rm")]
2525
public class RemoveAzureVMAccessExtensionCommand : VirtualMachineExtensionBaseCmdlet
2626
{
2727
[Parameter(

src/CLU/Microsoft.Azure.Commands.Compute/Extension/VMAccess/SetAzureVMAccessExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Compute
2525
[Cmdlet(
2626
VerbsCommon.Set,
2727
ProfileNouns.VirtualMachineAccessExtension)]
28-
[CliCommandAlias("vm;accessextension;set")]
28+
[CliCommandAlias("vm;extension;access;set")]
2929
public class SetAzureVMAccessExtensionCommand : VirtualMachineExtensionBaseCmdlet
3030
{
3131
private const string userNameKey = "UserName";

src/CLU/Microsoft.Azure.Commands.Compute/StorageServices/AddAzureVhdCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Compute.StorageServices
2828
/// Uploads a vhd as fixed disk format vhd to a blob in Microsoft Azure Storage
2929
/// </summary>
3030
[Cmdlet(VerbsCommon.Add, ProfileNouns.Vhd), OutputType(typeof(VhdUploadContext))]
31-
[CliCommandAlias("vhd;add")]
31+
[CliCommandAlias("vm;vhd;add")]
3232
public class AddAzureVhdCommand : ComputeClientBaseCmdlet
3333
{
3434
private const int DefaultNumberOfUploaderThreads = 8;

src/CLU/Microsoft.Azure.Commands.Compute/StorageServices/SaveAzureVhdCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Microsoft.Azure.Commands.Compute.StorageServices
2525
{
2626
[Cmdlet(VerbsData.Save, ProfileNouns.Vhd), OutputType(typeof(VhdDownloadContext))]
27-
[CliCommandAlias("vhd;save")]
27+
[CliCommandAlias("vm;vhd;save")]
2828
public class SaveAzureVhdCommand : ComputeClientBaseCmdlet
2929
{
3030
private const int DefaultNumberOfUploaderThreads = 8;

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/AddAzureVMAdditionalUnattendContentCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.Compute
3030
ProfileNouns.AdditionalUnattendContent),
3131
OutputType(
3232
typeof(PSVirtualMachine))]
33-
[CliCommandAlias("vm;additional;unattend;content;add")]
33+
[CliCommandAlias("vm;config;additionalunattendcontent;add")]
3434
public class NewAzureAdditionalUnattendContentCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3535
{
3636
private const string defaultComponentName = "Microsoft-Windows-Shell-Setup";

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/AddAzureVMDataDiskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Compute
2626
ProfileNouns.DataDisk),
2727
OutputType(
2828
typeof(PSVirtualMachine))]
29-
[CliCommandAlias("vm;datadisk;add")]
29+
[CliCommandAlias("vm;config;datadisk;add")]
3030
public class AddAzureVMDataDiskCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3131
{
3232
[Alias("VMProfile")]

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/AddAzureVMNetworkInterfaceCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.Compute
3030
DefaultParameterSetName = NicIdParamSetName),
3131
OutputType(
3232
typeof(PSVirtualMachine))]
33-
[CliCommandAlias("vm;network;interface;add")]
33+
[CliCommandAlias("vm;config;network;interface;add")]
3434
public class AddAzureVMNetworkInterfaceCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3535
{
3636
protected const string NicIdParamSetName = "GetNicFromNicId";

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/AddAzureVMSecretCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.Compute
3030
ProfileNouns.VaultSecretGroup),
3131
OutputType(
3232
typeof(PSVirtualMachine))]
33-
[CliCommandAlias("vm;secret;add")]
33+
[CliCommandAlias("vm;config;secret;add")]
3434
public class NewAzureVaultSecretGroupCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3535
{
3636
[Alias("VMProfile")]

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/AddAzureVMSshPublicKeyCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.Compute
3030
ProfileNouns.SshPublicKey),
3131
OutputType(
3232
typeof(PSVirtualMachine))]
33-
[CliCommandAlias("vm;ssh;public;key;add")]
33+
[CliCommandAlias("vm;config;ssh;public;key;add")]
3434
public class NewAzureSshPublicKeyCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3535
{
3636
[Alias("VMProfile")]

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/NewAzureVMConfigCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Compute
2525
ProfileNouns.VirtualMachineConfig),
2626
OutputType(
2727
typeof(PSVirtualMachine))]
28-
[CliCommandAlias("vm;config;new")]
28+
[CliCommandAlias("vm;config;create")]
2929
public class NewAzureVMConfigCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3030
{
3131
[Alias("ResourceName", "Name")]

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/RemoveAzureVMDataDiskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.Compute
2626
ProfileNouns.DataDisk),
2727
OutputType(
2828
typeof(PSVirtualMachine))]
29-
[CliCommandAlias("vm;datadisk;rm")]
29+
[CliCommandAlias("vm;config;datadisk;rm")]
3030
public class RemoveAzureVMDataDiskCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3131
{
3232
[Alias("VMProfile")]

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/RemoveAzureVMNetworkInterfaceCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.Compute
2929
ProfileNouns.NetworkInterface),
3030
OutputType(
3131
typeof(PSVirtualMachine))]
32-
[CliCommandAlias("vm;network;interface;rm")]
32+
[CliCommandAlias("vm;config;network;interface;rm")]
3333
public class RemoveAzureVMNetworkInterfaceCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3434
{
3535
[Alias("VMProfile")]

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/SetAzureVMBootDiagnosticsCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Microsoft.Azure.Commands.Compute
3131
ProfileNouns.BootDiagnostics),
3232
OutputType(
3333
typeof(PSVirtualMachine))]
34-
[CliCommandAlias("vm;bootdiagnostics;set")]
34+
[CliCommandAlias("vm;config;bootdiagnostics;set")]
3535
public class SetAzureVMBootDiagnosticsCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3636
{
3737
private const string EnableParameterSet = "EnableBootDiagnostics";

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/SetAzureVMDataDiskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.Compute
3030
ProfileNouns.DataDisk),
3131
OutputType(
3232
typeof(PSVirtualMachine))]
33-
[CliCommandAlias("vm;datadisk;set")]
33+
[CliCommandAlias("vm;config;datadisk;set")]
3434
public class SetAzureVMDataDiskCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3535
{
3636
private const string NameParameterSet = "ChangeWithName";

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/SetAzureVMOSDiskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.Compute
2828
DefaultParameterSetName = DefaultParamSet),
2929
OutputType(
3030
typeof(PSVirtualMachine))]
31-
[CliCommandAlias("vm;os;disk;set")]
31+
[CliCommandAlias("vm;config;osdisk;set")]
3232
public class SetAzureVMOSDiskCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3333
{
3434
protected const string DefaultParamSet = "DefaultParamSet";

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/SetAzureVMOperatingSystemCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace Microsoft.Azure.Commands.Compute
3434
DefaultParameterSetName = WindowsParamSet),
3535
OutputType(
3636
typeof(PSVirtualMachine))]
37-
[CliCommandAlias("vm;os;set")]
37+
[CliCommandAlias("vm;config;os;set")]
3838
public class SetAzureVMOperatingSystemCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
3939
{
4040
protected const string WindowsParamSet = "Windows";

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Config/SetAzureVMSourceImage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Compute
2424
{
2525
[Cmdlet(VerbsCommon.Set, ProfileNouns.SourceImage, DefaultParameterSetName = ImageReferenceParameterSet),
2626
OutputType(typeof(PSVirtualMachine))]
27-
[CliCommandAlias("vm;source;image;set")]
27+
[CliCommandAlias("vm;config;source;image;set")]
2828
public class SetAzureVMSourceImageCommand : Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
2929
{
3030
protected const string ImageReferenceParameterSet = "ImageReferenceParameterSet";

src/CLU/Microsoft.Azure.Commands.Compute/VirtualMachine/Operation/GetAzureVMBootDiagnosticsDataCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.Compute
2929
{
3030
[Cmdlet(VerbsCommon.Get, ProfileNouns.BootDiagnosticsData, DefaultParameterSetName = WindowsParamSet)]
3131
[OutputType(typeof(PSVirtualMachine), typeof(PSVirtualMachineInstanceView))]
32-
[CliCommandAlias("vm;bootdiagnostics;data;ls")]
32+
[CliCommandAlias("vm;bootdiagnostics;ls")]
3333
public class GetAzureVMBootDiagnosticsDataCommand : VirtualMachineBaseCmdlet
3434
{
3535
private const string WindowsParamSet = "WindowsParamSet";

0 commit comments

Comments
 (0)