Freigeben über


AppPlatformBuildResource.Update Methode

Definition

Erstellen oder Aktualisieren eines KPack-Builds

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/builds/{buildName}
  • Vorgangs-IdBuildService_CreateOrUpdateBuild
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformBuildResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppPlatform.AppPlatformBuildData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.AppPlatformBuildData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformBuildResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.AppPlatform.AppPlatformBuildData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppPlatform.AppPlatformBuildResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As AppPlatformBuildData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AppPlatformBuildResource)

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
AppPlatformBuildData

Parameter für den Erstellungs- oder Aktualisierungsvorgang.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: