Freigeben über


DataReplicationFabricResource.UpdateAsync Methode

Definition

Führt eine Aktualisierung für das Fabric aus.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Vorgang IdFabric_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As DataReplicationFabricPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of DataReplicationFabricResource))

Parameter

waitUntil
WaitUntil

Completed , wenn die Methode auf die Rückgabe warten soll, bis der lange ausgeführte Vorgang für den Dienst abgeschlossen ist; Started , wenn es nach dem Starten des Vorgangs zurückgegeben werden soll. Weitere Informationen zu Vorgängen mit langer Ausführung finden Sie unter Beispiele für Azure.Core-Long-Running-Vorgänge.

patch
DataReplicationFabricPatch

Fabric-Eigenschaften.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: