DetectRequest(IEnumerable<TimeSeriesPoint>) Constructor

Definition

Initializes a new instance of DetectRequest.

public DetectRequest (System.Collections.Generic.IEnumerable<Azure.AI.AnomalyDetector.Models.TimeSeriesPoint> series);
new Azure.AI.AnomalyDetector.Models.DetectRequest : seq<Azure.AI.AnomalyDetector.Models.TimeSeriesPoint> -> Azure.AI.AnomalyDetector.Models.DetectRequest
Public Sub New (series As IEnumerable(Of TimeSeriesPoint))

Parameters

series
System.Collections.Generic.IEnumerable<TimeSeriesPoint>

Time series data points. Points should be sorted by timestamp in ascending order to match the anomaly detection result. If the data is not sorted correctly or there is duplicated timestamp, the API will not work. In such case, an error message will be returned.

Exceptions

System.ArgumentNullException

series is null.

Applies to