Share via


AnomalyDetectorClient.EntireDetectWithHttpMessagesAsync Method

Definition

Detect anomalies for the entire series in batch.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.EntireDetectResponse>> EntireDetectWithHttpMessagesAsync (Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request body, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member EntireDetectWithHttpMessagesAsync : Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.EntireDetectResponse>>
override this.EntireDetectWithHttpMessagesAsync : Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.EntireDetectResponse>>
Public Function EntireDetectWithHttpMessagesAsync (body As Request, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of EntireDetectResponse))

Parameters

body
Request

Time series points and period if needed. Advanced model parameters can also be set in the request.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Implements

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Thrown when a required parameter is null

Remarks

This operation generates a model using an entire series, each point is detected with the same model. With this method, points before and after a certain point are used to determine whether it is an anomaly. The entire detection can give user an overall status of the time series.

Applies to