Freigeben über


MySqlQueryStatisticCollection.GetAllAsync Methode

Definition

Rufen Sie die Query-Store wichtigsten Abfragen für die angegebene Metrik und Aggregation ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/topQueryStatistics
  • Vorgangs-IdTopQueryStatistics_ListByServer
public virtual Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlQueryStatisticResource> GetAllAsync (Azure.ResourceManager.MySql.Models.MySqlTopQueryStatisticsInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.MySql.Models.MySqlTopQueryStatisticsInput * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlQueryStatisticResource>
override this.GetAllAsync : Azure.ResourceManager.MySql.Models.MySqlTopQueryStatisticsInput * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlQueryStatisticResource>
Public Overridable Function GetAllAsync (input As MySqlTopQueryStatisticsInput, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MySqlQueryStatisticResource)

Parameter

input
MySqlTopQueryStatisticsInput

Die erforderlichen Parameter für das Abrufen der statistiken der obersten Abfrage.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von MySqlQueryStatisticResource , die mehrere Dienstanforderungen durchlaufen kann.

Ausnahmen

input ist NULL.

Gilt für: