次の方法で共有


ApplicationInsightsDataClientExtensions.GetEvents メソッド

定義

OData クエリを実行する

public static Microsoft.Azure.ApplicationInsights.Models.EventsResults GetEvents(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);
static member GetEvents : Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient * Microsoft.Azure.ApplicationInsights.Models.EventType * Nullable<TimeSpan> * string * string * string * string * Nullable<int> * Nullable<int> * string * Nullable<bool> * string -> Microsoft.Azure.ApplicationInsights.Models.EventsResults
<Extension()>
Public Function GetEvents (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) As EventsResults

パラメーター

operations
IApplicationInsightsDataClient

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

eventType
EventType

クエリするイベントの種類。標準イベントの種類 (traces、、customEventspageViewsrequestsdependenciesexceptionsavailabilityResults) のいずれか。または$all、すべてのイベントの種類に対してクエリを実行します。 使用できる値は、'$all'、'trace'、'customEvents'、'pageViews'、'browserTimings'、'requests'、'dependencies'、'exceptions'、'availabilityResults'、'performanceCounters'、'customMetrics' です。

timespan
Nullable<TimeSpan>

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

filter
String

返されたイベントをフィルター処理するために使用される式

search
String

特定のイベントを返す必要があるかどうかを照合するフリーテキスト検索式

orderby
String

返されるイベントの順序を制御する "asc" (既定値) または "desc" を持つプロパティのコンマ区切りのリスト

select
String

プロパティを、返される各イベントで要求されたプロパティのみに制限します

skip
Nullable<Int32>

イベントを返す前にスキップする項目の数

top
Nullable<Int32>

返されるイベントの数

format
String

返されるイベントの形式

count
Nullable<Boolean>

返されたイベントに含まれる一致する項目の数を要求する

apply
String

返されたイベントの集計に使用される式

戻り値

注釈

イベントに対して OData クエリを実行します

適用対象