LogsBatchQuery Class
- java.
lang. Object - com.
azure. monitor. query. models. LogsBatchQuery
- com.
public final class LogsBatchQuery
A fluent class to create a batch of logs queries.
Constructor Summary
Constructor | Description |
---|---|
LogsBatchQuery() |
Creates an instance of Logs |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval)
Adds a new logs query to the batch. |
String |
addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions logsQueryOptions)
Adds a new logs query to the batch. |
Methods inherited from java.lang.Object
Constructor Details
LogsBatchQuery
public LogsBatchQuery()
Creates an instance of LogsBatchQuery.
Method Details
addWorkspaceQuery
public String addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval)
Adds a new logs query to the batch.
Parameters:
Returns:
addWorkspaceQuery
public String addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions logsQueryOptions)
Adds a new logs query to the batch.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for