Freigeben über


MySqlWaitStatisticCollection.GetIfExists(String, CancellationToken) 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 Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlWaitStatisticResource> GetIfExists (string waitStatisticsId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlWaitStatisticResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MySql.MySqlWaitStatisticResource>
Public Overridable Function GetIfExists (waitStatisticsId As String, Optional cancellationToken As CancellationToken = Nothing) As 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: