WaitStatisticsOperationsExtensions.GetAsync(IWaitStatisticsOperations, String, String, String, CancellationToken) Method

Definition

Retrieve wait statistics for specified identifier.

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

waitStatisticsId
System.String

The Wait Statistic identifier.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<WaitStatistic>

Applies to