Share via


AppServiceEnvironmentsOperationsExtensions.BeginCreateOrUpdateWorkerPoolAsync Method

Definition

Create or update a worker pool.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.WorkerPoolResource> BeginCreateOrUpdateWorkerPoolAsync (this Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, string workerPoolName, Microsoft.Azure.Management.WebSites.Models.WorkerPoolResource workerPoolEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateWorkerPoolAsync : Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.WorkerPoolResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.WorkerPoolResource>
<Extension()>
Public Function BeginCreateOrUpdateWorkerPoolAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, workerPoolName As String, workerPoolEnvelope As WorkerPoolResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkerPoolResource)

Parameters

operations
IAppServiceEnvironmentsOperations

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 Environment.

workerPoolName
String

Name of the worker pool.

workerPoolEnvelope
WorkerPoolResource

Properties of the worker pool.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Create or update a worker pool.

Applies to