Uses of Class
com.azure.monitor.query.metrics.models.MetricsQueryResourcesOptions
Packages that use MetricsQueryResourcesOptions
Package
Description
Package containing the classes for MetricsQuery.
Package containing the data models for Metrics.
-
Uses of MetricsQueryResourcesOptions in com.azure.monitor.query.metrics
Methods in com.azure.monitor.query.metrics with parameters of type MetricsQueryResourcesOptionsModifier and TypeMethodDescriptionMono
<com.azure.core.http.rest.Response<MetricsQueryResourcesResult>> MetricsAsyncClient.queryResourcesWithResponse
(List<String> resourceIds, List<String> metricsNames, String metricsNamespace, MetricsQueryResourcesOptions options) Returns all the Azure Monitor metrics requested for the batch of resources.com.azure.core.http.rest.Response
<MetricsQueryResourcesResult> MetricsClient.queryResourcesWithResponse
(List<String> resourceIds, List<String> metricsNames, String metricsNamespace, MetricsQueryResourcesOptions options, com.azure.core.util.Context context) Returns all the Azure Monitor metrics requested for the batch of resources. -
Uses of MetricsQueryResourcesOptions in com.azure.monitor.query.metrics.models
Methods in com.azure.monitor.query.metrics.models that return MetricsQueryResourcesOptionsModifier and TypeMethodDescriptionMetricsQueryResourcesOptions.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.MetricsQueryResourcesOptions.setGranularity
(Duration granularity) Sets the interval (window size) for which the metric data was returned in.MetricsQueryResourcesOptions.setOrderBy
(String orderBy) Sets the order in which the query results should be ordered.MetricsQueryResourcesOptions.setRollupBy
(String rollupBy) Sets the dimension name(s) to rollup results by.MetricsQueryResourcesOptions.setTimeInterval
(MetricsQueryTimeInterval timeInterval) Sets the time span for which the metrics data is queried.Sets the number of top metrics values to query.