Freigeben über


MySqlWaitStatisticCollection.GetIfExistsAsync Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/waitStatistics/{waitStatisticsId}
  • Vorgangs-IdWaitStatistics_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlWaitStatisticResource>> GetIfExistsAsync (string waitStatisticsId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlWaitStatisticResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlWaitStatisticResource>>
Public Overridable Function GetIfExistsAsync (waitStatisticsId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of MySqlWaitStatisticResource))

Parameter

waitStatisticsId
String

Der Wait Statistic-Bezeichner.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

waitStatisticsId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

waitStatisticsId ist NULL.

Gilt für: