Freigeben über


StaticSiteResource.CreateOrUpdateAppSettingsAsync Methode

Definition

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

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

Parameter

appSettings
AppServiceConfigurationDictionary

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

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

appSettings ist NULL.

Gilt für: