Compartilhar via


AppServiceEnvironmentsOperationsExtensions.CreateOrUpdateWorkerPoolAsync Método

Definição

Criar ou atualizar um pool de trabalho.

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)

Parâmetros

operations
IAppServiceEnvironmentsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos ao qual pertence o recurso.

name
String

Nome do Ambiente do Serviço de Aplicativo.

workerPoolName
String

Nome do pool de trabalho.

workerPoolEnvelope
WorkerPoolResourceInner

Propriedades do pool de trabalho.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Descrição para Criar ou atualizar um pool de trabalho.

Aplica-se a