Freigeben über


RecoveryServicesDataReplicationExtensions.GetDataReplicationFabricAsync Methode

Definition

Ruft die Details des Fabrics ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Vorgangs-IdFabric_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricResource>> GetDataReplicationFabricAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string fabricName, System.Threading.CancellationToken cancellationToken = default);
static member GetDataReplicationFabricAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricResource>>
<Extension()>
Public Function GetDataReplicationFabricAsync (resourceGroupResource As ResourceGroupResource, fabricName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataReplicationFabricResource))

Parameter

resourceGroupResource
ResourceGroupResource

Der ResourceGroupResource instance die -Methode ausgeführt wird.

fabricName
String

Der Fabricname.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

fabricName ist NULL.

Gilt für: