Compartir a través de


HostingEnvironmentWorkerPoolResource.GetWebWorkerMetricDefinitionsAsync Método

Definición

Descripción para obtener definiciones de métricas para un grupo de trabajo de un App Service Environment.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/metricdefinitions
  • IdAppServiceEnvironments_ListWebWorkerMetricDefinitions de operaciones
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)

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de ResourceMetricDefinition que puede tomar varias solicitudes de servicio para iterar.

Se aplica a