次の方法で共有


StaticSiteResource.CreateOrUpdateFunctionAppSettingsAsync メソッド

定義

説明: 静的サイトの関数アプリ設定を作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings
  • 操作IdStaticSites_CreateOrUpdateStaticSiteFunctionAppSettings
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>> CreateOrUpdateFunctionAppSettingsAsync (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary appSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateFunctionAppSettingsAsync : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
override this.CreateOrUpdateFunctionAppSettingsAsync : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
Public Overridable Function CreateOrUpdateFunctionAppSettingsAsync (appSettings As AppServiceConfigurationDictionary, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceConfigurationDictionary))

パラメーター

appSettings
AppServiceConfigurationDictionary

更新する静的サイト関数アプリの設定を含むディクショナリ。

cancellationToken
CancellationToken

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

戻り値

例外

appSettings が null です。

適用対象