共用方式為


AppServicePlansOperationsExtensions.BeginCreateOrUpdateAsync 方法

定義

建立或更新App Service方案。

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

參數

operations
IAppServicePlansOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

name
String

App Service 方案的名稱。

appServicePlan
AppServicePlanInner

App Service計畫的詳細資料。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

建立或更新App Service方案的描述。

適用於