Get-AzureStorSimpleLegacyVolumeContainerStatus
ボリューム コンテナーの移行状態を取得します。
注意
このドキュメントで参照されているコマンドレットは、Service Management API を使用するレガシ Azure リソースを管理するためのものです。 Azure Resource Manager リソースを管理するためのコマンドレットについては、Az PowerShell モジュールを参照してください。
構文
Get-AzureStorSimpleLegacyVolumeContainerStatus
-LegacyConfigId <String>
[-LegacyContainerNames <String[]>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
説明
Get-AzureStorSimpleLegacyVolumeContainerStatus コマンドレットは、ボリューム コンテナーの移行状態を取得します。 このコマンドレットは、ボリューム コンテナーの移行がまだ進行中か、完了しているか、失敗したかを含む状態情報を返します。
例
例 1: 失敗した移行の状態を取得する
PS C:\>Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4" -LegacyContainerNames "OneSDKAzureCloud"
ConfigId : dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4
MigrationCompleted : No Cloud Configuration(s) are found to be in Completed state of Migration
MigrationInprogress : No Cloud Configuration(s) are found to be in InProgress state of Migration
MigrationNotStarted : No Cloud Configuration(s) are found to be in NotStarted state of Migration
MigrationFailed : Cloud Configuration Name: OneSDKAzureCloud
PercentageCompleted : 0
MigrationStatus : Failed
No Backup sets found
このコマンドは、名前付きレガシ コンテナーの移行状態を取得します。 結果は、移行に失敗したことを示しています。
例 2: 進行中の移行の状態を取得する
PS C:\>Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4" -LegacyContainerNames "OneSDKAzureCloud"
ConfigId : 5a83ec88-9e0a-4722-9fb0-9131caa7387a
MigrationCompleted : No Cloud Configuration(s) are found to be in Completed state of Migration
MigrationInprogress : CloudConfigurationName: OneSDKAzureCloud
PercentageCompleted : 10
MigrationStatus : InProgress
BackupSets :
Policy : OneSDKBackupPolicy, Status : InProgress
MigrationNotStarted : No Cloud Configuration(s) are found to be in NotStarted state of Migration
MigrationFailed : No Cloud Configuration(s) are found to be in Failed state of Migration
このコマンドは、名前付きレガシ コンテナーの移行状態を取得します。 結果は、移行が進行中であることを示しています。
例 3: 完了した移行の状態を取得する
PS C:\>Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4 -LegacyContainerNames OneSDKAzureCloud
ConfigId : 5a83ec88-9e0a-4722-9fb0-9131caa7387a
MigrationCompleted : Cloud ConfigurationName: OneSDKAzureCloud
PercentageCompleted : 100
MigrationStatus : Completed
BackupSets :
Policy : vg1p1, Created On : 04/06/2015 11:22:00, Status : Completed
Policy : vg1p1, Created On : 03/30/2015 11:22:00, Status : Completed
Policy : c1v1-Auto-Daily-CloudSnapshot, Created On : 03/30/2015 03:30:00, Status : Completed
MigrationInprogress : No Cloud Configuration(s) are found to be in InProgress state of Migration
MigrationNotStarted : No Cloud Configuration(s) are found to be in NotStarted state of Migration
MigrationFailed : No Cloud Configuration(s) are found to be in Failed state of Migration
このコマンドは、名前付きレガシ コンテナーの移行状態を取得します。 結果は、移行が完了したことを示しています。
パラメーター
-LegacyConfigId
レガシ アプライアンスの構成の一意の ID を指定します。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LegacyContainerNames
移行計画が適用されるボリューム コンテナー名の配列を指定します。
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 |