Partager via


WebSiteSlotResource.UpdateApplicationSettingsSlotAsync Méthode

Définition

Description pour Remplace les paramètres d’application d’une application.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings
  • IdWebApps_UpdateApplicationSettingsSlot d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>> UpdateApplicationSettingsSlotAsync (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary appSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateApplicationSettingsSlotAsync : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
override this.UpdateApplicationSettingsSlotAsync : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
Public Overridable Function UpdateApplicationSettingsSlotAsync (appSettings As AppServiceConfigurationDictionary, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceConfigurationDictionary))

Paramètres

appSettings
AppServiceConfigurationDictionary

Paramètres d’application de l’application.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

appSettings a la valeur null.

S’applique à