ApplicationInsightsDataClientExtensions.GetEventsAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
OData クエリの実行
public static System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Models.EventsResults> GetEventsAsync(this Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient operations, Microsoft.Azure.ApplicationInsights.Models.EventType eventType, TimeSpan? timespan = default, string filter = default, string search = default, string orderby = default, string select = default, int? skip = default, int? top = default, string format = default, bool? count = default, string apply = default, System.Threading.CancellationToken cancellationToken = default);
static member GetEventsAsync : Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient * Microsoft.Azure.ApplicationInsights.Models.EventType * Nullable<TimeSpan> * string * string * string * string * Nullable<int> * Nullable<int> * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ApplicationInsights.Models.EventsResults>
<Extension()>
Public Function GetEventsAsync (operations As IApplicationInsightsDataClient, eventType As EventType, Optional timespan As Nullable(Of TimeSpan) = Nothing, Optional filter As String = Nothing, Optional search As String = Nothing, Optional orderby As String = Nothing, Optional select As String = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional format As String = Nothing, Optional count As Nullable(Of Boolean) = Nothing, Optional apply As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EventsResults)
パラメーター
- operations
- IApplicationInsightsDataClient
この拡張メソッドの操作グループ。
- eventType
- EventType
クエリを実行するイベントの種類。標準のイベントの種類 (traces
、customEvents
pageViews
、requests
、dependencies
、exceptions
availabilityResults
)、または$all
すべてのイベントの種類に対してクエリを実行します。 使用できる値は、'$all'、'トレース'、'customEvents'、'pageViews'、'browserTimings'、'requests'、'dependencies'、'exceptions'、'availabilityResults'、'performanceCounters'、'customMetrics' です。
- filter
- String
返されるイベントをフィルター処理するために使用される式
- search
- String
特定のイベントを返す必要があるかどうかを照合するフリーテキスト検索式
- orderby
- String
返されるイベントの順序を制御する "asc" (既定値) または "desc" を持つプロパティのコンマ区切りのリスト
- select
- String
プロパティを、返される各イベントで要求されたプロパティのみに制限します
- format
- String
返されるイベントの形式
- apply
- String
返されるイベントの集計に使用される式
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
注釈
イベントの OData クエリを実行します
適用対象
Azure SDK for .NET