Udostępnij za pośrednictwem


IWebSiteOperations.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 System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UpdateConfigurationAsync (string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateConfigurationParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateConfigurationAsync : string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateConfigurationParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function UpdateConfigurationAsync (webSpaceName As String, webSiteName As String, parameters As WebSiteUpdateConfigurationParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

webSpaceName
String

The name of the web space.

webSiteName
String

The name of the web site.

parameters
WebSiteUpdateConfigurationParameters

Parameters supplied to the Update Configuration Web Site operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to