IAnomalyDetectorClient.LastDetectWithHttpMessagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Detect anomaly status of the latest point in time series.
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.LastDetectResponse>> LastDetectWithHttpMessagesAsync (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 LastDetectWithHttpMessagesAsync : 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.LastDetectResponse>>
Public Function LastDetectWithHttpMessagesAsync (body As Request, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of LastDetectResponse))
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>>
The headers that will be added to request.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
This operation generates a model using points before the latest one. With this method, only historical points are used to determine whether the target point is an anomaly. The latest point detecting operation matches the scenario of real-time monitoring of business metrics.
Applies to
Azure SDK for .NET