Sdílet prostřednictvím


RoleAssignmentMetricsOperationsExtensions.GetMetricsForSubscriptionAsync Metoda

Definice

Získání metrik využití přiřazení rolí pro předplatné

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)

Parametry

operations
IRoleAssignmentMetricsOperations

Skupina operací pro tuto metodu rozšíření.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro