Skip to content

Commit 8e4741e

Browse files
author
Anil Kumar Yelam
committed
Used Alias attribute to rename commands instead of adding new cmdlets. Modified help file accordingly.
1 parent 2b12961 commit 8e4741e

9 files changed

+595
-1265
lines changed

src/ResourceManager/Compute/AzureRM.Compute.psd1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ CmdletsToExport = 'Remove-AzureRmAvailabilitySet', 'Get-AzureRmAvailabilitySet',
9292
'New-AzureVMSqlServerAutoBackupConfig',
9393
'New-AzureVMSqlServerAutoPatchingConfig',
9494
'New-AzureVMSqlServerKeyVaultCredentialConfig',
95-
'New-AzureRmVMSqlServerAutoBackupConfig',
96-
'New-AzureRmVMSqlServerAutoPatchingConfig',
97-
'New-AzureRmVMSqlServerKeyVaultCredentialConfig',
9895
'Remove-AzureRmVMSqlServerExtension',
9996
'Set-AzureRmVMSqlServerExtension', 'Get-AzureRmVMImage',
10097
'Get-AzureRmVMAccessExtension', 'Remove-AzureRmVMAccessExtension',
@@ -147,7 +144,10 @@ CmdletsToExport = 'Remove-AzureRmAvailabilitySet', 'Get-AzureRmAvailabilitySet',
147144
# VariablesToExport = @()
148145

149146
# 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.
150-
AliasesToExport = @()
147+
AliasesToExport = @(
148+
'New-AzureRmVMSqlServerAutoBackupConfig',
149+
'New-AzureRmVMSqlServerAutoPatchingConfig',
150+
'New-AzureRmVMSqlServerKeyVaultCredentialConfig')
151151

152152
# DSC resources to export from this module
153153
# DscResourcesToExport = @()

src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,6 @@
273273
<Compile Include="Extension\SqlServer\AzureVMSqlServerAutoTelemetrySettings.cs" />
274274
<Compile Include="Extension\SqlServer\AzureVMSqlServerConfiguration.cs" />
275275
<Compile Include="Extension\SqlServer\AzureVMSqlServerKeyVaultCredential.cs" />
276-
<Compile Include="Extension\SqlServer\NewAzureRmVMSqlServerAutoBackupConfig.cs" />
277-
<Compile Include="Extension\SqlServer\NewAzureRmVMSqlServerAutoPatchingConfig.cs" />
278-
<Compile Include="Extension\SqlServer\NewAzureRmVMSqlServerKeyVaultCredentialConfig.cs" />
279276
<Compile Include="Extension\SqlServer\PrivateKeyVaultCredentialSettings.cs" />
280277
<Compile Include="Extension\SqlServer\AzureVMSqlServerPrivateSettings.cs" />
281278
<Compile Include="Extension\SqlServer\AzureVMSqlServerPublicSettings.cs" />

src/ResourceManager/Compute/Commands.Compute/Extension/SqlServer/NewAzureRmVMSqlServerAutoBackupConfig.cs

Lines changed: 0 additions & 321 deletions
This file was deleted.

0 commit comments

Comments
 (0)