### YamlMime:JavaType uid: "com.azure.monitor.query.models.LogsBatchQuery" fullName: "com.azure.monitor.query.models.LogsBatchQuery" name: "LogsBatchQuery" nameWithType: "LogsBatchQuery" summary: "A fluent class to create a batch of logs queries." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **LogsBatchQuery**" constructors: - uid: "com.azure.monitor.query.models.LogsBatchQuery.LogsBatchQuery()" fullName: "com.azure.monitor.query.models.LogsBatchQuery.LogsBatchQuery()" name: "LogsBatchQuery()" nameWithType: "LogsBatchQuery.LogsBatchQuery()" summary: "Creates an instance of LogsBatchQuery." syntax: "public LogsBatchQuery()" desc: "Creates an instance of LogsBatchQuery." methods: - uid: "com.azure.monitor.query.models.LogsBatchQuery.addWorkspaceQuery(java.lang.String,java.lang.String,com.azure.monitor.query.models.QueryTimeInterval)" fullName: "com.azure.monitor.query.models.LogsBatchQuery.addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval)" name: "addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval)" nameWithType: "LogsBatchQuery.addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval)" summary: "Adds a new logs query to the batch." parameters: - description: "The workspaceId on which the query is executed." name: "workspaceId" type: "String" - description: "The Kusto query." name: "query" type: "String" - description: "The time period for which the logs should be queried." name: "timeInterval" type: "" syntax: "public String addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval)" desc: "Adds a new logs query to the batch." returns: description: "The index of the query in the batch." type: "String" - uid: "com.azure.monitor.query.models.LogsBatchQuery.addWorkspaceQuery(java.lang.String,java.lang.String,com.azure.monitor.query.models.QueryTimeInterval,com.azure.monitor.query.models.LogsQueryOptions)" fullName: "com.azure.monitor.query.models.LogsBatchQuery.addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions logsQueryOptions)" name: "addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions logsQueryOptions)" nameWithType: "LogsBatchQuery.addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions logsQueryOptions)" summary: "Adds a new logs query to the batch." parameters: - description: "The workspaceId on which the query is executed." name: "workspaceId" type: "String" - description: "The Kusto query." name: "query" type: "String" - description: "The time period for which the logs should be queried." name: "timeInterval" type: "" - description: "The log query options to configure server timeout, set additional workspaces or enable\n statistics and rendering information in response." name: "logsQueryOptions" type: "" syntax: "public String addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions logsQueryOptions)" desc: "Adds a new logs query to the batch." returns: description: "The index of the query in the batch." type: "String" type: "class" desc: "A fluent class to create a batch of logs queries." metadata: {} package: "com.azure.monitor.query.models" artifact: com.azure:azure-monitor-query:1.5.1