public final class AnomalyDetectorAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<Void> |
deleteMultivariateModel(UUID modelId)
Delete an existing multivariate model according to the modelId.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteMultivariateModelWithResponse(UUID modelId)
Delete an existing multivariate model according to the modelId.
|
Mono<Void> |
detectAnomaly(UUID modelId,
DetectionRequest detectionRequest)
Submit detection multivariate anomaly task with the trained model of modelId, the input schema should be the same
with the training request.
|
Mono<DetectAnomalyResponse> |
detectAnomalyWithResponse(UUID modelId,
DetectionRequest detectionRequest)
Submit detection multivariate anomaly task with the trained model of modelId, the input schema should be the same
with the training request.
|
Mono<ChangePointDetectResponse> |
detectChangePoint(ChangePointDetectRequest body)
Evaluate change point score of every series point.
|
Mono<com.azure.core.http.rest.Response<ChangePointDetectResponse>> |
detectChangePointWithResponse(ChangePointDetectRequest body)
Evaluate change point score of every series point.
|
Mono<EntireDetectResponse> |
detectEntireSeries(DetectRequest body)
This operation generates a model with an entire series, each point is detected with the same model.
|
Mono<com.azure.core.http.rest.Response<EntireDetectResponse>> |
detectEntireSeriesWithResponse(DetectRequest body)
This operation generates a model with an entire series, each point is detected with the same model.
|
Mono<LastDetectResponse> |
detectLastPoint(DetectRequest body)
This operation generates a model using points before the latest one.
|
Mono<com.azure.core.http.rest.Response<LastDetectResponse>> |
detectLastPointWithResponse(DetectRequest body)
This operation generates a model using points before the latest one.
|
Flux<ByteBuffer> |
exportModel(UUID modelId)
Export multivariate anomaly detection model based on modelId.
|
Mono<com.azure.core.http.rest.StreamResponse> |
exportModelWithResponse(UUID modelId)
Export multivariate anomaly detection model based on modelId.
|
Mono<DetectionResult> |
getDetectionResult(UUID resultId)
Get multivariate anomaly detection result based on resultId returned by the DetectAnomalyAsync api.
|
Mono<com.azure.core.http.rest.Response<DetectionResult>> |
getDetectionResultWithResponse(UUID resultId)
Get multivariate anomaly detection result based on resultId returned by the DetectAnomalyAsync api.
|
Mono<Model> |
getMultivariateModel(UUID modelId)
Get detailed information of multivariate model, including the training status and variables used in the model.
|
Mono<com.azure.core.http.rest.Response<Model>> |
getMultivariateModelWithResponse(UUID modelId)
Get detailed information of multivariate model, including the training status and variables used in the model.
|
com.azure.core.http.rest.PagedFlux<ModelSnapshot> |
listMultivariateModel(Integer skip,
Integer top)
List models of a subscription.
|
Mono<com.azure.core.http.rest.PagedResponse<ModelSnapshot>> |
listMultivariateModelNextSinglePage(String nextLink)
Get the next page of items.
|
Mono<com.azure.core.http.rest.PagedResponse<ModelSnapshot>> |
listMultivariateModelSinglePage(Integer skip,
Integer top)
List models of a subscription.
|
Mono<Void> |
trainMultivariateModel(ModelInfo modelRequest)
Create and train a multivariate anomaly detection model.
|
Mono<TrainMultivariateModelResponse> |
trainMultivariateModelWithResponse(ModelInfo modelRequest)
Create and train a multivariate anomaly detection model.
|
public Mono<com.azure.core.http.rest.Response<EntireDetectResponse>> detectEntireSeriesWithResponse(DetectRequest body)
body
- Time series points and period if needed. Advanced model parameters can also be set in the request.IllegalArgumentException
- thrown if parameters fail the validation.AnomalyDetectorErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<EntireDetectResponse> detectEntireSeries(DetectRequest body)
body
- Time series points and period if needed. Advanced model parameters can also be set in the request.IllegalArgumentException
- thrown if parameters fail the validation.AnomalyDetectorErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<LastDetectResponse>> detectLastPointWithResponse(DetectRequest body)
body
- Time series points and period if needed. Advanced model parameters can also be set in the request.IllegalArgumentException
- thrown if parameters fail the validation.AnomalyDetectorErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<LastDetectResponse> detectLastPoint(DetectRequest body)
body
- Time series points and period if needed. Advanced model parameters can also be set in the request.IllegalArgumentException
- thrown if parameters fail the validation.AnomalyDetectorErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<ChangePointDetectResponse>> detectChangePointWithResponse(ChangePointDetectRequest body)
body
- Time series points and granularity is needed. Advanced model parameters can also be set in the
request if needed.IllegalArgumentException
- thrown if parameters fail the validation.AnomalyDetectorErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<ChangePointDetectResponse> detectChangePoint(ChangePointDetectRequest body)
body
- Time series points and granularity is needed. Advanced model parameters can also be set in the
request if needed.IllegalArgumentException
- thrown if parameters fail the validation.AnomalyDetectorErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<TrainMultivariateModelResponse> trainMultivariateModelWithResponse(ModelInfo modelRequest)
modelRequest
- Training request.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> trainMultivariateModel(ModelInfo modelRequest)
modelRequest
- Training request.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Model>> getMultivariateModelWithResponse(UUID modelId)
modelId
- Model identifier.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Model> getMultivariateModel(UUID modelId)
modelId
- Model identifier.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> deleteMultivariateModelWithResponse(UUID modelId)
modelId
- Model identifier.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> deleteMultivariateModel(UUID modelId)
modelId
- Model identifier.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<DetectAnomalyResponse> detectAnomalyWithResponse(UUID modelId, DetectionRequest detectionRequest)
modelId
- Model identifier.detectionRequest
- Detect anomaly request.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> detectAnomaly(UUID modelId, DetectionRequest detectionRequest)
modelId
- Model identifier.detectionRequest
- Detect anomaly request.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<DetectionResult>> getDetectionResultWithResponse(UUID resultId)
resultId
- Result identifier.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<DetectionResult> getDetectionResult(UUID resultId)
resultId
- Result identifier.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.StreamResponse> exportModelWithResponse(UUID modelId)
modelId
- Model identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Flux<ByteBuffer> exportModel(UUID modelId)
modelId
- Model identifier.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.exception.HttpResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<ModelSnapshot>> listMultivariateModelSinglePage(Integer skip, Integer top)
skip
- $skip indicates how many models will be skipped.top
- $top indicates how many models will be fetched.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedFlux<ModelSnapshot> listMultivariateModel(Integer skip, Integer top)
skip
- $skip indicates how many models will be skipped.top
- $top indicates how many models will be fetched.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<ModelSnapshot>> listMultivariateModelNextSinglePage(String nextLink)
nextLink
- The nextLink parameter.IllegalArgumentException
- thrown if parameters fail the validation.ErrorResponseException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.