Freigeben über


IotCentralPrivateEndpointConnectionResource.Update Methode

Definition

Aktualisieren Sie eine Verbindung mit einem privaten Endpunkt.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Vorgang IdPrivateEndpointConnections_Create
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.IotCentral.IotCentralPrivateEndpointConnectionResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As IotCentralPrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of IotCentralPrivateEndpointConnectionResource)

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.

data
IotCentralPrivateEndpointConnectionData

Die Verbindungsmetadaten des privaten Endpunkts.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: