共用方式為


AppServiceEnvironmentsOperationsExtensions.BeginCreateOrUpdateMultiRolePoolAsync 方法

定義

建立或更新多角色集區。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner> BeginCreateOrUpdateMultiRolePoolAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner multiRolePoolEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateMultiRolePoolAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner>
<Extension()>
Public Function BeginCreateOrUpdateMultiRolePoolAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, multiRolePoolEnvelope As WorkerPoolResourceInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkerPoolResourceInner)

參數

operations
IAppServiceEnvironmentsOperations

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

resourceGroupName
String

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

name
String

App Service 環境的名稱。

multiRolePoolEnvelope
WorkerPoolResourceInner

多重角色集區的屬性。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

建立或更新多重角色集區的描述。

適用於