Compartilhar via


HostingEnvironmentWorkerPoolCollection.GetAsync 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}
  • IdAppServiceEnvironments_GetWorkerPool de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>> GetAsync (string workerPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>>
Public Overridable Function GetAsync (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 era esperado que não estivesse vazio.

workerPoolName é nulo.

Aplica-se a