Partilhar via


StaticSiteBuildResource.CreateOrUpdateFunctionAppSettings 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
  • Operação 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)

Parâmetros

appSettings
AppServiceConfigurationDictionary

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

appSettings é nulo.

Aplica-se a