다음을 통해 공유


Get-AzureStorSimpleLegacyVolumeContainerStatus

볼륨 컨테이너의 마이그레이션 상태를 가져옵니다.

참고

이 설명서에서 참조하는 cmdlet은 Service Management API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. Azure Resource Manager 리소스를 관리하는 cmdlet은 Az PowerShell 모듈을 참조하세요.

Syntax

Get-AzureStorSimpleLegacyVolumeContainerStatus
   -LegacyConfigId <String>
   [-LegacyContainerNames <String[]>]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

Get-AzureStorSimpleLegacyVolumeContainerStatus cmdlet은 볼륨 컨테이너의 마이그레이션 상태를 가져옵니다. 이 cmdlet은 볼륨 컨테이너 마이그레이션이 아직 진행 중인지, 완료되었는지 또는 실패했는지를 포함하는 상태 정보를 반환합니다.

예제

예제 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