Partager via


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateWorkerPoolAsync Méthode

Définition

Créez ou mettez à jour un pool de workers.

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 = default);
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>
<Extension()>
Public Function CreateOrUpdateWorkerPoolAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, workerPoolName As String, workerPoolEnvelope As WorkerPoolResourceInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkerPoolResourceInner)

Paramètres

operations
IAppServiceEnvironmentsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources auquel appartient la ressource.

name
String

Nom du App Service Environment.

workerPoolName
String

Nom du pool de workers.

workerPoolEnvelope
WorkerPoolResourceInner

Propriétés du pool worker.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Description de La création ou de la mise à jour d’un pool de workers.

S’applique à