你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzRecoveryServicesAsrRecoveryPoint
获取复制受保护项的可用恢复点。
语法
Get-AzRecoveryServicesAsrRecoveryPoint
-ReplicationProtectedItem <ASRReplicationProtectedItem>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrRecoveryPoint
-Name <String>
-ReplicationProtectedItem <ASRReplicationProtectedItem>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
Get-AzRecoveryServicesAsrRecoveryPoint cmdlet 获取复制受保护项的可用恢复点列表。 列表按最新到最早的恢复点的顺序排列,第一个是最新处理(最低 RTO)。
示例
示例 1
$RecoveryPoints = Get-AzRecoveryServicesAsrRecoveryPoint -ReplicationProtectedItem $ReplicationProtectedItem
获取指定的 ASR 复制保护项的恢复点。 $RecoveryPoints[0] 将具有最新处理的恢复点(对于最低 RTO)。
参数
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Name
指定要获取的恢复点的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ReplicationProtectedItem
指定要获取可用恢复点列表的 Azure Site Recovery 复制受保护项对象。
类型: | ASRReplicationProtectedItem |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |