Freigeben über


WebSiteSourceControlResource.UpdateAsync Methode

Definition

Beschreibung für Updates der Quellcodeverwaltungskonfiguration einer App.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web
  • Vorgangs-IdWebApps_UpdateSourceControl
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSourceControlResource>> UpdateAsync (Azure.ResourceManager.AppService.SiteSourceControlData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.SiteSourceControlData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSourceControlResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.SiteSourceControlData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSourceControlResource>>
Public Overridable Function UpdateAsync (data As SiteSourceControlData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSiteSourceControlResource))

Parameter

data
SiteSourceControlData

JSON-Darstellung eines SiteSourceControl-Objekts. Weitere Informationen sind im Beispiel enthalten.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: