AppServicePlansOperationsExtensions.CreateOrUpdateAsync(IAppServicePlansOperations, String, String, AppServicePlanInner, CancellationToken) Method

Definition

Creates or updates an App Service Plan.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServicePlansOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanInner appServicePlan, System.Threading.CancellationToken cancellationToken = null);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServicePlansOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanInner>

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
AppServicePlanInner

Details of the App Service plan.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<AppServicePlanInner>

Remarks

Creates or updates an App Service Plan.

Applies to