Freigeben über


WebSiteResource.UpdateApplicationSettingsAsync Methode

Definition

Beschreibung für Ersetzt die Anwendungseinstellungen einer App.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings
  • Vorgangs-IdWebApps_UpdateApplicationSettings
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>> UpdateApplicationSettingsAsync (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary appSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateApplicationSettingsAsync : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
override this.UpdateApplicationSettingsAsync : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
Public Overridable Function UpdateApplicationSettingsAsync (appSettings As AppServiceConfigurationDictionary, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceConfigurationDictionary))

Parameter

appSettings
AppServiceConfigurationDictionary

Anwendungseinstellungen der App.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

appSettings ist NULL.

Gilt für: