azure-docs-sdk-java/docs-ref-autogen/com.azure.monitor.query.mod...

81 строка
5.8 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
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 Logs<wbr>Batch<wbr>Query."
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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The Kusto query."
name: "query"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The time period for which the logs should be queried."
name: "timeInterval"
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The Kusto query."
name: "query"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The time period for which the logs should be queried."
name: "timeInterval"
type: "<xref href=\"com.azure.monitor.query.models.QueryTimeInterval?alt=com.azure.monitor.query.models.QueryTimeInterval&text=QueryTimeInterval\" data-throw-if-not-resolved=\"False\" />"
- description: "The log query options to configure server timeout, set additional workspaces or enable\n statistics and rendering information in response."
name: "logsQueryOptions"
type: "<xref href=\"com.azure.monitor.query.models.LogsQueryOptions?alt=com.azure.monitor.query.models.LogsQueryOptions&text=LogsQueryOptions\" data-throw-if-not-resolved=\"False\" />"
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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
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