Freigeben über


PrivateEndpointConnectionProxyResource.UpdateAsync Methode

Definition

(INTERN – NICHT VERWENDEN) Erstellt oder aktualisiert die angegebene Private Endpunkt-Verbindungsproxyressource, die dem Geräteupdatekonto zugeordnet ist.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}
  • Vorgangs-IdPrivateEndpointConnectionProxies_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DeviceUpdate.PrivateEndpointConnectionProxyResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.DeviceUpdate.PrivateEndpointConnectionProxyData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.DeviceUpdate.PrivateEndpointConnectionProxyData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DeviceUpdate.PrivateEndpointConnectionProxyResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.DeviceUpdate.PrivateEndpointConnectionProxyData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DeviceUpdate.PrivateEndpointConnectionProxyResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As PrivateEndpointConnectionProxyData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of PrivateEndpointConnectionProxyResource))

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
PrivateEndpointConnectionProxyData

Die Parameter zum Erstellen eines Verbindungsproxys für private Endpunkte.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: