AnomalyDetectorClient.DetectAnomaly(Guid, DetectionRequest, CancellationToken) Method

Definition

Submit detection multivariate anomaly task with the trained model of modelId, the input schema should be the same with the training request. Thus request will be complete asynchronously and will return a resultId for querying the detection result.The request should be a source link to indicate an externally accessible Azure storage Uri (preferably a Shared Access Signature Uri). All time-series used in generate the model must be zipped into one single file. Each time-series will be as follows: the first column is timestamp and the second column is value.

public virtual Azure.Response DetectAnomaly (Guid modelId, Azure.AI.AnomalyDetector.Models.DetectionRequest detectionRequest, System.Threading.CancellationToken cancellationToken = default);
abstract member DetectAnomaly : Guid * Azure.AI.AnomalyDetector.Models.DetectionRequest * System.Threading.CancellationToken -> Azure.Response
override this.DetectAnomaly : Guid * Azure.AI.AnomalyDetector.Models.DetectionRequest * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DetectAnomaly (modelId As Guid, detectionRequest As DetectionRequest, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

modelId
Guid

Model identifier.

detectionRequest
DetectionRequest

Detect anomaly request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Response

Applies to