AnomalyDetectorClient Class

Definition

The AnomalyDetector service client.

public class AnomalyDetectorClient
type AnomalyDetectorClient = class
Public Class AnomalyDetectorClient
Inheritance
AnomalyDetectorClient

Constructors

AnomalyDetectorClient()

Initializes a new instance of AnomalyDetectorClient for mocking.

AnomalyDetectorClient(Uri, AzureKeyCredential, Nullable<ApiVersion>, AnomalyDetectorClientOptions)

Initializes a new instance of AnomalyDetectorClient.

AnomalyDetectorClient(Uri, TokenCredential, Nullable<ApiVersion>, AnomalyDetectorClientOptions)

Initializes a new instance of AnomalyDetectorClient.

Methods

DeleteMultivariateModel(Guid, CancellationToken)

Delete an existing multivariate model according to the modelId.

DeleteMultivariateModelAsync(Guid, CancellationToken)

Delete an existing multivariate model according to the modelId.

DetectAnomaly(Guid, DetectionRequest, CancellationToken)

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.

DetectAnomalyAsync(Guid, DetectionRequest, CancellationToken)

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.

DetectChangePoint(ChangePointDetectRequest, CancellationToken)

Evaluate change point score of every series point.

DetectChangePointAsync(ChangePointDetectRequest, CancellationToken)

Evaluate change point score of every series point.

DetectEntireSeries(DetectRequest, CancellationToken)

This operation generates a model with 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.

DetectEntireSeriesAsync(DetectRequest, CancellationToken)

This operation generates a model with 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.

DetectLastPoint(DetectRequest, CancellationToken)

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.

DetectLastPointAsync(DetectRequest, CancellationToken)

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.

ExportModel(Guid, CancellationToken)

Export multivariate anomaly detection model based on modelId.

ExportModelAsync(Guid, CancellationToken)

Export multivariate anomaly detection model based on modelId.

GetDetectionResult(Guid, CancellationToken)

Get multivariate anomaly detection result based on resultId returned by the DetectAnomalyAsync api.

GetDetectionResultAsync(Guid, CancellationToken)

Get multivariate anomaly detection result based on resultId returned by the DetectAnomalyAsync api.

GetMultivariateModel(Guid, CancellationToken)

Get detailed information of multivariate model, including the training status and variables used in the model.

GetMultivariateModelAsync(Guid, CancellationToken)

Get detailed information of multivariate model, including the training status and variables used in the model.

LastDetectAnomaly(Guid, LastDetectionRequest, CancellationToken)

Synchronized API for anomaly detection.

LastDetectAnomalyAsync(Guid, LastDetectionRequest, CancellationToken)

Synchronized API for anomaly detection.

ListMultivariateModel(Nullable<Int32>, Nullable<Int32>, CancellationToken)

List models of a subscription.

ListMultivariateModelAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)

List models of a subscription.

TrainMultivariateModel(ModelInfo, CancellationToken)

Create and train a multivariate anomaly detection model. The request must include a source parameter 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 in a single CSV file in which the first column is timestamp and the second column is value.

TrainMultivariateModelAsync(ModelInfo, CancellationToken)

Create and train a multivariate anomaly detection model. The request must include a source parameter 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 in a single CSV file in which the first column is timestamp and the second column is value.

Applies to