Freigeben über


AgFoodPlatformPrivateEndpointConnectionCollection.CreateOrUpdate Methode

Definition

Genehmigt oder lehnt eine Verbindungsanforderung für private Endpunkte ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Vorgang IdPrivateEndpointConnections_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateEndpointConnectionResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string privateEndpointConnectionName, Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateEndpointConnectionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateEndpointConnectionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AgFoodPlatform.AgFoodPlatformPrivateEndpointConnectionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, privateEndpointConnectionName As String, data As AgFoodPlatformPrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AgFoodPlatformPrivateEndpointConnectionResource)

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.

privateEndpointConnectionName
String

Verbindungsname des privaten Endpunkts.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

privateEndpointConnectionName oder data ist NULL.

Gilt für: