Compartir a través de


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

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

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

Se aplica a