你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StaticSiteBuildResource.CreateOrUpdateFunctionAppSettings 方法

定义

有关创建或更新静态站点生成的函数应用设置的说明。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings
  • 操作IdStaticSites_CreateOrUpdateStaticSiteBuildFunctionAppSettings
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary> CreateOrUpdateFunctionAppSettings (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary appSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateFunctionAppSettings : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
override this.CreateOrUpdateFunctionAppSettings : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
Public Overridable Function CreateOrUpdateFunctionAppSettings (appSettings As AppServiceConfigurationDictionary, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppServiceConfigurationDictionary)

参数

appSettings
AppServiceConfigurationDictionary

包含要更新的静态站点函数应用设置的字典。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

appSettings 为 null。

适用于