Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan
Hämtar migreringsplaner för äldre containrar.
Kommentar
De cmdletar som refereras i den här dokumentationen är till för att hantera äldre Azure-resurser som använder Service Management-API:er. Se Az PowerShell-modulen för cmdletar för att hantera Azure Resource Manager-resurser.
Syntax
Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan
[-LegacyConfigId <String>]
[-LegacyContainerNames <String[]>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
Cmdleten Get-AzureStorSimpleLEgacyVolumeContainerMigrationPlan hämtar migreringsplaner för äldre containrar. Ange en migreringsplan med dess äldre konfigurations-ID. Om skapandet av migreringsplanen fortfarande pågår hämtar den här cmdleten status för migreringsplanen. Om migreringsplanen har slutförts returnerar den här cmdleten den faktiska migreringsplanen för uppsättningen äldre containrar. Om du inte anger parametern LegacyConfigId returnerar den här cmdleten en lista med konfigurations-ID:t.
Exempel
Exempel 1: Hämta status för en plan
PS C:\>Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan -LegacyConfigId "f16463bd-94a9-4c3c-91c2-7a3ba7120087" -LegacyContainerNames "OneSDKAzureCloud"
VERBOSE: 2015-04-08 13:48:05 ClientRequestId: 51e413fd-c2c9-4108-88cd-a0e792eab80a_PS
VERBOSE: 2015-04-08 13:48:05 ClientRequestId: 4c6398ef-35a0-4d1c-931e-d9d45599a97a_PS
VERBOSE: 2015-04-08 13:48:17 ClientRequestId: ef7a7e35-6dff-46cd-9df3-cb5fa25d149e_PS
VERBOSE: Request Id : fd7e502f273885468f633a44567bcb3f, HttpResponse OK
VERBOSE: List of volume containers:
LegacyConfigId : f16463bd-94a9-4c3c-91c2-7a3ba7120087
DeviceName : ARUNKM-N4
MigrationTimeEstimationCompleted : CloudConfigurationName : OneSDKAzureCloud
EstimatedTimeForLatestBackup : 15Minutes
EstimatedTimeForAllBackups : 15Minutes
These estimates are assuming 20 MBps bandwidth. Refer to migration guide to re-calculate for lower bandwidths.
MigrationTimeEstimationInProgress : None
MigrationTimeEstimationFailed : None
MigrationTimeEstimationNotStarted : None
Det här kommandot hämtar status för migreringsplanen. Statusen omfattar antagen bandbredd, uppskattad tid och relaterad information.
Exempel 2: Hämta ID:t för befintliga planer
PS C:\>Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan
VERBOSE: 2015-04-08 13:46:51 ClientRequestId: 813da56c-0cfc-4325-80db-08ef32bdde1e_PS
VERBOSE: 2015-04-08 13:46:51 ClientRequestId: 9e7cf244-1894-490a-be02-749834a99318_PS
VERBOSE: List of LegacyConfig Ids on the resource:
LegacyConfigId DeviceName
-------------- ----------
1e1f10a0-3dff-4249-b847-4930061cd87a ARUNKM-N4
26d4096d-49b6-4102-b188-0446ece73c8b ARUNKM-N4
Det här kommandot hämtar alla konfigurations-ID:t för migreringsplaner.
Parametrar
-LegacyConfigId
Anger det unika ID:t för konfigurationen av den äldre installationen.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LegacyContainerNames
Anger en matris med volymcontainernamn som den här cmdleten hämtar en migreringsplan för.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Profile
Anger en Azure-profil.
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indata
None
Utdata
MigrationPlanMsg
Den här cmdleten returnerar ett MigrationPlanMsg-objekt som innehåller status för migreringsplanens jobb, antagen bandbredd i megabitar per sekund och uppskattad tid i minuter.