Dela via


RoleAssignmentMetricsOperationsExtensions.GetMetricsForSubscriptionAsync Metod

Definition

Hämta användningsstatistik för rolltilldelning för en prenumeration

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)

Parametrar

operations
IRoleAssignmentMetricsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för