Partager via


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateWorkerPoolAsync Méthode

Définition

Créer ou mettre à jour un pool de workers.

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

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
WorkerPoolResource

Propriétés du pool de workers.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

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

S’applique à