Partager via


SiteRecoveryProtectionContainerResource.GetSiteRecoveryMigrationItemAsync Méthode

Définition

Obtient les détails d’un élément de migration.

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

Paramètres

migrationItemName
String

Nom de l’élément de migration.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

migrationItemName est une chaîne vide et devait être non vide.

migrationItemName a la valeur null.

S’applique à