Compartilhar via


StaticSiteBuildResource.CreateOrUpdateFunctionAppSettingsAsync Método

Definição

Descrição de Cria ou atualiza as configurações do aplicativo de funções de um build de site estático.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings
  • IdStaticSites_CreateOrUpdateStaticSiteBuildFunctionAppSettings de operação
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))

Parâmetros

appSettings
AppServiceConfigurationDictionary

O dicionário que contém as configurações do aplicativo de funções de site estático a ser atualizado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

appSettings é nulo.

Aplica-se a