Uses of Class
com.azure.monitor.query.metrics.models.MetricsQueryTimeInterval
Packages that use MetricsQueryTimeInterval
Package
Description
Package containing the data models for Metrics.
-
Uses of MetricsQueryTimeInterval in com.azure.monitor.query.metrics.models
Methods in com.azure.monitor.query.metrics.models that return MetricsQueryTimeIntervalModifier and TypeMethodDescriptionMetricsQueryResourcesOptions.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 MetricsQueryTimeInterval
This method takes an ISO 8601 formatted time interval string and returns an instance ofMetricsQueryTimeInterval
.Methods in com.azure.monitor.query.metrics.models with parameters of type MetricsQueryTimeIntervalModifier and TypeMethodDescriptionMetricsQueryResourcesOptions.setTimeInterval
(MetricsQueryTimeInterval timeInterval) Sets the time span for which the metrics data is queried.Constructors in com.azure.monitor.query.metrics.models with parameters of type MetricsQueryTimeIntervalModifierConstructorDescriptionMetricsQueryResult
(Integer cost, MetricsQueryTimeInterval timeInterval, Duration granularity, String namespace, String resourceRegion, List<MetricResult> metrics) Creates an instance of the response to a metrics query.