다음을 통해 공유


Get-AzRecoveryServicesAsrRecoveryPoint

복제본(replica) 보호된 항목에 사용할 수 있는 복구 지점을 가져옵니다.

Syntax

Get-AzRecoveryServicesAsrRecoveryPoint
   -ReplicationProtectedItem <ASRReplicationProtectedItem>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzRecoveryServicesAsrRecoveryPoint
   -Name <String>
   -ReplicationProtectedItem <ASRReplicationProtectedItem>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzRecoveryServicesAsrRecoveryPoint cmdlet은 복제본(replica)tion 보호된 항목에 사용 가능한 복구 지점 목록을 가져옵니다. 목록은 최신 복구 지점부터 가장 오래된 복구 지점까지 순서대로 정렬되며, 첫 번째는 최신 처리됨(가장 낮은 RTO)입니다.

예제

예 1

$RecoveryPoints = Get-AzRecoveryServicesAsrRecoveryPoint -ReplicationProtectedItem $ReplicationProtectedItem

지정된 ASR 복제본(replica)tion 보호 항목의 복구 지점을 가져옵니다. $RecoveryPoints[0]에는 가장 낮은 RTO에 대한 최신 처리된 복구 지점이 있습니다.

매개 변수

-DefaultProfile

Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

가져올 복구 지점의 이름을 지정합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ReplicationProtectedItem

사용 가능한 복구 지점 목록을 가져올 Azure Site Recovery 복제 보호 항목 개체를 지정합니다.

Type:ASRReplicationProtectedItem
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

입력

ASRReplicationProtectedItem

출력

ASRRecoveryPoint