Uses of Class
com.azure.monitor.query.models.MetricsQueryOptions
Packages that use MetricsQueryOptions
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 MetricsQueryOptions in com.azure.monitor.query
Methods in com.azure.monitor.query with parameters of type MetricsQueryOptionsModifier and TypeMethodDescriptionMono<com.azure.core.http.rest.Response<MetricsQueryResult>>MetricsQueryAsyncClient.queryResourceWithResponse(String resourceUri, List<String> metricsNames, MetricsQueryOptions options) Returns all the Azure Monitor metrics requested for the resource.com.azure.core.http.rest.Response<MetricsQueryResult>MetricsQueryClient.queryResourceWithResponse(String resourceUri, List<String> metricsNames, MetricsQueryOptions options, com.azure.core.util.Context context) Returns all the Azure Monitor metrics requested for the resource. -
Uses of MetricsQueryOptions in com.azure.monitor.query.models
Methods in com.azure.monitor.query.models that return MetricsQueryOptionsModifier and TypeMethodDescriptionMetricsQueryOptions.setAggregations(AggregationType... aggregations) Sets the list of aggregations that should be applied to the metrics data.MetricsQueryOptions.setAggregations(List<AggregationType> aggregations) Sets the list of aggregations that should be applied to the metrics data.Sets the filter to be applied to the query.MetricsQueryOptions.setGranularity(Duration granularity) Sets the interval (window size) for which the metric data was returned in.MetricsQueryOptions.setMetricNamespace(String metricNamespace) Sets the namespace of the metrics been queriedMetricsQueryOptions.setOrderBy(String orderBy) Sets the order in which the query results should be ordered.MetricsQueryOptions.setTimeInterval(QueryTimeInterval timeInterval) Sets the time span for which the metrics data is queried.Sets the number of top metrics values to query.