Udostępnij za pośrednictwem


AppServicePlansOperationsExtensions.UpdateAsync Method

Definition

Creates or updates an App Service Plan.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServicePlan> UpdateAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.AppServicePlanPatchResource appServicePlan, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * string * string * Microsoft.Azure.Management.WebSites.Models.AppServicePlanPatchResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServicePlan>
<Extension()>
Public Function UpdateAsync (operations As IAppServicePlansOperations, resourceGroupName As String, name As String, appServicePlan As AppServicePlanPatchResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AppServicePlan)

Parameters

operations
IAppServicePlansOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the App Service plan.

appServicePlan
AppServicePlanPatchResource

Details of the App Service plan.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates or updates an App Service Plan.

Applies to