WebSiteOperationsExtensions.UpdateConfigurationAsync Method

Definition

You can update the config settings for a web site by issuing an HTTP PUT with a request body containing the updated settings. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn166985.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UpdateConfigurationAsync (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateConfigurationParameters parameters);
static member UpdateConfigurationAsync : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateConfigurationParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function UpdateConfigurationAsync (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, parameters As WebSiteUpdateConfigurationParameters) As Task(Of AzureOperationResponse)

Parameters

operations
IWebSiteOperations

Reference to the Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations.

webSpaceName
String

Required. The name of the web space.

webSiteName
String

Required. The name of the web site.

parameters
WebSiteUpdateConfigurationParameters

Required. Parameters supplied to the Update Configuration Web Site operation.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to