Class TimeSeriesElement

java.lang.Object
com.azure.monitor.query.models.TimeSeriesElement

public final class TimeSeriesElement extends Object
A time series result type.
  • Constructor Details

    • TimeSeriesElement

      public TimeSeriesElement(List<MetricValue> values, Map<String,String> metadata)
      Creates an instance of TimeSeriesElement 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

      public List<MetricValue> getValues()
      Returns a list of data points representing the metric values.
      Returns:
      a list of data points representing the metric
    • getMetadata

      public Map<String,String> getMetadata()
      Returns the metadata values if filter is specified in the request.
      Returns:
      the metadata values if filter is specified in the request.