Get-AzRecoveryServicesAsrRecoveryPoint

Ruft die verfügbaren Wiederherstellungspunkte für ein replikationsgeschütztes Element ab.

Syntax

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

Beschreibung

Das Cmdlet Get-AzRecoveryServicesAsrRecoveryPoint ruft die Liste der verfügbaren Wiederherstellungspunkte für ein replikationsgeschütztes Element ab. Die Liste ist von der neuesten bis zur ältesten Wiederherstellungspunkte sortiert, die erste ist die neueste verarbeitete (niedrigste RTO).

Beispiele

Beispiel 1

$RecoveryPoints = Get-AzRecoveryServicesAsrRecoveryPoint -ReplicationProtectedItem $ReplicationProtectedItem

Ruft Wiederherstellungspunkte für das angegebene ASR-Replikationsgeschütztes Element ab. $RecoveryPoints[0] weist den neuesten verarbeiteten Wiederherstellungspunkt (für niedrigste RTO) auf.

Parameter

-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

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

-Name

Gibt den Namen des abzurufenden Wiederherstellungspunkts an.

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

-ReplicationProtectedItem

Gibt das Geschützte Elementobjekt der Azure Site Recovery-Replikation an, für das die Liste der verfügbaren Wiederherstellungspunkte abgerufen werden soll.

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

Eingaben

ASRReplicationProtectedItem

Ausgaben

ASRRecoveryPoint