Compartir a través de


ITopQueryStatisticsOperations.ListByServerWithHttpMessagesAsync Método

Definición

Recupere la Query-Store consultas principales para la métrica y la agregación especificadas.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.QueryStatistic>>> ListByServerWithHttpMessagesAsync (string resourceGroupName, string serverName, Microsoft.Azure.Management.MySQL.Models.TopQueryStatisticsInput parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByServerWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.MySQL.Models.TopQueryStatisticsInput * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.MySQL.Models.QueryStatistic>>>
Public Function ListByServerWithHttpMessagesAsync (resourceGroupName As String, serverName As String, parameters As TopQueryStatisticsInput, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of QueryStatistic)))

Parámetros

resourceGroupName
String

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

serverName
String

El nombre del servidor.

parameters
TopQueryStatisticsInput

Parámetros necesarios para recuperar las estadísticas de consulta principales.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a