Freigeben über


AppPlatformGatewayRouteConfigResource.Update Methode

Definition

Erstellen Sie die Standardmäßigen Spring Cloud Gateway-Routenkonfigurationen, oder aktualisieren Sie die vorhandenen Spring Cloud Gateway-Routenkonfigurationen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/gateways/{gatewayName}/routeConfigs/{routeConfigName}
  • Vorgangs-IdGatewayRouteConfigs_CreateOrUpdate
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayRouteConfigResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppPlatform.AppPlatformGatewayRouteConfigData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.AppPlatformGatewayRouteConfigData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayRouteConfigResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.AppPlatformGatewayRouteConfigData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayRouteConfigResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As AppPlatformGatewayRouteConfigData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AppPlatformGatewayRouteConfigResource)

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
AppPlatformGatewayRouteConfigData

Die Spring Cloud Gateway-Routenkonfiguration für den Erstellungs- oder Aktualisierungsvorgang.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: