次の方法で共有


ApplicationInsightsDataClientExtensions.Query メソッド

定義

分析クエリを実行する

public static Microsoft.Azure.ApplicationInsights.Models.QueryResults Query (this Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient operations, string query, TimeSpan? timespan = default, TimeSpan? timespan1 = default, System.Collections.Generic.IList<string> applications = default);
static member Query : Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient * string * Nullable<TimeSpan> * Nullable<TimeSpan> * System.Collections.Generic.IList<string> -> Microsoft.Azure.ApplicationInsights.Models.QueryResults
<Extension()>
Public Function Query (operations As IApplicationInsightsDataClient, query As String, Optional timespan As Nullable(Of TimeSpan) = Nothing, Optional timespan1 As Nullable(Of TimeSpan) = Nothing, Optional applications As IList(Of String) = Nothing) As QueryResults

パラメーター

operations
IApplicationInsightsDataClient

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

query
String

実行するクエリ。

timespan
Nullable<TimeSpan>

省略可能。 データのクエリを実行する期間。 これは ISO8601 期間の値です。 この期間は、クエリ式で指定されているに加えて適用されます。

timespan1
Nullable<TimeSpan>

任意。 データのクエリを実行する期間。 これは ISO8601 期間の値です。 この期間は、クエリ式で指定されているに加えて適用されます。

applications
IList<String>

クエリに含まれるアプリケーションの一覧。

戻り値

注釈

データに対して Analytics クエリを実行します。

POST を使用する例を次に示します。

分析クエリを使用します。

適用対象