Compartilhar via


AppServiceEnvironmentResource.GetHostingEnvironmentWorkerPoolAsync Método

Definição

Descrição para Obter propriedades de um pool de trabalho.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • Operação IdAppServiceEnvironments_GetWorkerPool
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>> GetHostingEnvironmentWorkerPoolAsync (string workerPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHostingEnvironmentWorkerPoolAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>>
override this.GetHostingEnvironmentWorkerPoolAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>>
Public Overridable Function GetHostingEnvironmentWorkerPoolAsync (workerPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HostingEnvironmentWorkerPoolResource))

Parâmetros

workerPoolName
String

Nome do pool de trabalho.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

workerPoolName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

workerPoolName é nulo.

Aplica-se a