Partager via


WebSiteSlotResource.UpdateApplicationSettingsSlot 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 Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary> UpdateApplicationSettingsSlot (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary appSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateApplicationSettingsSlot : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
override this.UpdateApplicationSettingsSlot : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
Public Overridable Function UpdateApplicationSettingsSlot (appSettings As AppServiceConfigurationDictionary, Optional cancellationToken As CancellationToken = Nothing) As 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 à