Share via


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateWorkerPoolAsync Method

Definition

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

resourceGroupName
String
name
String
workerPoolName
String
workerPoolEnvelope
WorkerPoolResource
cancellationToken
CancellationToken

Returns

Applies to