Freigeben über


AppPlatformGatewayCustomDomainResource.UpdateAsync Methode

Definition

Erstellen oder aktualisieren Sie die benutzerdefinierte Spring Cloud Gateway-Domäne.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/gateways/{gatewayName}/domains/{domainName}
  • Vorgangs-IdGatewayCustomDomains_CreateOrUpdate
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayCustomDomainResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppPlatform.AppPlatformGatewayCustomDomainData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.AppPlatformGatewayCustomDomainData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayCustomDomainResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.AppPlatformGatewayCustomDomainData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformGatewayCustomDomainResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As AppPlatformGatewayCustomDomainData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AppPlatformGatewayCustomDomainResource))

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
AppPlatformGatewayCustomDomainData

Die benutzerdefinierte Gatewaydomänenressource für den Erstellungs- oder Aktualisierungsvorgang.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: