Partilhar via


AppServiceEnvironmentResource.GetHostingEnvironmentWorkerPool 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 Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource> GetHostingEnvironmentWorkerPool (string workerPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHostingEnvironmentWorkerPool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>
override this.GetHostingEnvironmentWorkerPool : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>
Public Overridable Function GetHostingEnvironmentWorkerPool (workerPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As 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