Skip to content

Commit 1325d1f

Browse files
committed
Merge pull request Azure#152 from AzCiS/build
[StorSimple] Add the missed changes in the Azure.psd1 and ServiceManagementStartup.ps1
2 parents 29a1bfe + 06f2e7d commit 1325d1f

File tree

3 files changed

+755
-454
lines changed

3 files changed

+755
-454
lines changed

src/ServiceManagement/Services/Commands.Utilities/Azure.psd1

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ ScriptsToProcess = @()
5757
TypesToProcess = @(
5858
'.\Services\Microsoft.WindowsAzure.Commands.Websites.Types.ps1xml',
5959
'.\Sql\Microsoft.WindowsAzure.Commands.SqlDatabase.Types.ps1xml'
60-
'.\Storage\Microsoft.WindowsAzure.Commands.Storage.Types.ps1xml'
60+
'.\Storage\Microsoft.WindowsAzure.Commands.Storage.Types.ps1xml',
61+
'.\StorSimple\Microsoft.WindowsAzure.Commands.StorSimple.Types.ps1xml'
6162
)
6263

64+
6365
# Format files (.ps1xml) to be loaded when importing this module
6466
FormatsToProcess = @(
6567
'.\Services\Microsoft.WindowsAzure.Commands.Websites.format.ps1xml',
@@ -70,7 +72,8 @@ FormatsToProcess = @(
7072
'.\Services\Microsoft.WindowsAzure.Commands.Scheduler.format.ps1xml',
7173
'.\Compute\Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml',
7274
'.\Services\Microsoft.WindowsAzure.Commands.Profile.format.ps1xml',
73-
'.\Network\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.format.ps1xml'
75+
'.\Network\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.format.ps1xml',
76+
'.\StorSimple\Microsoft.WindowsAzure.Commands.StorSimple.format.ps1xml'
7477
)
7578

7679
# Modules to import as nested modules of the module specified in ModuleToProcess
@@ -154,7 +157,55 @@ AliasesToExport = @(
154157
'Wait-AzureHDInsightJob',
155158
'Get-AzureStorageContainerAcl',
156159
'Start-CopyAzureStorageBlob',
157-
'Stop-CopyAzureStorageBlob'
160+
'Stop-CopyAzureStorageBlob',
161+
'Get-SSAccessControlRecord',
162+
'Get-SSDevice',
163+
'Get-SSDeviceBackup',
164+
'Get-SSDeviceBackupPolicy',
165+
'Get-SSDeviceConnectedInitiator',
166+
'Get-SSDeviceVolume',
167+
'Get-SSDeviceVolumeContainer',
168+
'Get-SSFailoverVolumeContainers',
169+
'Get-SSJob',
170+
'Get-SSResource',
171+
'Get-SSResourceContext',
172+
'Get-SSStorageAccountCredential',
173+
'Get-SSTask',
174+
'New-SSAccessControlRecord',
175+
'New-SSDeviceBackupPolicy',
176+
'New-SSDeviceBackupScheduleAddConfig',
177+
'New-SSDeviceBackupScheduleUpdateConfig',
178+
'New-SSDeviceVolume',
179+
'New-SSDeviceVolumeContainer',
180+
'New-SSInlineStorageAccountCredential',
181+
'New-SSNetworkConfig',
182+
'New-SSStorageAccountCredential',
183+
'New-SSVirtualDevice',
184+
'Remove-SSAccessControlRecord',
185+
'Remove-SSDeviceBackup',
186+
'Remove-SSDeviceBackupPolicy',
187+
'Remove-SSDeviceVolume',
188+
'Remove-SSDeviceVolumeContainer',
189+
'Remove-SSStorageAccountCredential',
190+
'Select-SSResource',
191+
'Set-SSAccessControlRecord',
192+
'Set-SSDevice',
193+
'Set-SSDeviceBackupPolicy',
194+
'Set-SSDeviceVolume',
195+
'Set-SSStorageAccountCredential',
196+
'Set-SSVirtualDevice',
197+
'Start-SSBackupCloneJob',
198+
'Start-SSDeviceBackupJob',
199+
'Start-SSDeviceBackupRestoreJob',
200+
'Start-SSDeviceFailoverJob',
201+
'Stop-SSJob',
202+
'Confirm-SSLegacyVolumeContainerStatus',
203+
'Get-SSLegacyVolumeContainerConfirmStatus',
204+
'Get-SSLegacyVolumeContainerMigrationPlan',
205+
'Get-SSLegacyVolumeContainerStatus',
206+
'Import-SSLegacyApplianceConfig',
207+
'Import-SSLegacyVolumeContainer',
208+
'Start-SSLegacyVolumeContainerMigrationPlan'
158209
)
159210

160211
# List of all modules packaged with this module

src/ServiceManagement/Services/Commands.Utilities/ServiceManagementStartup.ps1

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,57 @@ $aliases = @{
6060

6161
# HDInsight aliases
6262
"Invoke-Hive" = "Invoke-AzureHDInsightHiveJob";
63-
"hive" = "Invoke-AzureHDInsightHiveJob"
63+
"hive" = "Invoke-AzureHDInsightHiveJob";
64+
65+
#StorSimple aliases
66+
"Get-SSAccessControlRecord" = "Get-AzureStorSimpleAccessControlRecord" ;
67+
"Get-SSDevice"= "Get-AzureStorSimpleDevice" ;
68+
"Get-SSDeviceBackup" = "Get-AzureStorSimpleDeviceBackup" ;
69+
"Get-SSDeviceBackupPolicy" = "Get-AzureStorSimpleDeviceBackupPolicy" ;
70+
"Get-SSDeviceConnectedInitiator" = "Get-AzureStorSimpleDeviceConnectedInitiator" ;
71+
"Get-SSDeviceVolume" = "Get-AzureStorSimpleDeviceVolume" ;
72+
"Get-SSDeviceVolumeContainer" = "Get-AzureStorSimpleDeviceVolumeContainer" ;
73+
"Get-SSFailoverVolumeContainers" = "Get-AzureStorSimpleFailoverVolumeContainers" ;
74+
"Get-SSJob" = "Get-AzureStorSimpleJob" ;
75+
"Get-SSResource" = "Get-AzureStorSimpleResource" ;
76+
"Get-SSResourceContext" = "Get-AzureStorSimpleResourceContext" ;
77+
"Get-SSStorageAccountCredential" = "Get-AzureStorSimpleStorageAccountCredential" ;
78+
"Get-SSTask" = "Get-AzureStorSimpleTask" ;
79+
"New-SSAccessControlRecord" = "New-AzureStorSimpleAccessControlRecord" ;
80+
"New-SSDeviceBackupPolicy" = "New-AzureStorSimpleDeviceBackupPolicy" ;
81+
"New-SSDeviceBackupScheduleAddConfig" = "New-AzureStorSimpleDeviceBackupScheduleAddConfig" ;
82+
"New-SSDeviceBackupScheduleUpdateConfig" = "New-AzureStorSimpleDeviceBackupScheduleUpdateConfig" ;
83+
"New-SSDeviceVolume" = "New-AzureStorSimpleDeviceVolume";
84+
"New-SSDeviceVolumeContainer" = "New-AzureStorSimpleDeviceVolumeContainer" ;
85+
"New-SSInlineStorageAccountCredential" = "New-AzureStorSimpleInlineStorageAccountCredential" ;
86+
"New-SSNetworkConfig" = "New-AzureStorSimpleNetworkConfig";
87+
"New-SSStorageAccountCredential" = "New-AzureStorSimpleStorageAccountCredential";
88+
"New-SSVirtualDevice" = "New-AzureStorSimpleVirtualDevice";
89+
"Remove-SSAccessControlRecord" = "Remove-AzureStorSimpleAccessControlRecord";
90+
"Remove-SSDeviceBackup" = "Remove-AzureStorSimpleDeviceBackup";
91+
"Remove-SSDeviceBackupPolicy" = "Remove-AzureStorSimpleDeviceBackupPolicy";
92+
"Remove-SSDeviceVolume" = "Remove-AzureStorSimpleDeviceVolume";
93+
"Remove-SSDeviceVolumeContainer" = "Remove-AzureStorSimpleDeviceVolumeContainer";
94+
"Remove-SSStorageAccountCredential" = "Remove-AzureStorSimpleStorageAccountCredential";
95+
"Select-SSResource" = "Select-AzureStorSimpleResource";
96+
"Set-SSAccessControlRecord" = "Set-AzureStorSimpleAccessControlRecord";
97+
"Set-SSDevice" = "Set-AzureStorSimpleDevice";
98+
"Set-SSDeviceBackupPolicy" = "Set-AzureStorSimpleDeviceBackupPolicy";
99+
"Set-SSDeviceVolume" = "Set-AzureStorSimpleDeviceVolume";
100+
"Set-SSStorageAccountCredential" = "Set-AzureStorSimpleStorageAccountCredential";
101+
"Set-SSVirtualDevice" = "Set-AzureStorSimpleVirtualDevice";
102+
"Start-SSBackupCloneJob" = "Start-AzureStorSimpleBackupCloneJob";
103+
"Start-SSDeviceBackupJob" = "Start-AzureStorSimpleDeviceBackupJob";
104+
"Start-SSDeviceBackupRestoreJob" = "Start-AzureStorSimpleDeviceBackupRestoreJob";
105+
"Start-SSDeviceFailoverJob" = "Start-AzureStorSimpleDeviceFailoverJob";
106+
"Stop-SSJob" = "Stop-AzureStorSimpleJob";
107+
"Confirm-SSLegacyVolumeContainerStatus" = "Confirm-AzureStorSimpleLegacyVolumeContainerStatus";
108+
"Get-SSLegacyVolumeContainerConfirmStatus" = "Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus";
109+
"Get-SSLegacyVolumeContainerMigrationPlan" = "Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan";
110+
"Get-SSLegacyVolumeContainerStatus" = "Get-AzureStorSimpleLegacyVolumeContainerStatus";
111+
"Import-SSLegacyApplianceConfig" = "Import-AzureStorSimpleLegacyApplianceConfig";
112+
"Import-SSLegacyVolumeContainer" = "Import-AzureStorSimpleLegacyVolumeContainer";
113+
"Start-SSLegacyVolumeContainerMigrationPlan" = "Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan";
64114
}
65115

66116
$aliases.GetEnumerator() | Select @{Name='Name'; Expression={$_.Key}}, @{Name='Value'; Expression={$_.Value}} | New-Alias -Description "AzureAlias"

0 commit comments

Comments
 (0)