AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateWorkerPoolAsync(IAppServiceEnvironmentsOperations, String, String, String, WorkerPoolResourceInner, CancellationToken) Method

Definition

Create or update a worker pool.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner> CreateOrUpdateWorkerPoolAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, string workerPoolName, Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner workerPoolEnvelope, System.Threading.CancellationToken cancellationToken = null);
static member CreateOrUpdateWorkerPoolAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner>

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
WorkerPoolResourceInner

Properties of the worker pool.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<WorkerPoolResourceInner>

Remarks

Create or update a worker pool.

Applies to