ISqlDatabase.ListUsageMetricsAsync(CancellationToken) Method

Definition

Asynchronously lists the SQL database usage metrics.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabaseUsageMetric>> ListUsageMetricsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ListUsageMetricsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabaseUsageMetric>>
Public Function ListUsageMetricsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of ISqlDatabaseUsageMetric))

Parameters

cancellationToken
CancellationToken

Returns

Applies to