Share via


AppServicePlansOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates an App Service Plan.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServicePlan> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.AppServicePlan appServicePlan, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * string * string * Microsoft.Azure.Management.WebSites.Models.AppServicePlan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.AppServicePlan>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IAppServicePlansOperations, resourceGroupName As String, name As String, appServicePlan As AppServicePlan, 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
AppServicePlan

Details of the App Service plan.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates or updates an App Service Plan.

Applies to