Share via


AppServiceEnvironmentsOperationsExtensions.UpdateWorkerPoolAsync Method

Definition

Create or update a worker pool.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner> UpdateWorkerPoolAsync (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 = default);
static member UpdateWorkerPoolAsync : 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>
<Extension()>
Public Function UpdateWorkerPoolAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, workerPoolName As String, workerPoolEnvelope As WorkerPoolResourceInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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

Remarks

Description for Create or update a worker pool.

Applies to