次の方法で共有


EventsExtensions.GetPerformanceCounterEventAsync メソッド

定義

パフォーマンス カウンター イベントを取得する

public static System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult>> GetPerformanceCounterEventAsync(this Microsoft.Azure.ApplicationInsights.Query.IEvents operations, string appId, string eventId, string timespan = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPerformanceCounterEventAsync : Microsoft.Azure.ApplicationInsights.Query.IEvents * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults<Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult>>
<Extension()>
Public Function GetPerformanceCounterEventAsync (operations As IEvents, appId As String, eventId As String, Optional timespan As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EventsResults(Of EventsPerformanceCounterResult))

パラメーター

operations
IEvents

この拡張メソッドの操作グループ。

appId
String

アプリケーションの ID。 これは、Azure portalの [API アクセス設定] ブレードの [アプリケーション ID] です。

eventId
String

イベントの ID。

timespan
String

任意。 イベントを取得する期間。 これは ISO8601 期間の値です。 この期間は、Odata 式で指定されているに加えて適用されます。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

1 つのパフォーマンス カウンター イベントのデータを取得します

適用対象