Freigeben über


SiteRecoveryProtectionContainerResource.GetSiteRecoveryMigrationItemAsync Methode

Definition

Ruft die Details eines Migrationselements ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}
  • Vorgangs-IdReplicationMigrationItems_Get
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))

Parameter

migrationItemName
String

Name des Migrationselements.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

migrationItemName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

migrationItemName ist NULL.

Gilt für: