public final class LogsBatchQuery extends Object
Constructor and Description |
---|
LogsBatchQuery() |
Modifier and Type | Method and Description |
---|---|
String |
addQuery(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval)
Adds a new logs query to the batch.
|
String |
addQuery(String workspaceId,
String query,
com.azure.core.experimental.models.TimeInterval timeInterval,
LogsQueryOptions logsQueryOptions)
Adds a new logs query to the batch.
|
public String addQuery(String workspaceId, String query, com.azure.core.experimental.models.TimeInterval timeInterval)
workspaceId
- The workspaceId on which the query is executed.query
- The Kusto query.timeInterval
- The time period for which the logs should be queried.public String addQuery(String workspaceId, String query, com.azure.core.experimental.models.TimeInterval timeInterval, LogsQueryOptions logsQueryOptions)
workspaceId
- The workspaceId on which the query is executed.query
- The Kusto query.timeInterval
- The time period for which the logs should be queried.logsQueryOptions
- The log query options to configure server timeout, set additional workspaces or enable
statistics and rendering information in response.Copyright © 2021 Microsoft Corporation. All rights reserved.