Compartir a través de


StaticSiteBuildResource.CreateOrUpdateAppSettingsAsync Método

Definición

Descripción para Crea o actualiza la configuración de la aplicación de una compilación de sitio estática.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/appsettings
  • IdStaticSites_CreateOrUpdateStaticSiteBuildAppSettings de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>> CreateOrUpdateAppSettingsAsync (Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary appSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAppSettingsAsync : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
override this.CreateOrUpdateAppSettingsAsync : Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.AppServiceConfigurationDictionary>>
Public Overridable Function CreateOrUpdateAppSettingsAsync (appSettings As AppServiceConfigurationDictionary, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceConfigurationDictionary))

Parámetros

appSettings
AppServiceConfigurationDictionary

Diccionario que contiene la configuración de la aplicación de sitio estática que se va a actualizar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

appSettings es null.

Se aplica a