Condividi tramite


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateWorkerPoolAsync Metodo

Definizione

Creare o aggiornare un pool di lavoro.

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)

Parametri

operations
IAppServiceEnvironmentsOperations

Gruppo di operazioni per questo metodo di estensione.

resourceGroupName
String

Nome del gruppo di risorse a cui appartiene la risorsa.

name
String

Nome della ambiente del servizio app.

workerPoolName
String

Nome del pool di lavoro.

workerPoolEnvelope
WorkerPoolResourceInner

Proprietà del pool di lavoro.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Commenti

Descrizione per Creare o aggiornare un pool di lavoro.

Si applica a