Freigeben über


WorkloadNetworkPortMirroringProfileResource.Update Methode

Definition

Erstellen oder aktualisieren Sie ein Portspiegelungsprofil anhand der ID in einem Workloadnetzwerk in einer privaten Cloud.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}
  • Vorgangs-IdWorkloadNetworks_UpdatePortMirroring
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.WorkloadNetworkPortMirroringProfileResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As WorkloadNetworkPortMirroringProfileData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of WorkloadNetworkPortMirroringProfileResource)

Parameter

waitUntil
WaitUntil

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

data
WorkloadNetworkPortMirroringProfileData

NSX-Portspiegelung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: