ISqlElasticPool.ListDatabaseMetricsAsync(String, CancellationToken) Method

Definition

Asynchronously lists the database metrics for this SQL Elastic Pool.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabaseMetric>> ListDatabaseMetricsAsync (string filter, System.Threading.CancellationToken cancellationToken = default);
abstract member ListDatabaseMetricsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabaseMetric>>
Public Function ListDatabaseMetricsAsync (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