TopQueryStatisticsOperationsExtensions.ListByServerAsync Method

Definition

Retrieve the Query-Store top queries for specified metric and aggregation.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.QueryStatistic>> ListByServerAsync (this Microsoft.Azure.Management.MySQL.ITopQueryStatisticsOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.MySQL.Models.TopQueryStatisticsInput parameters, System.Threading.CancellationToken cancellationToken = default);
static member ListByServerAsync : Microsoft.Azure.Management.MySQL.ITopQueryStatisticsOperations * string * string * Microsoft.Azure.Management.MySQL.Models.TopQueryStatisticsInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.QueryStatistic>>
<Extension()>
Public Function ListByServerAsync (operations As ITopQueryStatisticsOperations, resourceGroupName As String, serverName As String, parameters As TopQueryStatisticsInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of QueryStatistic))

Parameters

operations
ITopQueryStatisticsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

serverName
String

The name of the server.

parameters
TopQueryStatisticsInput

The required parameters for retrieving top query statistics.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to