Uses of Class
com.azure.monitor.query.models.QueryTimeInterval
Packages that use QueryTimeInterval
Package
Description
Package containing clients for querying logs and metrics from Azure Monitor.
Package containing models for querying logs and metrics from Azure Monitor.
-
Uses of QueryTimeInterval in com.azure.monitor.query
Methods in com.azure.monitor.query with parameters of type QueryTimeIntervalModifier and TypeMethodDescriptionLogsQueryAsyncClient.queryResource(String resourceId, String query, QueryTimeInterval timeInterval) Returns all the Azure Monitor logs matching the given query for an Azure resource.LogsQueryAsyncClient.queryResource(String resourceId, String query, QueryTimeInterval timeInterval, Class<T> type) Returns all the Azure Monitor logs matching the given query for an Azure resource.LogsQueryAsyncClient.queryResource(String resourceId, String query, QueryTimeInterval timeInterval, Class<T> type, LogsQueryOptions options) Returns all the Azure Monitor logs matching the given query for an Azure resource.LogsQueryClient.queryResource(String resourceId, String query, QueryTimeInterval timeInterval) Returns all the Azure Monitor logs matching the given query for an Azure resource.<T> List<T>LogsQueryClient.queryResource(String resourceId, String query, QueryTimeInterval timeInterval, Class<T> type) Returns all the Azure Monitor logs matching the given query for an Azure resource.<T> List<T>LogsQueryClient.queryResource(String resourceId, String query, QueryTimeInterval timeInterval, Class<T> type, LogsQueryOptions options) Returns all the Azure Monitor logs matching the given query for an Azure resource.Mono<com.azure.core.http.rest.Response<LogsQueryResult>>LogsQueryAsyncClient.queryResourceWithResponse(String resourceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions options) Returns all the Azure Monitor logs matching the given query for an Azure resource.LogsQueryAsyncClient.queryResourceWithResponse(String resourceId, String query, QueryTimeInterval timeInterval, Class<T> type, LogsQueryOptions options) Returns all the Azure Monitor logs matching the given query for an Azure resource.com.azure.core.http.rest.Response<LogsQueryResult>LogsQueryClient.queryResourceWithResponse(String resourceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions options, com.azure.core.util.Context context) Returns all the Azure Monitor logs matching the given query for an Azure resource.<T> com.azure.core.http.rest.Response<List<T>>LogsQueryClient.queryResourceWithResponse(String resourceId, String query, QueryTimeInterval timeInterval, Class<T> type, LogsQueryOptions options, com.azure.core.util.Context context) Returns all the Azure Monitor logs matching the given query for an Azure resource.LogsQueryAsyncClient.queryWorkspace(String workspaceId, String query, QueryTimeInterval timeInterval) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.LogsQueryAsyncClient.queryWorkspace(String workspaceId, String query, QueryTimeInterval timeInterval, Class<T> type) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.LogsQueryAsyncClient.queryWorkspace(String workspaceId, String query, QueryTimeInterval timeInterval, Class<T> type, LogsQueryOptions options) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.LogsQueryClient.queryWorkspace(String workspaceId, String query, QueryTimeInterval timeInterval) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.<T> List<T>LogsQueryClient.queryWorkspace(String workspaceId, String query, QueryTimeInterval timeInterval, Class<T> type) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.<T> List<T>LogsQueryClient.queryWorkspace(String workspaceId, String query, QueryTimeInterval timeInterval, Class<T> type, LogsQueryOptions options) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.Mono<com.azure.core.http.rest.Response<LogsQueryResult>>LogsQueryAsyncClient.queryWorkspaceWithResponse(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions options) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.LogsQueryAsyncClient.queryWorkspaceWithResponse(String workspaceId, String query, QueryTimeInterval timeInterval, Class<T> type, LogsQueryOptions options) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.com.azure.core.http.rest.Response<LogsQueryResult>LogsQueryClient.queryWorkspaceWithResponse(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions options, com.azure.core.util.Context context) Returns all the Azure Monitor logs matching the given query in the specified workspaceId.<T> com.azure.core.http.rest.Response<List<T>>LogsQueryClient.queryWorkspaceWithResponse(String workspaceId, String query, QueryTimeInterval timeInterval, Class<T> type, LogsQueryOptions options, com.azure.core.util.Context context) Returns all the Azure Monitor logs matching the given query in the specified workspaceId. -
Uses of QueryTimeInterval in com.azure.monitor.query.models
Fields in com.azure.monitor.query.models declared as QueryTimeIntervalModifier and TypeFieldDescriptionstatic final QueryTimeIntervalQueryTimeInterval.ALLTime interval of all time.static final QueryTimeIntervalQueryTimeInterval.LAST_1_HOURTime interval of the last hour.static final QueryTimeIntervalQueryTimeInterval.LAST_12_HOURSTime interval of the last 12 hours.static final QueryTimeIntervalQueryTimeInterval.LAST_2_DAYSTime interval of the last 2 days.static final QueryTimeIntervalQueryTimeInterval.LAST_3_DAYSTime interval of the last 3 days.static final QueryTimeIntervalQueryTimeInterval.LAST_30_MINUTESTime interval of the last 30 minutes.static final QueryTimeIntervalQueryTimeInterval.LAST_4_HOURSTime interval of the last 4 hours.static final QueryTimeIntervalQueryTimeInterval.LAST_5_MINUTESTime interval of the last 5 minutes.static final QueryTimeIntervalQueryTimeInterval.LAST_7_DAYSTime interval of the last 7 days.static final QueryTimeIntervalQueryTimeInterval.LAST_DAYTime interval of the last day.Methods in com.azure.monitor.query.models that return QueryTimeIntervalModifier and TypeMethodDescriptionMetricsQueryOptions.getTimeInterval()Returns the time span for which the metrics data is queried.MetricsQueryResult.getTimeInterval()Returns the time interval for which the data was retrieved.static QueryTimeIntervalThis method takes an ISO 8601 formatted time interval string and returns an instance ofQueryTimeInterval.Methods in com.azure.monitor.query.models with parameters of type QueryTimeIntervalModifier and TypeMethodDescriptionLogsBatchQuery.addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval) Adds a new logs query to the batch.LogsBatchQuery.addWorkspaceQuery(String workspaceId, String query, QueryTimeInterval timeInterval, LogsQueryOptions logsQueryOptions) Adds a new logs query to the batch.MetricsQueryOptions.setTimeInterval(QueryTimeInterval timeInterval) Sets the time span for which the metrics data is queried.Constructors in com.azure.monitor.query.models with parameters of type QueryTimeIntervalModifierConstructorDescriptionMetricsQueryResult(Integer cost, QueryTimeInterval timeInterval, Duration granularity, String namespace, String resourceRegion, List<MetricResult> metrics) Creates an instance of the response to a metrics query.