編集

次の方法で共有


Get-AzRecoveryServicesAsrClusterRecoveryPoint

Gets the available cluster recovery points for a replication protection cluster.

Syntax

ByObject (Default)

Get-AzRecoveryServicesAsrClusterRecoveryPoint
    -ReplicationProtectionCluster <ASRReplicationProtectionCluster>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

ByObjectWithName

Get-AzRecoveryServicesAsrClusterRecoveryPoint
    -Name <String>
    -ReplicationProtectionCluster <ASRReplicationProtectionCluster>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Get-AzRecoveryServicesAsrClusterRecoveryPoint cmdlet gets the list of available cluster recovery points for a replication protection cluster. The list is in order from latest to oldest Recovery Points, the first one being the Latest Processed (lowest RTO).

Examples

Example 1

$ClusterRecoveryPoints = Get-AzRecoveryServicesAsrClusterRecoveryPoint -ReplicationProtectionCluster $ReplicationProtectionCluster

Gets cluster recovery points for the specified ASR replication protection cluster

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of the cluster recovery point to get.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByObjectWithName
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReplicationProtectionCluster

Specifies the Azure Site Recovery Replication Protection Cluster object for which to get the list of available cluster recovery points.

Parameter properties

Type:ASRReplicationProtectionCluster
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

ASRReplicationProtectionCluster

Outputs

ASRClusterRecoveryPoint