WaitStatisticsOperationsExtensions.ListByServerAsync(IWaitStatisticsOperations, String, String, WaitStatisticsInput, CancellationToken) Method

Definition

Retrieve wait statistics for specified aggregation window.

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

Parameters

operations
IWaitStatisticsOperations

The operations group for this extension method.

resourceGroupName
System.String

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

serverName
System.String

The name of the server.

parameters
WaitStatisticsInput

The required parameters for retrieving wait statistics.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<WaitStatistic>>

Applies to