Partager via


OperationalInsightsWorkspaceResource.GetUsages(CancellationToken) Méthode

Définition

Obtient la liste des métriques d’utilisation d’un espace de travail.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/usages
  • IdUsages_List d’opération
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)

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

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

S’applique à