Freigeben über


StaticSiteBuildResource.CreateOrUpdateFunctionAppSettings Methode

Definition

Beschreibung für Erstellt oder aktualisiert die Funktions-App-Einstellungen eines statischen Websitebuilds.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/builds/{environmentName}/config/functionappsettings
  • Vorgangs-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)

Parameter

appSettings
AppServiceConfigurationDictionary

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

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

appSettings ist NULL.

Gilt für: