Partager via


WebSiteSlotSourceControlResource.Update Méthode

Définition

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

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