HostingEnvironmentWorkerPoolCollection.Get(String, CancellationToken) Méthode

Définition

Description pour obtenir les propriétés d’un pool worker.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}
  • IdAppServiceEnvironments_GetWorkerPool d’opération
public virtual Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource> Get (string workerPoolName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentWorkerPoolResource>
Public Overridable Function Get (workerPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HostingEnvironmentWorkerPoolResource)

Paramètres

workerPoolName
String

Nom du pool de workers.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

workerPoolName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

workerPoolName a la valeur null.

S’applique à