AnomalyDetectorClientExtensions.LastDetectAsync 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 static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.LastDetectResponse> LastDetectAsync (this Microsoft.Azure.CognitiveServices.AnomalyDetector.IAnomalyDetectorClient operations, Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request body, System.Threading.CancellationToken cancellationToken = default);
static member LastDetectAsync : Microsoft.Azure.CognitiveServices.AnomalyDetector.IAnomalyDetectorClient * Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.LastDetectResponse>
<Extension()>
Public Function LastDetectAsync (operations As IAnomalyDetectorClient, body As Request, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LastDetectResponse)
Parameters
- operations
- IAnomalyDetectorClient
The operations group for this extension method.
- body
- Request
Time series points and period if needed. Advanced model parameters can also be set in the 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