Compartilhar via


RoleAssignmentMetricsOperationsExtensions.GetMetricsForSubscriptionAsync Método

Definição

Obter métricas de uso de atribuição de função para uma assinatura

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)

Parâmetros

operations
IRoleAssignmentMetricsOperations

O grupo de operações para esse método de extensão.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a