Share via


WebSiteOperationsExtensions.UpdateAsync Method (IWebSiteOperations, String, String, WebSiteUpdateParameters)

 

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 https://msdn.microsoft.com/en-us/library/windowsazure/dn167005.aspx for more information)

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

Syntax

public static Task<WebSiteUpdateResponse> UpdateAsync(
    this IWebSiteOperations operations,
    string webSpaceName,
    string webSiteName,
    WebSiteUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<WebSiteUpdateResponse^>^ UpdateAsync(
    IWebSiteOperations^ operations,
    String^ webSpaceName,
    String^ webSiteName,
    WebSiteUpdateParameters^ parameters
)
static member UpdateAsync : 
        operations:IWebSiteOperations *
        webSpaceName:string *
        webSiteName:string *
        parameters:WebSiteUpdateParameters -> Task<WebSiteUpdateResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
    operations As IWebSiteOperations,
    webSpaceName As String,
    webSiteName As String,
    parameters As WebSiteUpdateParameters
) As Task(Of WebSiteUpdateResponse)

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<WebSiteUpdateResponse>

The Update Web Site operation response.

See Also

WebSiteOperationsExtensions Class
Microsoft.WindowsAzure Namespace

Return to top