ISqlDatabase.ListMetricsAsync(String, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabaseMetric>> ListMetricsAsync (string filter, System.Threading.CancellationToken cancellationToken = default);
abstract member ListMetricsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabaseMetric>>
Public Function ListMetricsAsync (filter As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of ISqlDatabaseMetric))

Parameters

filter
String

An OData filter expression that describes a subset of metrics to return.

cancellationToken
CancellationToken

Returns

Applies to