Compartir a través de


OperationalInsightsWorkspaceResource.GetUsagesAsync(CancellationToken) Método

Definición

Obtiene una lista de métricas de uso para un área de trabajo.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/usages
  • IdUsages_List de operación
public virtual Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsUsageMetric> GetUsagesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsUsageMetric>
override this.GetUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsUsageMetric>
Public Overridable Function GetUsagesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of OperationalInsightsUsageMetric)

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

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

Se aplica a