Udostępnij za pośrednictwem


WebSiteOperationsExtensions.UpdateConfiguration 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 Microsoft.Azure.AzureOperationResponse UpdateConfiguration (this Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations operations, string webSpaceName, string webSiteName, Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateConfigurationParameters parameters);
static member UpdateConfiguration : Microsoft.WindowsAzure.Management.WebSites.IWebSiteOperations * string * string * Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateConfigurationParameters -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function UpdateConfiguration (operations As IWebSiteOperations, webSpaceName As String, webSiteName As String, parameters As WebSiteUpdateConfigurationParameters) As 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

Microsoft.Azure.AzureOperationResponse

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

Applies to