Delen via


StaticSitesOperationsExtensions.CreateOrUpdateStaticSiteAppSettingsAsync Method

Definition

Creates or updates the app settings of a static site.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.StringDictionary> CreateOrUpdateStaticSiteAppSettingsAsync (this Microsoft.Azure.Management.WebSites.IStaticSitesOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.StringDictionary appSettings, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateStaticSiteAppSettingsAsync : Microsoft.Azure.Management.WebSites.IStaticSitesOperations * string * string * Microsoft.Azure.Management.WebSites.Models.StringDictionary * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.StringDictionary>
<Extension()>
Public Function CreateOrUpdateStaticSiteAppSettingsAsync (operations As IStaticSitesOperations, resourceGroupName As String, name As String, appSettings As StringDictionary, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StringDictionary)

Parameters

operations
IStaticSitesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the static site.

appSettings
StringDictionary

The dictionary containing the static site app settings to update.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates or updates the app settings of a static site.

Applies to