次の方法で共有


WebSiteSlotResource.UpdateApplicationSettingsSlotAsync メソッド

定義

[説明] アプリのアプリケーション設定を置き換えます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings
  • 操作IdWebApps_UpdateApplicationSettingsSlot
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))

パラメーター

appSettings
AppServiceConfigurationDictionary

アプリのアプリケーション設定。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

appSettings が null です。

適用対象