Share via


WebSiteOperationsExtensions.UpdateConfiguration Method (IWebSiteOperations, String, String, WebSiteUpdateConfigurationParameters)

 

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

Namespace:   Microsoft.WindowsAzure
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Syntax

public static OperationResponse UpdateConfiguration(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName,
    WebSiteUpdateConfigurationParameters parameters
)
public:
[ExtensionAttribute]
static OperationResponse^ UpdateConfiguration(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName,
    WebSiteUpdateConfigurationParameters^ parameters
)
static member UpdateConfiguration : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string *
        parameters:WebSiteUpdateConfigurationParameters -> OperationResponse
<ExtensionAttribute>
Public Shared Function UpdateConfiguration (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String,
    parameters As WebSiteUpdateConfigurationParameters
) As OperationResponse

Parameters

  • webSpaceName
    Type: System.String

    Required. The name of the web space.

  • webSiteName
    Type: System.String

    Required. The name of the web site.

Return Value

Type: Microsoft.WindowsAzure.OperationResponse

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

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top