Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan
取得舊版容器的移轉計畫。
注意
本檔中參考的 Cmdlet 用於管理使用服務管理 API 的舊版 Azure 資源。 如需管理 Azure Resource Manager 資源的 Cmdlet,請參閱 Az PowerShell 模組 。
Syntax
Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan
[-LegacyConfigId <String>]
[-LegacyContainerNames <String[]>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
Get-AzureStorSimpleLEgacyVolumeContainerMigrationPlan Cmdlet 會取得舊版容器的移轉計畫。 依舊版組態識別碼指定移轉計畫。 如果移轉計畫的建立仍在進行中,此 Cmdlet 會取得移轉計畫的狀態。 如果移轉計畫已完成,此 Cmdlet 會傳回舊版容器集的實際移轉計畫。 如果您未指定 LegacyConfigId 參數,此 Cmdlet 會傳回組態識別碼的清單。
範例
範例 1:取得方案的狀態
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
此命令會取得移轉計畫的狀態。 狀態包括假設的頻寬、預估時間和相關資訊。
範例 2:取得現有方案的識別碼
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
此命令會取得移轉計畫的所有組態識別碼。
參數
-LegacyConfigId
指定舊版設備組態的唯一識別碼。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LegacyContainerNames
指定此 Cmdlet 取得移轉計畫的磁片區容器名稱陣列。
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Profile
指定 Azure 設定檔。
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
None
輸出
MigrationPlanMsg
此 Cmdlet 會 傳回 MigrationPlanMsg 物件,其中包含移轉計畫作業的狀態、以每秒 MB 為單位的頻寬,以及以分鐘為單位的估計時間。