Share via


WebSiteOperationsExtensions.UpdateConfigurationAsync 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 Task<OperationResponse> UpdateConfigurationAsync(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName,
    WebSiteUpdateConfigurationParameters parameters
)
public:
[ExtensionAttribute]
static Task<OperationResponse^>^ UpdateConfigurationAsync(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName,
    WebSiteUpdateConfigurationParameters^ parameters
)
static member UpdateConfigurationAsync : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string *
        parameters:WebSiteUpdateConfigurationParameters -> Task<OperationResponse>
<ExtensionAttribute>
Public Shared Function UpdateConfigurationAsync (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String,
    parameters As WebSiteUpdateConfigurationParameters
) As Task(Of 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: System.Threading.Tasks.Task<OperationResponse>

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

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top