Freigeben über


AppPlatformGatewayCollection.CreateOrUpdate Methode

Definition

Erstellen Sie das Standardmäßige Spring Cloud Gateway, oder aktualisieren Sie das vorhandene Spring Cloud Gateway.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/gateways/{gatewayName}
  • Vorgangs-IdGateways_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string gatewayName, Azure.ResourceManager.AppPlatform.AppPlatformGatewayData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppPlatform.AppPlatformGatewayData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.AppPlatform.AppPlatformGatewayData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, gatewayName As String, data As AppPlatformGatewayData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AppPlatformGatewayResource)

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.

gatewayName
String

Der Name von Spring Cloud Gateway.

data
AppPlatformGatewayData

Das Gateway für den Erstellungs- oder Aktualisierungsvorgang.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

gatewayName oder data ist NULL.

Gilt für: