Class TimeSeriesElement
java.lang.Object
com.microsoft.azure.management.monitor.TimeSeriesElement
A time series result type. The discriminator value is always TimeSeries in
this case.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondata()
Get an array of data points representing the metric values.Get the metadata values returned if $filter was specified in the call.withData
(List<MetricValue> data) Set an array of data points representing the metric values.withMetadatavalues
(List<MetadataValue> metadatavalues) Set the metadata values returned if $filter was specified in the call.
-
Constructor Details
-
TimeSeriesElement
public TimeSeriesElement()
-
-
Method Details
-
metadatavalues
Get the metadata values returned if $filter was specified in the call.- Returns:
- the metadatavalues value
-
withMetadatavalues
Set the metadata values returned if $filter was specified in the call.- Parameters:
metadatavalues
- the metadatavalues value to set- Returns:
- the TimeSeriesElement object itself.
-
data
Get an array of data points representing the metric values. This is only returned if a result type of data is specified.- Returns:
- the data value
-
withData
Set an array of data points representing the metric values. This is only returned if a result type of data is specified.- Parameters:
data
- the data value to set- Returns:
- the TimeSeriesElement object itself.
-