Skip to content

Commit ee4cd7d

Browse files
author
Maddie Clayton
authored
Merge pull request #7085 from maddieclayton/aliasmapping
Convert old aliases
2 parents e19a2d4 + b3c8e09 commit ee4cd7d

File tree

116 files changed

+2294
-2160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+2294
-2160
lines changed

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Az.AnalysisServices.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ CmdletsToExport = 'Resume-AzAnalysisServicesServer',
9090
# VariablesToExport = @()
9191

9292
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
93-
AliasesToExport = 'Resume-AzureAs', 'Suspend-AzureAs', 'Get-AzureAs', 'Remove-AzureAs',
94-
'Set-AzureAs', 'Test-AzureAs', 'New-AzureAs'
93+
AliasesToExport = 'Resume-AzAs', 'Suspend-AzAs', 'Get-AzAs', 'Remove-AzAs',
94+
'Set-AzAs', 'Test-AzAs', 'New-AzAs'
9595

9696
# DSC resources to export from this module
9797
# DscResourcesToExport = @()

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/GetAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
namespace Microsoft.Azure.Commands.AnalysisServices
2323
{
2424
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer"),OutputType(typeof(AzureAnalysisServicesServer))]
25-
[Alias("Get-AzureAs")]
25+
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
2626
public class GetAzureAnalysisServicesServer : AnalysisServicesCmdletBase
2727
{
2828
[Parameter(Position = 0,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/NewAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
namespace Microsoft.Azure.Commands.AnalysisServices
2727
{
2828
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer", SupportsShouldProcess = true), OutputType(typeof(AzureAnalysisServicesServer))]
29-
[Alias("New-AzureAs")]
29+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
3030
public class NewAnalysisServicesServer : AnalysisServicesCmdletBase
3131
{
3232
[Parameter(ValueFromPipelineByPropertyName = true, Position = 0, Mandatory = true,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/RemoveAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Microsoft.Azure.Commands.AnalysisServices
2525
{
2626
[Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer", SupportsShouldProcess = true), OutputType(typeof(AzureAnalysisServicesServer))]
27-
[Alias("Remove-AzureAs")]
27+
[Alias("Remove-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
2828
public class RemoveAnalysisServicesServer : AnalysisServicesCmdletBase
2929
{
3030
[Parameter(ValueFromPipelineByPropertyName = true, Position = 0, Mandatory = true,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/ResumeAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Microsoft.Azure.Commands.AnalysisServices
2525
{
2626
[Cmdlet("Resume", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer", SupportsShouldProcess = true),OutputType(typeof(AzureAnalysisServicesServer))]
27-
[Alias("Resume-AzureAs")]
27+
[Alias("Resume-" + ResourceManager.Common.AzureRMConstants.AzurePrefix+ "As")]
2828
public class ResumeAzureAnalysisServicesServer : AnalysisServicesCmdletBase
2929
{
3030
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/SetAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
namespace Microsoft.Azure.Commands.AnalysisServices
2727
{
2828
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer", SupportsShouldProcess = true, DefaultParameterSetName = ParamSetDefault), OutputType(typeof(AzureAnalysisServicesServer))]
29-
[Alias("Set-AzureAs")]
29+
[Alias("Set-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
3030
public class SetAzureAnalysisServicesServer : AnalysisServicesCmdletBase
3131
{
3232
private const string ParamSetDefault = "Default";

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/SuspendAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Microsoft.Azure.Commands.AnalysisServices
2525
{
2626
[Cmdlet("Suspend", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer",SupportsShouldProcess = true),OutputType(typeof(AzureAnalysisServicesServer))]
27-
[Alias("Suspend-AzureAs")]
27+
[Alias("Suspend-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
2828
public class SuspendAzureAnalysisServicesServer : AnalysisServicesCmdletBase
2929
{
3030
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true,

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/TestAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.AnalysisServices
2222
{
2323
[Cmdlet("Test", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AnalysisServicesServer"), OutputType(typeof(bool))]
24-
[Alias("Test-AzureAs")]
24+
[Alias("Test-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "As")]
2525
public class TestAzureAnalysisServicesServer : AnalysisServicesCmdletBase
2626
{
2727
[Parameter(ValueFromPipelineByPropertyName = true, Position = 0, Mandatory = true,

src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ CmdletsToExport = 'Get-AzAutomationHybridWorkerGroup',
133133
# VariablesToExport = @()
134134

135135
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
136-
AliasesToExport = 'Import-AzureRmAutomationModule'
136+
AliasesToExport = 'Import-AzAutomationModule'
137137

138138
# DSC resources to export from this module
139139
# DscResourcesToExport = @()

src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet
2424
/// </summary>
2525
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AutomationModule")]
2626
[OutputType(typeof(Module))]
27-
[Alias("Import-AzureRmAutomationModule")]
27+
[Alias("Import-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AutomationModule")]
2828
public class NewAzureAutomationModule : AzureAutomationBaseCmdlet
2929
{
3030
/// <summary>

src/ResourceManager/AzureBatch/Commands.Batch/Az.Batch.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ CmdletsToExport = 'Remove-AzBatchAccount', 'Get-AzBatchAccount',
118118
# VariablesToExport = @()
119119

120120
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
121-
AliasesToExport = 'Reactivate-AzureBatchTask', 'Get-AzureRmBatchSubscriptionQuotas'
121+
AliasesToExport = 'Reactivate-AzBatchTask', 'Get-AzBatchSubscriptionQuotas'
122122

123123
# DSC resources to export from this module
124124
# DscResourcesToExport = @()

src/ResourceManager/AzureBatch/Commands.Batch/Locations/GetBatchLocationQuotasCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Batch
2121
{
2222
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BatchLocationQuotas"), OutputType(typeof(PSBatchLocationQuotas))]
2323
// This alias was added in 10/2016 for backwards compatibility
24-
[Alias("Get-AzureRmBatchSubscriptionQuotas")]
24+
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "BatchSubscriptionQuotas")]
2525
public class GetBatchLocationQuotasCommand : BatchCmdletBase
2626
{
2727
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true,

src/ResourceManager/AzureBatch/Commands.Batch/Tasks/EnableBatchTaskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.Batch
2020
{
2121
[Cmdlet("Enable", ResourceManager.Common.AzureRMConstants.AzurePrefix + "BatchTask", SupportsShouldProcess = true), OutputType(typeof(void))]
22-
[Alias("Reactivate-AzureBatchTask")]
22+
[Alias("Reactivate-" + ResourceManager.Common.AzureRMConstants.AzurePrefix + "BatchTask")]
2323
public class EnableBatchTaskCommand : BatchObjectModelCmdletBase
2424
{
2525
[Parameter(Position = 0, ParameterSetName = Constants.IdParameterSet, Mandatory = true,

src/ResourceManager/Cdn/Commands.Cdn/Az.Cdn.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ CmdletsToExport = 'Get-AzCdnProfile', 'Get-AzCdnProfileSsoUrl',
9393
# VariablesToExport = @()
9494

9595
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
96-
AliasesToExport = 'Validate-AzureRmCdnCustomDomain'
96+
AliasesToExport = 'Validate-AzCdnCustomDomain'
9797

9898
# DSC resources to export from this module
9999
# DscResourcesToExport = @()

src/ResourceManager/Cdn/Commands.Cdn/Endpoint/TestAzureRmCdnCustomDomain.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
namespace Microsoft.Azure.Commands.Cdn.Endpoint
2424
{
2525
[Cmdlet("Test", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CdnCustomDomain", DefaultParameterSetName = FieldsParameterSet), OutputType(typeof(PSValidateCustomDomainOutput))]
26-
[Alias("Validate-AzureRmCdnCustomDomain")]
26+
[Alias("Validate-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CdnCustomDomain")]
2727
public class TestAzureRmCdnCustomDomain : AzureCdnCmdletBase
2828
{
2929
[Parameter(Mandatory = true, ParameterSetName = FieldsParameterSet, HelpMessage = "Azure CDN endpoint name.")]

src/ResourceManager/Compute/Commands.Compute/Az.Compute.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ CmdletsToExport = 'Remove-AzAvailabilitySet', 'Get-AzAvailabilitySet',
182182
# VariablesToExport = @()
183183

184184
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
185-
AliasesToExport = 'Get-AzureRmVmssDiskEncryptionStatus',
186-
'Get-AzureRmVmssVMDiskEncryptionStatus',
187-
'Repair-AzureRmVmssServiceFabricUD'
185+
AliasesToExport = 'Get-AzVmssDiskEncryptionStatus',
186+
'Get-AzVmssVMDiskEncryptionStatus',
187+
'Repair-AzVmssServiceFabricUD'
188188

189189
# DSC resources to export from this module
190190
# DscResourcesToExport = @()

src/ResourceManager/Compute/Commands.Compute/Extension/VmssDiskEncryption/GetAzureVmssDiskEncryptionStatus.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
namespace Microsoft.Azure.Commands.Compute.Extension.AzureDiskEncryption
3030
{
31-
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssDiskEncryption"),Alias(ProfileNouns.GetAzureRmVmssDiskEncryptionAlias),OutputType(typeof(PSVmssDiskEncryptionStatusContext))]
31+
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssDiskEncryption"), OutputType(typeof(PSVmssDiskEncryptionStatusContext))]
32+
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssDiskEncryptionStatus")]
3233
public class GetAzureVmssDiskEncryptionStatusCommand : VirtualMachineScaleSetExtensionBaseCmdlet
3334
{
3435
[Parameter(

src/ResourceManager/Compute/Commands.Compute/Extension/VmssDiskEncryption/GetAzureVmssVMDiskEncryptionStatus.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626

2727
namespace Microsoft.Azure.Commands.Compute.Extension.AzureDiskEncryption
2828
{
29-
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssVMDiskEncryption"),Alias(ProfileNouns.GetAzureRmVmssVMDiskEncryptionAlias),OutputType(typeof(PSVmssVMDiskEncryptionStatusContext))]
29+
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssVMDiskEncryption"), OutputType(typeof(PSVmssVMDiskEncryptionStatusContext))]
30+
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssVMDiskEncryptionStatus")]
3031
public class GetAzureVmssVMDiskEncryptionStatusCommand : VirtualMachineScaleSetExtensionBaseCmdlet
3132
{
3233
[Parameter(

src/ResourceManager/Compute/Commands.Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetForceRecoveryServiceFabricPlatformUpdateDomainWalkMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected PSArgument[] CreateVirtualMachineScaleSetForceRecoveryServiceFabricPla
112112
}
113113

114114
[Cmdlet("Repair", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssServiceFabricUpdateDomain", DefaultParameterSetName = "DefaultParameter", SupportsShouldProcess = true)]
115-
[Alias("Repair-AzureRmVmssServiceFabricUD")]
115+
[Alias("Repair-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "VmssServiceFabricUD")]
116116
[OutputType(typeof(PSRecoveryWalkResponse))]
117117
public partial class RepairAzureRmVmssServiceFabricUpdateDomain : ComputeAutomationBaseCmdlet
118118
{

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Az.DataFactoryV2.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ CmdletsToExport = 'Set-AzDataFactoryV2', 'Update-AzDataFactoryV2',
112112
# VariablesToExport = @()
113113

114114
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
115-
AliasesToExport = 'New-AzureRmDataFactoryV2', 'New-AzureRmDataFactoryV2Dataset',
116-
'New-AzureRmDataFactoryV2LinkedService',
117-
'New-AzureRmDataFactoryV2Pipeline', 'New-AzureRmDataFactoryV2Trigger'
115+
AliasesToExport = 'New-AzDataFactoryV2', 'New-AzDataFactoryV2Dataset',
116+
'New-AzDataFactoryV2LinkedService',
117+
'New-AzDataFactoryV2Pipeline', 'New-AzDataFactoryV2Trigger'
118118

119119
# DSC resources to export from this module
120120
# DscResourcesToExport = @()

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/DataFactories/SetAzureDataFactoryCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.DataFactoryV2
2222
{
2323
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2", SupportsShouldProcess = true), OutputType(typeof(PSDataFactory))]
24-
[Alias(VerbsCommon.New + "-" + Constants.DataFactory)]
24+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2")]
2525
public class SetAzureDataFactoryCommand : DataFactoryBaseCmdlet
2626
{
2727
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true,

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Datasets/SetAzureDataFactoryDatasetCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace Microsoft.Azure.Commands.DataFactoryV2
2222
{
2323
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2Dataset", DefaultParameterSetName = ParameterSetNames.ByFactoryName,SupportsShouldProcess = true), OutputType(typeof(PSDataset))]
24-
[Alias(VerbsCommon.New + "-" + Constants.Dataset)]
24+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2Dataset")]
2525
public class SetAzureDataFactoryDatasetCommand : DataFactoryContextBaseSetCmdlet
2626
{
2727
[Parameter(ParameterSetName = ParameterSetNames.ByFactoryName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true,

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/LinkedServices/SetAzureDataFactoryLinkedServiceCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace Microsoft.Azure.Commands.DataFactoryV2
2121
{
2222
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2LinkedService", DefaultParameterSetName = ParameterSetNames.ByFactoryName, SupportsShouldProcess = true), OutputType(typeof(PSLinkedService))]
23-
[Alias(VerbsCommon.New + "-" + Constants.LinkedService)]
23+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2LinkedService")]
2424
public class SetAzureDataFactoryLinkedServiceCommand : DataFactoryContextBaseSetCmdlet
2525
{
2626
[Parameter(ParameterSetName = ParameterSetNames.ByFactoryName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true,

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Pipelines/SetAzureDataFactoryPipelineCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace Microsoft.Azure.Commands.DataFactoryV2
2121
{
2222
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2Pipeline", DefaultParameterSetName = ParameterSetNames.ByFactoryName, SupportsShouldProcess = true), OutputType(typeof(PSPipeline))]
23-
[Alias(VerbsCommon.New + "-" + Constants.Pipeline)]
23+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2Pipeline")]
2424
public class SetAzureDataFactoryPipelineCommand : DataFactoryContextBaseSetCmdlet
2525
{
2626
[Parameter(ParameterSetName = ParameterSetNames.ByFactoryName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true,

src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Triggers/SetAzureDataFactoryTriggerCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
namespace Microsoft.Azure.Commands.DataFactoryV2
2121
{
2222
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2Trigger", DefaultParameterSetName = ParameterSetNames.ByFactoryName, SupportsShouldProcess = true), OutputType(typeof(PSTrigger))]
23-
[Alias(VerbsCommon.New + "-" + Constants.Trigger)]
23+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataFactoryV2Trigger")]
2424
public class SetAzureDataFactoryTriggerCommand : DataFactoryContextBaseSetCmdlet
2525
{
2626
[Parameter(ParameterSetName = ParameterSetNames.ByFactoryName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true,

src/ResourceManager/DataMigration/Commands.DataMigration/Az.DataMigration.psd1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ CmdletsToExport = 'New-AzDataMigrationDatabaseInfo',
8989
# VariablesToExport = @()
9090

9191
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
92-
AliasesToExport = 'Get-AzureRmDms', 'Get-AzureRmDmsTask', 'Get-AzureRmDmsProject',
93-
'New-AzureRmDms', 'New-AzureRmDmsConnInfo', 'New-AzureRmDmsDBInfo',
94-
'New-AzureRmDmsTask', 'New-AzureRmDmsProject',
95-
'Remove-AzureRmDmsProject', 'Remove-AzureRmDms',
96-
'Remove-AzureRmDmsTask', 'Start-AzureRmDmsService',
97-
'Stop-AzureRmDmsTask', 'Stop-AzureRmDmsService',
98-
'New-AzureRmDmsSelectedDB', 'New-AzureRmDmsFileShare'
92+
AliasesToExport = 'Get-AzDms', 'Get-AzDmsTask', 'Get-AzDmsProject',
93+
'New-AzDms', 'New-AzDmsConnInfo', 'New-AzDmsDBInfo',
94+
'New-AzDmsTask', 'New-AzDmsProject',
95+
'Remove-AzDmsProject', 'Remove-AzDms',
96+
'Remove-AzDmsTask', 'Start-AzDmsService',
97+
'Stop-AzDmsTask', 'Stop-AzDmsService',
98+
'New-AzDmsSelectedDB', 'New-AzDmsFileShare'
9999

100100
# DSC resources to export from this module
101101
# DscResourcesToExport = @()

src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/GetAzureDataMigrationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.DataMigration.Cmdlets
2525
/// Cmdlet for getting Data Migration Service resource
2626
/// </summary>
2727
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataMigrationService", DefaultParameterSetName = ResourceGroupSet), OutputType(typeof(PSDataMigrationService))]
28-
[Alias("Get-AzureRmDms")]
28+
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix+ "Dms")]
2929
public class GetAzureDataMigrationService : DataMigrationCmdlet
3030
{
3131
private const string ResourceGroupSet = "ResourceGroupSet";

src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/GetDataMigrationTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.DataMigration.Cmdlets
2525
/// Class for the cmdlet to get project task details.
2626
/// </summary>
2727
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataMigrationTask", DefaultParameterSetName = DefaultParams), OutputType(typeof(PSProjectTask))]
28-
[Alias("Get-AzureRmDmsTask")]
28+
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DmsTask")]
2929
public class GetDataMigrationTask : DataMigrationCmdlet
3030
{
3131
private const string DefaultParams = ListByComponent;

src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/GetProjectCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.DataMigration.Cmdlets
2525
/// Class for the command let that creates a new instance of the Data Migration Service.
2626
/// </summary>
2727
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataMigrationProject", DefaultParameterSetName = ComponentNameParameterSet), OutputType(typeof(PSProject))]
28-
[Alias("Get-AzureRmDmsProject")]
28+
[Alias("Get-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DmsProject")]
2929
public class GetProjectCmdlet : DataMigrationCmdlet
3030
{
3131
[Parameter(

src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/NewAzureRmDataMigrationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.DataMigration.Cmdlets
2424
/// Class that creates a new instance of the Data Migration Service.
2525
/// </summary>
2626
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataMigrationService", SupportsShouldProcess = true), OutputType(typeof(PSDataMigrationService))]
27-
[Alias("New-AzureRmDms")]
27+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix+ "Dms")]
2828
public sealed class NewAzureRmDataMigrationService : DataMigrationCmdlet
2929
{
3030
[Parameter(

src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/NewConnectionInfoCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.DataMigration.Cmdlets
2222
/// Class that creates a new instance of the Sql Server Connection Info.
2323
/// </summary>
2424
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataMigrationConnectionInfo"), OutputType(typeof(ConnectionInfo))]
25-
[Alias("New-AzureRmDmsConnInfo")]
25+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix+ "DmsConnInfo")]
2626
public class NewConnectionInfoCmdlet : DataMigrationCmdlet, IDynamicParameters
2727
{
2828
[Parameter(

src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/NewDataMigrationSelectedDB.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace Microsoft.Azure.Commands.DataMigration.Cmdlets
2020
{
2121
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataMigrationSelectedDB", DefaultParameterSetName = SqlServerSqlDbParameterSet), OutputType(typeof(MigrateSqlServerSqlDbDatabaseInput))]
22-
[Alias("New-AzureRmDmsSelectedDB")]
22+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DmsSelectedDB")]
2323
public class NewDataMigrationSelectedDB : DataMigrationCmdlet
2424
{
2525
private const string SqlServerSqlDbParameterSet = "MigrateSqlServerSqlDb";

src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/NewDataMigrationTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.DataMigration.Cmdlets
2424
/// Class for the cmdlet to create task.
2525
/// </summary>
2626
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataMigrationTask", DefaultParameterSetName = ComponentNameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSProjectTask))]
27-
[Alias("New-AzureRmDmsTask")]
27+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DmsTask")]
2828
public class NewDataMigrationTask : DataMigrationCmdlet, IDynamicParameters
2929
{
3030
[Parameter(

src/ResourceManager/DataMigration/Commands.DataMigration/Cmdlets/NewDatabaseInfoCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.DataMigration.Cmdlets
2121
/// Class that creates a new instance of the Sql Server Connection Info.
2222
/// </summary>
2323
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DataMigrationDatabaseInfo"), OutputType(typeof(DatabaseInfo))]
24-
[Alias("New-AzureRmDmsDBInfo")]
24+
[Alias("New-" + ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DmsDBInfo")]
2525
public class NewDatabaseInfoCmdlet : DataMigrationCmdlet
2626
{
2727
[Parameter(

0 commit comments

Comments
 (0)