Partager via


WebSiteSlotSourceControlResource.UpdateAsync Méthode

Définition

Description de Mises à jour la configuration du contrôle de code source d’une application.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web
  • IdWebApps_UpdateSourceControlSlot d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotSourceControlResource>> 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.WebSiteSlotSourceControlResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.SiteSourceControlData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotSourceControlResource>>
Public Overridable Function UpdateAsync (data As SiteSourceControlData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSiteSlotSourceControlResource))

Paramètres

data
SiteSourceControlData

Représentation JSON d’un objet SiteSourceControl. Consultez les exemples.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à