AppServiceEnvironmentsOperationsExtensions.UpdateWorkerPoolAsync(IAppServiceEnvironmentsOperations, String, String, String, WorkerPoolResource, CancellationToken) Method

Definition

Create or update a worker pool.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.WorkerPoolResource> UpdateWorkerPoolAsync (this Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, string workerPoolName, Microsoft.Azure.Management.WebSites.Models.WorkerPoolResource workerPoolEnvelope, System.Threading.CancellationToken cancellationToken = null);
static member UpdateWorkerPoolAsync : 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>

Parameters

operations
IAppServiceEnvironmentsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the App Service Environment.

workerPoolName
System.String

Name of the worker pool.

workerPoolEnvelope
WorkerPoolResource

Properties of the worker pool.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<WorkerPoolResource>

Remarks

Create or update a worker pool.

Applies to