Partager via


HostingEnvironmentWorkerPoolResource.GetWebWorkerMetricDefinitionsAsync Méthode

Définition

Description pour obtenir des définitions de métriques pour un pool de workers d’un App Service Environment.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions
  • IdAppServiceEnvironments_ListWebWorkerMetricDefinitions d’opération
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.ResourceMetricDefinition> GetWebWorkerMetricDefinitionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebWorkerMetricDefinitionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.ResourceMetricDefinition>
override this.GetWebWorkerMetricDefinitionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.ResourceMetricDefinition>
Public Overridable Function GetWebWorkerMetricDefinitionsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceMetricDefinition)

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de ResourceMetricDefinition service pour itérer.

S’applique à