Freigeben über


StaticSiteResource.CreateOrUpdateFunctionAppSettingsAsync Methode

Definition

Beschreibung für Erstellt oder aktualisiert die Funktions-App-Einstellungen einer statischen Website.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/config/functionappsettings
  • Vorgang IdStaticSites_CreateOrUpdateStaticSiteFunctionAppSettings
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))

Parameter

appSettings
AppServiceConfigurationDictionary

Das Wörterbuch, das die zu aktualisierenden Einstellungen der statischen Websitefunktion enthält.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

appSettings ist NULL.

Gilt für: