MySqlWaitStatisticCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve wait statistics for specified aggregation window.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics
- Operation Id: WaitStatistics_ListByServer
- Default Api Version: 2018-06-01
- Resource: MySqlWaitStatisticResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlWaitStatisticResource> GetAllAsync (Azure.ResourceManager.MySql.Models.MySqlWaitStatisticsInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.MySql.Models.MySqlWaitStatisticsInput * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlWaitStatisticResource>
override this.GetAllAsync : Azure.ResourceManager.MySql.Models.MySqlWaitStatisticsInput * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.MySqlWaitStatisticResource>
Public Overridable Function GetAllAsync (input As MySqlWaitStatisticsInput, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MySqlWaitStatisticResource)
Parameters
- input
- MySqlWaitStatisticsInput
The required parameters for retrieving wait statistics.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of MySqlWaitStatisticResource that may take multiple service requests to iterate over.
Exceptions
input
is null.