Share via


IWebHostingPlanOperations.UpdateAsync Method

Updates an existing Web Hosting Plan. (see https://azure.microsoft.com/en-us/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/ for more information)

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

Usage

'Usage
Dim instance As IWebHostingPlanOperations
Dim webSpaceName As String
Dim webHostingPlanName As String
Dim parameters As WebHostingPlanUpdateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of WebHostingPlanUpdateResponse)

returnValue = instance.UpdateAsync(webSpaceName, webHostingPlanName, parameters, cancellationToken)

Syntax

'Declaration
Function UpdateAsync ( _
    webSpaceName As String, _
    webHostingPlanName As String, _
    parameters As WebHostingPlanUpdateParameters, _
    cancellationToken As CancellationToken _
) As Task(Of WebHostingPlanUpdateResponse)
Task<WebHostingPlanUpdateResponse> UpdateAsync (
    string webSpaceName,
    string webHostingPlanName,
    WebHostingPlanUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<WebHostingPlanUpdateResponse^>^ UpdateAsync (
    String^ webSpaceName, 
    String^ webHostingPlanName, 
    WebHostingPlanUpdateParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<WebHostingPlanUpdateResponse> UpdateAsync (
    String webSpaceName, 
    String webHostingPlanName, 
    WebHostingPlanUpdateParameters parameters, 
    CancellationToken cancellationToken
)
function UpdateAsync (
    webSpaceName : String, 
    webHostingPlanName : String, 
    parameters : WebHostingPlanUpdateParameters, 
    cancellationToken : CancellationToken
) : Task<WebHostingPlanUpdateResponse>

Parameters

  • webSpaceName
    The name of the web space.
  • webHostingPlanName
    The name of the web hosting plan.
  • parameters
    Parameters supplied to the Update Web Hosting Plan operation.
  • cancellationToken
    Cancellation token.

Return Value

The Create Web Hosting Plan operation response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IWebHostingPlanOperations Interface
IWebHostingPlanOperations Members
Microsoft.WindowsAzure.Management.WebSites Namespace