Compartilhar via


AppServicePlansOperationsExtensions.CreateOrUpdateAsync Method

Definition

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

Parameters

resourceGroupName
String
name
String
appServicePlan
AppServicePlan
cancellationToken
CancellationToken

Returns

Applies to