IWebSiteOperations.UpdateAsync Method

Definition

You can update the settings for a web site by using the HTTP PUT method and by specifying the settings in the request body. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn167005.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateResponse> UpdateAsync (string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateResponse>
Public Function UpdateAsync (webSpaceName As String, webSiteName As String, parameters As WebSiteUpdateParameters, cancellationToken As CancellationToken) As Task(Of WebSiteUpdateResponse)

Parameters

webSpaceName
String

The name of the web space.

webSiteName
String

The name of the web site.

parameters
WebSiteUpdateParameters

Parameters supplied to the Update Web Site operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Update Web Site operation response.

Applies to