Partager via


RoleAssignmentMetricsOperationsExtensions.GetMetricsForSubscriptionAsync Méthode

Définition

Obtenir les métriques d’utilisation de l’attribution de rôle pour un abonnement

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentMetricsResult> GetMetricsForSubscriptionAsync (this Microsoft.Azure.Management.Authorization.IRoleAssignmentMetricsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member GetMetricsForSubscriptionAsync : Microsoft.Azure.Management.Authorization.IRoleAssignmentMetricsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentMetricsResult>
<Extension()>
Public Function GetMetricsForSubscriptionAsync (operations As IRoleAssignmentMetricsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RoleAssignmentMetricsResult)

Paramètres

operations
IRoleAssignmentMetricsOperations

Groupe d’opérations pour cette méthode d’extension.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à