Partager via


SiteRecoveryMigrationItemResource.GetMigrationRecoveryPointAsync Méthode

Définition

Obtient un point de récupération pour un élément de migration.

  • Chemin de la demande/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints/{migrationRecoveryPointName}
  • IdMigrationRecoveryPoints_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.MigrationRecoveryPointResource>> GetMigrationRecoveryPointAsync (string migrationRecoveryPointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMigrationRecoveryPointAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.MigrationRecoveryPointResource>>
override this.GetMigrationRecoveryPointAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.MigrationRecoveryPointResource>>
Public Overridable Function GetMigrationRecoveryPointAsync (migrationRecoveryPointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MigrationRecoveryPointResource))

Paramètres

migrationRecoveryPointName
String

Nom du point de récupération de migration.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

migrationRecoveryPointName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

migrationRecoveryPointName a la valeur null.

S’applique à