IOperationalInsightsDataClient.QueryWithHttpMessagesAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
分析クエリを実行する
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.OperationalInsights.Models.QueryResults>> QueryWithHttpMessagesAsync (string query, TimeSpan? timespan = default, System.Collections.Generic.IList<string> workspaces = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member QueryWithHttpMessagesAsync : string * Nullable<TimeSpan> * System.Collections.Generic.IList<string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.OperationalInsights.Models.QueryResults>>
Public Function QueryWithHttpMessagesAsync (query As String, Optional timespan As Nullable(Of TimeSpan) = Nothing, Optional workspaces As IList(Of String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of QueryResults))
パラメーター
- query
- String
実行するクエリ。
- customHeaders
- Dictionary<String,List<String>>
要求に追加されるヘッダー。
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
注釈
データに対して Analytics クエリを実行します。
の 例を次に示します。
分析クエリで POST を使用する。