Package com.azure.monitor.query.models
Class TimeSeriesElement
java.lang.Object
com.azure.monitor.query.models.TimeSeriesElement
A time series result type.
-
Constructor Summary
ConstructorDescriptionTimeSeriesElement
(List<MetricValue> values, Map<String, String> metadata) Creates an instance ofTimeSeriesElement
with a list of data points representing the metric values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the metadata values if filter is specified in the request.Returns a list of data points representing the metric values.
-
Constructor Details
-
TimeSeriesElement
Creates an instance ofTimeSeriesElement
with a list of data points representing the metric values.- Parameters:
values
- a list of data points representing the metric values.metadata
- the metadata values if filter is specified in the request.
-
-
Method Details
-
getValues
Returns a list of data points representing the metric values.- Returns:
- a list of data points representing the metric
-
getMetadata
Returns the metadata values if filter is specified in the request.- Returns:
- the metadata values if filter is specified in the request.
-