Freigeben über


WebSiteSlotConfigResource.Update(SiteConfigData, CancellationToken) Methode

Definition

Beschreibung für Updates der Konfiguration einer App.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web
  • Vorgang IdWebApps_UpdateConfigurationSlot
public virtual Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotConfigResource> Update (Azure.ResourceManager.AppService.SiteConfigData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AppService.SiteConfigData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotConfigResource>
override this.Update : Azure.ResourceManager.AppService.SiteConfigData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.WebSiteSlotConfigResource>
Public Overridable Function Update (data As SiteConfigData, Optional cancellationToken As CancellationToken = Nothing) As 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: