WebAppsOperationsExtensions.CreateOrUpdateConfigurationAsync Method

Definition

Updates the configuration of an app.

C#
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SiteConfigResource> CreateOrUpdateConfigurationAsync(this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.SiteConfigResource siteConfig, System.Threading.CancellationToken cancellationToken = default);

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

siteConfig
SiteConfigResource

JSON representation of a SiteConfig object. See example.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Updates the configuration of an app.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
Azure SDK for .NET Legacy