Compartir a través de


WebSiteSourceControlResource.UpdateAsync Método

Definición

Descripción de Novedades la configuración de control de código fuente de una aplicación.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web
  • IdWebApps_UpdateSourceControl de operación
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))

Parámetros

data
SiteSourceControlData

Representación JSON de un objeto SiteSourceControl. Vea el ejemplo.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

data es null.

Se aplica a