Partager via


HostingEnvironmentWorkerPoolResource.GetWebWorkerMetricDefinitions 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.Pageable<Azure.ResourceManager.AppService.Models.ResourceMetricDefinition> GetWebWorkerMetricDefinitions (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebWorkerMetricDefinitions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.ResourceMetricDefinition>
override this.GetWebWorkerMetricDefinitions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.ResourceMetricDefinition>
Public Overridable Function GetWebWorkerMetricDefinitions (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ResourceMetricDefinition)

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

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

S’applique à