次の方法で共有


OperationalInsightsDataClientExtensions.Query メソッド

定義

分析クエリを実行する

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

パラメーター

operations
IOperationalInsightsDataClient

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

query
String

実行するクエリ。

timespan
Nullable<TimeSpan>

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

workspaces
IList<String>

クエリに含まれるワークスペースの一覧。

戻り値

注釈

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

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

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

適用対象