共用方式為


TopQueryStatisticsOperationsExtensions.GetAsync Method

Definition

Retrieve the query statistic for specified identifier.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.MySQL.Models.QueryStatistic> GetAsync (this Microsoft.Azure.Management.MySQL.ITopQueryStatisticsOperations operations, string resourceGroupName, string serverName, string queryStatisticId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.MySQL.ITopQueryStatisticsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.MySQL.Models.QueryStatistic>
<Extension()>
Public Function GetAsync (operations As ITopQueryStatisticsOperations, resourceGroupName As String, serverName As String, queryStatisticId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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.

queryStatisticId
String

The Query Statistic identifier.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to