Freigeben über


WebSiteSlotConfigResource.UpdateAsync Methode

Definition

Beschreibung für Updates der Konfiguration einer App.

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

Parameter

data
SiteConfigData

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

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: