Partilhar via


StaticSiteResource.CreateOrUpdateAppSettings Método

Definição

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

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/appsettings
  • IdStaticSites_CreateOrUpdateStaticSiteAppSettings de operação
public virtual Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary> CreateOrUpdateAppSettings (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary appSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAppSettings : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
override this.CreateOrUpdateAppSettings : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>
Public Overridable Function CreateOrUpdateAppSettings (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 site estático a ser atualizado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

appSettings é nulo.

Aplica-se a