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. - * - *
Request Body Schema - * - *
{@code - * { - * series (Required): [ - * (Required){ - * timestamp: OffsetDateTime (Optional) - * value: double (Required) - * } - * ] - * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional) - * customInterval: Integer (Optional) - * period: Integer (Optional) - * maxAnomalyRatio: Double (Optional) - * sensitivity: Integer (Optional) - * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional) - * imputeFixedValue: Double (Optional) - * } - * }- * - *
Response Body Schema - * - *
{@code - * { - * period: int (Required) - * expectedValues (Required): [ - * double (Required) - * ] - * upperMargins (Required): [ - * double (Required) - * ] - * lowerMargins (Required): [ - * double (Required) - * ] - * isAnomaly (Required): [ - * boolean (Required) - * ] - * isNegativeAnomaly (Required): [ - * boolean (Required) - * ] - * isPositiveAnomaly (Required): [ - * boolean (Required) - * ] - * severity (Optional): [ - * double (Optional) - * ] - * } - * }- * - * @param options Method of univariate anomaly detection. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response of entire anomaly detection along with {@link Response} on successful completion of {@link - * Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono
This operation generates a model using the points that you sent into the API, and based on all data to - * determine whether the last point is anomalous. - * - *
Request Body Schema - * - *
{@code - * { - * series (Required): [ - * (Required){ - * timestamp: OffsetDateTime (Optional) - * value: double (Required) - * } - * ] - * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional) - * customInterval: Integer (Optional) - * period: Integer (Optional) - * maxAnomalyRatio: Double (Optional) - * sensitivity: Integer (Optional) - * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional) - * imputeFixedValue: Double (Optional) - * } - * }- * - *
Response Body Schema - * - *
{@code - * { - * period: int (Required) - * suggestedWindow: int (Required) - * expectedValue: double (Required) - * upperMargin: double (Required) - * lowerMargin: double (Required) - * isAnomaly: boolean (Required) - * isNegativeAnomaly: boolean (Required) - * isPositiveAnomaly: boolean (Required) - * severity: Double (Optional) - * } - * }- * - * @param options Method of univariate anomaly detection. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response of last anomaly detection along with {@link Response} on successful completion of {@link - * Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono
Evaluate change point score of every series point. - * - *
Request Body Schema - * - *
{@code - * { - * series (Required): [ - * (Required){ - * timestamp: OffsetDateTime (Optional) - * value: double (Required) - * } - * ] - * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Required) - * customInterval: Integer (Optional) - * period: Integer (Optional) - * stableTrendWindow: Integer (Optional) - * threshold: Double (Optional) - * } - * }- * - *
Response Body Schema - * - *
{@code - * { - * period: Integer (Optional) - * isChangePoint (Optional): [ - * boolean (Optional) - * ] - * confidenceScores (Optional): [ - * double (Optional) - * ] - * } - * }- * - * @param options Method of univariate anomaly detection. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the response of change point detection along with {@link Response} on successful completion of {@link - * Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono
For asynchronous inference, get multivariate anomaly detection result based on resultId returned by the - * BatchDetectAnomaly api. - * - *
Response Body Schema - * - *
{@code - * { - * resultId: String (Required) - * summary (Required): { - * status: String(CREATED/RUNNING/READY/FAILED) (Required) - * errors (Optional): [ - * (Optional){ - * code: String (Required) - * message: String (Required) - * } - * ] - * variableStates (Optional): [ - * (Optional){ - * variable: String (Optional) - * filledNARatio: Double (Optional) - * effectiveCount: Integer (Optional) - * firstTimestamp: OffsetDateTime (Optional) - * lastTimestamp: OffsetDateTime (Optional) - * } - * ] - * setupInfo (Required): { - * dataSource: String (Required) - * topContributorCount: int (Required) - * startTime: OffsetDateTime (Required) - * endTime: OffsetDateTime (Required) - * } - * } - * results (Required): [ - * (Required){ - * timestamp: OffsetDateTime (Required) - * value (Optional): { - * isAnomaly: boolean (Required) - * severity: double (Required) - * score: double (Required) - * interpretation (Optional): [ - * (Optional){ - * variable: String (Optional) - * contributionScore: Double (Optional) - * correlationChanges (Optional): { - * changedVariables (Optional): [ - * String (Optional) - * ] - * } - * } - * ] - * } - * errors (Optional): [ - * (recursive schema, see above) - * ] - * } - * ] - * } - * }- * - * @param resultId ID of a batch detection result. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return detection results for the given resultId along with {@link Response} on successful completion of {@link - * Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono
Create and train a multivariate anomaly detection model. The request must include a source parameter to - * indicate an externally accessible Azure blob storage URI.There are two types of data input: An URI pointed to an - * Azure blob storage folder which contains multiple CSV files, and each CSV file contains two columns, timestamp - * and variable. Another type of input is an URI pointed to a CSV file in Azure blob storage, which contains all the - * variables and a timestamp column. - * - *
Request Body Schema - * - *
{@code - * { - * dataSource: String (Required) - * dataSchema: String(OneTable/MultiTable) (Optional) - * startTime: OffsetDateTime (Required) - * endTime: OffsetDateTime (Required) - * displayName: String (Optional) - * slidingWindow: Integer (Optional) - * alignPolicy (Optional): { - * alignMode: String(Inner/Outer) (Optional) - * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional) - * paddingValue: Double (Optional) - * } - * status: String(CREATED/RUNNING/READY/FAILED) (Optional) - * errors (Optional): [ - * (Optional){ - * code: String (Required) - * message: String (Required) - * } - * ] - * diagnosticsInfo (Optional): { - * modelState (Optional): { - * epochIds (Optional): [ - * int (Optional) - * ] - * trainLosses (Optional): [ - * double (Optional) - * ] - * validationLosses (Optional): [ - * double (Optional) - * ] - * latenciesInSeconds (Optional): [ - * double (Optional) - * ] - * } - * variableStates (Optional): [ - * (Optional){ - * variable: String (Optional) - * filledNARatio: Double (Optional) - * effectiveCount: Integer (Optional) - * firstTimestamp: OffsetDateTime (Optional) - * lastTimestamp: OffsetDateTime (Optional) - * } - * ] - * } - * } - * }- * - *
Response Body Schema - * - *
{@code - * { - * modelId: String (Required) - * createdTime: OffsetDateTime (Required) - * lastUpdatedTime: OffsetDateTime (Required) - * modelInfo (Optional): { - * dataSource: String (Required) - * dataSchema: String(OneTable/MultiTable) (Optional) - * startTime: OffsetDateTime (Required) - * endTime: OffsetDateTime (Required) - * displayName: String (Optional) - * slidingWindow: Integer (Optional) - * alignPolicy (Optional): { - * alignMode: String(Inner/Outer) (Optional) - * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional) - * paddingValue: Double (Optional) - * } - * status: String(CREATED/RUNNING/READY/FAILED) (Optional) - * errors (Optional): [ - * (Optional){ - * code: String (Required) - * message: String (Required) - * } - * ] - * diagnosticsInfo (Optional): { - * modelState (Optional): { - * epochIds (Optional): [ - * int (Optional) - * ] - * trainLosses (Optional): [ - * double (Optional) - * ] - * validationLosses (Optional): [ - * double (Optional) - * ] - * latenciesInSeconds (Optional): [ - * double (Optional) - * ] - * } - * variableStates (Optional): [ - * (Optional){ - * variable: String (Optional) - * filledNARatio: Double (Optional) - * effectiveCount: Integer (Optional) - * firstTimestamp: OffsetDateTime (Optional) - * lastTimestamp: OffsetDateTime (Optional) - * } - * ] - * } - * } - * } - * }- * - * @param modelInfo Model information. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response of getting a model along with {@link Response} on successful completion of {@link Mono}. - */ - @Generated - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono
List models of a resource. - * - *
Query Parameters - * - *
Name | Type | Required | Description |
---|---|---|---|
skip | Integer | No | Skip indicates how many models will be skipped. |
top | Integer | No | Top indicates how many models will be fetched. |
Response Body Schema - * - *
{@code - * { - * modelId: String (Required) - * createdTime: OffsetDateTime (Required) - * lastUpdatedTime: OffsetDateTime (Required) - * modelInfo (Optional): { - * dataSource: String (Required) - * dataSchema: String(OneTable/MultiTable) (Optional) - * startTime: OffsetDateTime (Required) - * endTime: OffsetDateTime (Required) - * displayName: String (Optional) - * slidingWindow: Integer (Optional) - * alignPolicy (Optional): { - * alignMode: String(Inner/Outer) (Optional) - * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional) - * paddingValue: Double (Optional) - * } - * status: String(CREATED/RUNNING/READY/FAILED) (Optional) - * errors (Optional): [ - * (Optional){ - * code: String (Required) - * message: String (Required) - * } - * ] - * diagnosticsInfo (Optional): { - * modelState (Optional): { - * epochIds (Optional): [ - * int (Optional) - * ] - * trainLosses (Optional): [ - * double (Optional) - * ] - * validationLosses (Optional): [ - * double (Optional) - * ] - * latenciesInSeconds (Optional): [ - * double (Optional) - * ] - * } - * variableStates (Optional): [ - * (Optional){ - * variable: String (Optional) - * filledNARatio: Double (Optional) - * effectiveCount: Integer (Optional) - * firstTimestamp: OffsetDateTime (Optional) - * lastTimestamp: OffsetDateTime (Optional) - * } - * ] - * } - * } - * } - * }- * - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return response of listing models as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux
Delete an existing multivariate model according to the modelId.
- *
- * @param modelId Model identifier.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono Get detailed information of multivariate model, including the training status and variables used in the model.
- *
- * Response Body Schema
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, the input
- * schema should be the same with the training request. The request will complete asynchronously and return a
- * resultId to query the detection result.The request should be a source link to indicate an externally accessible
- * Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob
- * storage.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, and the
- * inference data should be put into request body in a JSON format. The request will complete synchronously and
- * return the detection immediately in the response body.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * 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.
- *
- * @param options Method of univariate anomaly detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of entire anomaly detection on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono This operation generates a model using the points that you sent into the API, and based on all data to
- * determine whether the last point is anomalous.
- *
- * @param options Method of univariate anomaly detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of last anomaly detection on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono Evaluate change point score of every series point.
- *
- * @param options Method of univariate anomaly detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of change point detection on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono For asynchronous inference, get multivariate anomaly detection result based on resultId returned by the
- * BatchDetectAnomaly api.
- *
- * @param resultId ID of a batch detection result.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return detection results for the given resultId on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono Create and train a multivariate anomaly detection model. The request must include a source parameter to
- * indicate an externally accessible Azure blob storage URI.There are two types of data input: An URI pointed to an
- * Azure blob storage folder which contains multiple CSV files, and each CSV file contains two columns, timestamp
- * and variable. Another type of input is an URI pointed to a CSV file in Azure blob storage, which contains all the
- * variables and a timestamp column.
- *
- * @param modelInfo Model information.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response of getting a model on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono List models of a resource.
- *
- * @param skip Skip indicates how many models will be skipped.
- * @param top Top indicates how many models will be fetched.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response of listing models as paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedFlux List models of a resource.
- *
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response of listing models as paginated response with {@link PagedFlux}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedFlux Delete an existing multivariate model according to the modelId.
- *
- * @param modelId Model identifier.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return A {@link Mono} that completes when a successful response is received.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono Get detailed information of multivariate model, including the training status and variables used in the model.
- *
- * @param modelId Model identifier.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return detailed information of multivariate model, including the training status and variables used in the model
- * on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono Submit multivariate anomaly detection task with the modelId of trained model and inference data, the input
- * schema should be the same with the training request. The request will complete asynchronously and return a
- * resultId to query the detection result.The request should be a source link to indicate an externally accessible
- * Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob
- * storage.
- *
- * @param modelId Model identifier.
- * @param options Request of multivariate anomaly detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return detection results for the given resultId on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono Submit multivariate anomaly detection task with the modelId of trained model and inference data, and the
- * inference data should be put into request body in a JSON format. The request will complete synchronously and
- * return the detection immediately in the response body.
- *
- * @param modelId Model identifier.
- * @param options Request of last detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return results of last detection on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono 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.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * This operation generates a model using the points that you sent into the API, and based on all data to
- * determine whether the last point is anomalous.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Evaluate change point score of every series point.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * For asynchronous inference, get multivariate anomaly detection result based on resultId returned by the
- * BatchDetectAnomaly api.
- *
- * Response Body Schema
- *
- * Create and train a multivariate anomaly detection model. The request must include a source parameter to
- * indicate an externally accessible Azure blob storage URI.There are two types of data input: An URI pointed to an
- * Azure blob storage folder which contains multiple CSV files, and each CSV file contains two columns, timestamp
- * and variable. Another type of input is an URI pointed to a CSV file in Azure blob storage, which contains all the
- * variables and a timestamp column.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * List models of a resource.
- *
- * Query Parameters
- *
- * Response Body Schema
- *
- * Delete an existing multivariate model according to the modelId.
- *
- * @param modelId Model identifier.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response Get detailed information of multivariate model, including the training status and variables used in the model.
- *
- * Response Body Schema
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, the input
- * schema should be the same with the training request. The request will complete asynchronously and return a
- * resultId to query the detection result.The request should be a source link to indicate an externally accessible
- * Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob
- * storage.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, and the
- * inference data should be put into request body in a JSON format. The request will complete synchronously and
- * return the detection immediately in the response body.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * 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.
- *
- * @param options Method of univariate anomaly detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of entire anomaly detection.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public UnivariateEntireDetectionResult detectUnivariateEntireSeries(UnivariateDetectionOptions options) {
- // Generated convenience method for detectUnivariateEntireSeriesWithResponse
- RequestOptions requestOptions = new RequestOptions();
- return detectUnivariateEntireSeriesWithResponse(BinaryData.fromObject(options), requestOptions)
- .getValue()
- .toObject(UnivariateEntireDetectionResult.class);
- }
-
- /**
- * Detect anomaly status of the latest point in time series.
- *
- * This operation generates a model using the points that you sent into the API, and based on all data to
- * determine whether the last point is anomalous.
- *
- * @param options Method of univariate anomaly detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of last anomaly detection.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public UnivariateLastDetectionResult detectUnivariateLastPoint(UnivariateDetectionOptions options) {
- // Generated convenience method for detectUnivariateLastPointWithResponse
- RequestOptions requestOptions = new RequestOptions();
- return detectUnivariateLastPointWithResponse(BinaryData.fromObject(options), requestOptions)
- .getValue()
- .toObject(UnivariateLastDetectionResult.class);
- }
-
- /**
- * Detect change point for the entire series
- *
- * Evaluate change point score of every series point.
- *
- * @param options Method of univariate anomaly detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of change point detection.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public UnivariateChangePointDetectionResult detectUnivariateChangePoint(
- UnivariateChangePointDetectionOptions options) {
- // Generated convenience method for detectUnivariateChangePointWithResponse
- RequestOptions requestOptions = new RequestOptions();
- return detectUnivariateChangePointWithResponse(BinaryData.fromObject(options), requestOptions)
- .getValue()
- .toObject(UnivariateChangePointDetectionResult.class);
- }
-
- /**
- * Get Multivariate Anomaly Detection Result
- *
- * For asynchronous inference, get multivariate anomaly detection result based on resultId returned by the
- * BatchDetectAnomaly api.
- *
- * @param resultId ID of a batch detection result.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return detection results for the given resultId.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public MultivariateDetectionResult getMultivariateBatchDetectionResult(String resultId) {
- // Generated convenience method for getMultivariateBatchDetectionResultWithResponse
- RequestOptions requestOptions = new RequestOptions();
- return getMultivariateBatchDetectionResultWithResponse(resultId, requestOptions)
- .getValue()
- .toObject(MultivariateDetectionResult.class);
- }
-
- /**
- * Train a Multivariate Anomaly Detection Model
- *
- * Create and train a multivariate anomaly detection model. The request must include a source parameter to
- * indicate an externally accessible Azure blob storage URI.There are two types of data input: An URI pointed to an
- * Azure blob storage folder which contains multiple CSV files, and each CSV file contains two columns, timestamp
- * and variable. Another type of input is an URI pointed to a CSV file in Azure blob storage, which contains all the
- * variables and a timestamp column.
- *
- * @param modelInfo Model information.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response of getting a model.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public AnomalyDetectionModel trainMultivariateModel(ModelInfo modelInfo) {
- // Generated convenience method for trainMultivariateModelWithResponse
- RequestOptions requestOptions = new RequestOptions();
- return trainMultivariateModelWithResponse(BinaryData.fromObject(modelInfo), requestOptions)
- .getValue()
- .toObject(AnomalyDetectionModel.class);
- }
-
- /**
- * List Multivariate Models
- *
- * List models of a resource.
- *
- * @param skip Skip indicates how many models will be skipped.
- * @param top Top indicates how many models will be fetched.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response of listing models as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable List models of a resource.
- *
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response of listing models as paginated response with {@link PagedIterable}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable Delete an existing multivariate model according to the modelId.
- *
- * @param modelId Model identifier.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public void deleteMultivariateModel(String modelId) {
- // Generated convenience method for deleteMultivariateModelWithResponse
- RequestOptions requestOptions = new RequestOptions();
- deleteMultivariateModelWithResponse(modelId, requestOptions).getValue();
- }
-
- /**
- * Get Multivariate Model
- *
- * Get detailed information of multivariate model, including the training status and variables used in the model.
- *
- * @param modelId Model identifier.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return detailed information of multivariate model, including the training status and variables used in the
- * model.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public AnomalyDetectionModel getMultivariateModel(String modelId) {
- // Generated convenience method for getMultivariateModelWithResponse
- RequestOptions requestOptions = new RequestOptions();
- return getMultivariateModelWithResponse(modelId, requestOptions)
- .getValue()
- .toObject(AnomalyDetectionModel.class);
- }
-
- /**
- * Detect Multivariate Anomaly
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, the input
- * schema should be the same with the training request. The request will complete asynchronously and return a
- * resultId to query the detection result.The request should be a source link to indicate an externally accessible
- * Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob
- * storage.
- *
- * @param modelId Model identifier.
- * @param options Request of multivariate anomaly detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return detection results for the given resultId.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public MultivariateDetectionResult detectMultivariateBatchAnomaly(
- String modelId, MultivariateBatchDetectionOptions options) {
- // Generated convenience method for detectMultivariateBatchAnomalyWithResponse
- RequestOptions requestOptions = new RequestOptions();
- return detectMultivariateBatchAnomalyWithResponse(modelId, BinaryData.fromObject(options), requestOptions)
- .getValue()
- .toObject(MultivariateDetectionResult.class);
- }
-
- /**
- * Detect anomalies in the last point of the request body
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, and the
- * inference data should be put into request body in a JSON format. The request will complete synchronously and
- * return the detection immediately in the response body.
- *
- * @param modelId Model identifier.
- * @param options Request of last detection.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return results of last detection.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public MultivariateLastDetectionResult detectMultivariateLastAnomaly(
- String modelId, MultivariateLastDetectionOptions options) {
- // Generated convenience method for detectMultivariateLastAnomalyWithResponse
- RequestOptions requestOptions = new RequestOptions();
- return detectMultivariateLastAnomalyWithResponse(modelId, BinaryData.fromObject(options), requestOptions)
- .getValue()
- .toObject(MultivariateLastDetectionResult.class);
- }
-}
diff --git a/sdk/anomalydetector/azure-ai-anomalydetector/src/main/java/com/azure/ai/anomalydetector/AnomalyDetectorClientBuilder.java b/sdk/anomalydetector/azure-ai-anomalydetector/src/main/java/com/azure/ai/anomalydetector/AnomalyDetectorClientBuilder.java
index 8b7440be2953..17fa8734becc 100644
--- a/sdk/anomalydetector/azure-ai-anomalydetector/src/main/java/com/azure/ai/anomalydetector/AnomalyDetectorClientBuilder.java
+++ b/sdk/anomalydetector/azure-ai-anomalydetector/src/main/java/com/azure/ai/anomalydetector/AnomalyDetectorClientBuilder.java
@@ -1,16 +1,16 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.ai.anomalydetector;
import com.azure.ai.anomalydetector.implementation.AnomalyDetectorClientImpl;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ServiceClientBuilder;
-import com.azure.core.client.traits.AzureKeyCredentialTrait;
import com.azure.core.client.traits.ConfigurationTrait;
import com.azure.core.client.traits.EndpointTrait;
import com.azure.core.client.traits.HttpTrait;
-import com.azure.core.credential.AzureKeyCredential;
+import com.azure.core.client.traits.KeyCredentialTrait;
+import com.azure.core.credential.KeyCredential;
import com.azure.core.http.HttpClient;
import com.azure.core.http.HttpHeaders;
import com.azure.core.http.HttpPipeline;
@@ -19,12 +19,11 @@
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
import com.azure.core.http.policy.AddHeadersPolicy;
-import com.azure.core.http.policy.AzureKeyCredentialPolicy;
-import com.azure.core.http.policy.CookiePolicy;
-import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
+import com.azure.core.http.policy.KeyCredentialPolicy;
import com.azure.core.http.policy.RequestIdPolicy;
import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
@@ -33,31 +32,42 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.CoreUtils;
import com.azure.core.util.builder.ClientBuilderUtil;
+import com.azure.core.util.logging.ClientLogger;
import com.azure.core.util.serializer.JacksonAdapter;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
-/** A builder for creating a new instance of the AnomalyDetectorClient type. */
-@ServiceClientBuilder(serviceClients = {AnomalyDetectorClient.class, AnomalyDetectorAsyncClient.class})
+/**
+ * A builder for creating a new instance of the AnomalyDetectorClient type.
+ */
+@ServiceClientBuilder(
+ serviceClients = {
+ UnivariateClient.class,
+ MultivariateClient.class,
+ UnivariateAsyncClient.class,
+ MultivariateAsyncClient.class })
public final class AnomalyDetectorClientBuilder
- implements HttpTrait Response Body Schema Request Body Schema Response Body Schema Query Parameters Response Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Response Body Schema Request Body Schema Response Body Schema Query Parameters Response Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema 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.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * 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.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * This operation generates a model using the points that you sent into the API, and based on all data to
- * determine whether the last point is anomalous.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * This operation generates a model using the points that you sent into the API, and based on all data to
- * determine whether the last point is anomalous.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Evaluate change point score of every series point.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Evaluate change point score of every series point.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * For asynchronous inference, get multivariate anomaly detection result based on resultId returned by the
- * BatchDetectAnomaly api.
- *
- * Response Body Schema
- *
- * For asynchronous inference, get multivariate anomaly detection result based on resultId returned by the
- * BatchDetectAnomaly api.
- *
- * Response Body Schema
- *
- * Create and train a multivariate anomaly detection model. The request must include a source parameter to
- * indicate an externally accessible Azure blob storage URI.There are two types of data input: An URI pointed to an
- * Azure blob storage folder which contains multiple CSV files, and each CSV file contains two columns, timestamp
- * and variable. Another type of input is an URI pointed to a CSV file in Azure blob storage, which contains all the
- * variables and a timestamp column.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Create and train a multivariate anomaly detection model. The request must include a source parameter to
- * indicate an externally accessible Azure blob storage URI.There are two types of data input: An URI pointed to an
- * Azure blob storage folder which contains multiple CSV files, and each CSV file contains two columns, timestamp
- * and variable. Another type of input is an URI pointed to a CSV file in Azure blob storage, which contains all the
- * variables and a timestamp column.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * List models of a resource.
- *
- * Query Parameters
- *
- * Response Body Schema
- *
- * List models of a resource.
- *
- * Query Parameters
- *
- * Response Body Schema
- *
- * List models of a resource.
- *
- * Query Parameters
- *
- * Response Body Schema
- *
- * Delete an existing multivariate model according to the modelId.
- *
- * @param modelId Model identifier.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono Delete an existing multivariate model according to the modelId.
- *
- * @param modelId Model identifier.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response Get detailed information of multivariate model, including the training status and variables used in the model.
- *
- * Response Body Schema
- *
- * Get detailed information of multivariate model, including the training status and variables used in the model.
- *
- * Response Body Schema
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, the input
- * schema should be the same with the training request. The request will complete asynchronously and return a
- * resultId to query the detection result.The request should be a source link to indicate an externally accessible
- * Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob
- * storage.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, the input
- * schema should be the same with the training request. The request will complete asynchronously and return a
- * resultId to query the detection result.The request should be a source link to indicate an externally accessible
- * Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob
- * storage.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, and the
- * inference data should be put into request body in a JSON format. The request will complete synchronously and
- * return the detection immediately in the response body.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Submit multivariate anomaly detection task with the modelId of trained model and inference data, and the
- * inference data should be put into request body in a JSON format. The request will complete synchronously and
- * return the detection immediately in the response body.
- *
- * Request Body Schema
- *
- * Response Body Schema
- *
- * Get the next page of items.
- *
- * Response Body Schema
- *
- * The nextLink parameter.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return response of listing models along with {@link PagedResponse} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono Response Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Query Parameters Response Body Schema Query Parameters Response Body Schema Query Parameters Response Body Schema Query Parameters Response Body Schema Response Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Response Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema Request Body Schema Response Body Schema{@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detailed information of multivariate model, including the training status and variables used in the model
- * along with {@link Response} on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- *
- * {@code
- * {
- * resultId: String (Required)
- * summary (Required): {
- * status: String(CREATED/RUNNING/READY/FAILED) (Required)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * setupInfo (Required): {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- * results (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (recursive schema, see above)
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param options Request of multivariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detection results for the given resultId along with {@link Response} on successful completion of {@link
- * Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * variables (Required): [
- * (Required){
- * variable: String (Required)
- * timestamps (Required): [
- * String (Required)
- * ]
- * values (Required): [
- * double (Required)
- * ]
- * }
- * ]
- * topContributorCount: int (Required)
- * }
- * }
- *
- * {@code
- * {
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * results (Optional): [
- * (Optional){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param options Request of last detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return results of last detection along with {@link Response} on successful completion of {@link Mono}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * maxAnomalyRatio: Double (Optional)
- * sensitivity: Integer (Optional)
- * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
- * imputeFixedValue: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: int (Required)
- * expectedValues (Required): [
- * double (Required)
- * ]
- * upperMargins (Required): [
- * double (Required)
- * ]
- * lowerMargins (Required): [
- * double (Required)
- * ]
- * isAnomaly (Required): [
- * boolean (Required)
- * ]
- * isNegativeAnomaly (Required): [
- * boolean (Required)
- * ]
- * isPositiveAnomaly (Required): [
- * boolean (Required)
- * ]
- * severity (Optional): [
- * double (Optional)
- * ]
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of entire anomaly detection along with {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * maxAnomalyRatio: Double (Optional)
- * sensitivity: Integer (Optional)
- * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
- * imputeFixedValue: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: int (Required)
- * suggestedWindow: int (Required)
- * expectedValue: double (Required)
- * upperMargin: double (Required)
- * lowerMargin: double (Required)
- * isAnomaly: boolean (Required)
- * isNegativeAnomaly: boolean (Required)
- * isPositiveAnomaly: boolean (Required)
- * severity: Double (Optional)
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of last anomaly detection along with {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Required)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * stableTrendWindow: Integer (Optional)
- * threshold: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: Integer (Optional)
- * isChangePoint (Optional): [
- * boolean (Optional)
- * ]
- * confidenceScores (Optional): [
- * double (Optional)
- * ]
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of change point detection along with {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * resultId: String (Required)
- * summary (Required): {
- * status: String(CREATED/RUNNING/READY/FAILED) (Required)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * setupInfo (Required): {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- * results (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (recursive schema, see above)
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param resultId ID of a batch detection result.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detection results for the given resultId along with {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- *
- * {@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param modelInfo Model information.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return response of getting a model along with {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response
- *
- *
- * You can add these to a request with {@link RequestOptions#addQueryParam}
- *
- *
- * Name Type Required Description
- * skip Integer No Skip indicates how many models will be skipped.
- * top Integer No Top indicates how many models will be fetched. {@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return response of listing models as paginated response with {@link PagedIterable}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable{@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detailed information of multivariate model, including the training status and variables used in the model
- * along with {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- *
- * {@code
- * {
- * resultId: String (Required)
- * summary (Required): {
- * status: String(CREATED/RUNNING/READY/FAILED) (Required)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * setupInfo (Required): {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- * results (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (recursive schema, see above)
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param options Request of multivariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detection results for the given resultId along with {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * variables (Required): [
- * (Required){
- * variable: String (Required)
- * timestamps (Required): [
- * String (Required)
- * ]
- * values (Required): [
- * double (Required)
- * ]
- * }
- * ]
- * topContributorCount: int (Required)
- * }
- * }
- *
- * {@code
- * {
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * results (Optional): [
- * (Optional){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param options Request of last detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return results of last detection along with {@link Response}.
- */
- @Generated
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
+ * {
+ * resultId: String (Required)
+ * summary (Required): {
+ * status: String(CREATED/RUNNING/READY/FAILED) (Required)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * setupInfo (Required): {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ * results (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param resultId ID of a batch detection result.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detection results for the resultId value along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param modelInfo Model information.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of getting a model along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono
+ *
+ * You can add these to a request with {@link RequestOptions#addQueryParam}
+ *
+ * Name Type Required Description
+ * skip Integer No The number of result items to skip.
+ * top Integer No The number of result items to return. {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of listing models as paginated response with {@link PagedFlux}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux{@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detailed information about the multivariate model, including the training status
+ * and variables used in the model along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * resultId: String (Required)
+ * summary (Required): {
+ * status: String(CREATED/RUNNING/READY/FAILED) (Required)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * setupInfo (Required): {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ * results (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param options Request of multivariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detection results for the resultId value along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * variables (Required): [
+ * (Required){
+ * variable: String (Required)
+ * timestamps (Required): [
+ * String (Required)
+ * ]
+ * values (Required): [
+ * double (Required)
+ * ]
+ * }
+ * ]
+ * topContributorCount: Integer (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * results (Optional): [
+ * (Optional){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param options Request of the last detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return results of the last detection along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * resultId: String (Required)
+ * summary (Required): {
+ * status: String(CREATED/RUNNING/READY/FAILED) (Required)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * setupInfo (Required): {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ * results (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param resultId ID of a batch detection result.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detection results for the resultId value along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param modelInfo Model information.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of getting a model along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response
+ *
+ * You can add these to a request with {@link RequestOptions#addQueryParam}
+ *
+ * Name Type Required Description
+ * skip Integer No The number of result items to skip.
+ * top Integer No The number of result items to return. {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of listing models as paginated response with {@link PagedIterable}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable{@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detailed information about the multivariate model, including the training status
+ * and variables used in the model along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * resultId: String (Required)
+ * summary (Required): {
+ * status: String(CREATED/RUNNING/READY/FAILED) (Required)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * setupInfo (Required): {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ * results (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param options Request of multivariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detection results for the resultId value along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * variables (Required): [
+ * (Required){
+ * variable: String (Required)
+ * timestamps (Required): [
+ * String (Required)
+ * ]
+ * values (Required): [
+ * double (Required)
+ * ]
+ * }
+ * ]
+ * topContributorCount: Integer (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * results (Optional): [
+ * (Optional){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param options Request of the last detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return results of the last detection along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * maxAnomalyRatio: Double (Optional)
+ * sensitivity: Integer (Optional)
+ * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
+ * imputeFixedValue: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: int (Required)
+ * expectedValues (Required): [
+ * double (Required)
+ * ]
+ * upperMargins (Required): [
+ * double (Required)
+ * ]
+ * lowerMargins (Required): [
+ * double (Required)
+ * ]
+ * isAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * isNegativeAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * isPositiveAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * severity (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of the entire anomaly detection along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * maxAnomalyRatio: Double (Optional)
+ * sensitivity: Integer (Optional)
+ * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
+ * imputeFixedValue: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: int (Required)
+ * suggestedWindow: int (Required)
+ * expectedValue: double (Required)
+ * upperMargin: double (Required)
+ * lowerMargin: double (Required)
+ * isAnomaly: boolean (Required)
+ * isNegativeAnomaly: boolean (Required)
+ * isPositiveAnomaly: boolean (Required)
+ * severity: Double (Optional)
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of the last anomaly detection along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Required)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * stableTrendWindow: Integer (Optional)
+ * threshold: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: Integer (Optional)
+ * isChangePoint (Optional): [
+ * boolean (Optional)
+ * ]
+ * confidenceScores (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of change point detection along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * maxAnomalyRatio: Double (Optional)
+ * sensitivity: Integer (Optional)
+ * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
+ * imputeFixedValue: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: int (Required)
+ * expectedValues (Required): [
+ * double (Required)
+ * ]
+ * upperMargins (Required): [
+ * double (Required)
+ * ]
+ * lowerMargins (Required): [
+ * double (Required)
+ * ]
+ * isAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * isNegativeAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * isPositiveAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * severity (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of the entire anomaly detection along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * maxAnomalyRatio: Double (Optional)
+ * sensitivity: Integer (Optional)
+ * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
+ * imputeFixedValue: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: int (Required)
+ * suggestedWindow: int (Required)
+ * expectedValue: double (Required)
+ * upperMargin: double (Required)
+ * lowerMargin: double (Required)
+ * isAnomaly: boolean (Required)
+ * isNegativeAnomaly: boolean (Required)
+ * isPositiveAnomaly: boolean (Required)
+ * severity: Double (Optional)
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of the last anomaly detection along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Required)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * stableTrendWindow: Integer (Optional)
+ * threshold: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: Integer (Optional)
+ * isChangePoint (Optional): [
+ * boolean (Optional)
+ * ]
+ * confidenceScores (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of change point detection along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * maxAnomalyRatio: Double (Optional)
- * sensitivity: Integer (Optional)
- * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
- * imputeFixedValue: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: int (Required)
- * expectedValues (Required): [
- * double (Required)
- * ]
- * upperMargins (Required): [
- * double (Required)
- * ]
- * lowerMargins (Required): [
- * double (Required)
- * ]
- * isAnomaly (Required): [
- * boolean (Required)
- * ]
- * isNegativeAnomaly (Required): [
- * boolean (Required)
- * ]
- * isPositiveAnomaly (Required): [
- * boolean (Required)
- * ]
- * severity (Optional): [
- * double (Optional)
- * ]
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of entire anomaly detection along with {@link Response} on successful completion of {@link
- * Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * maxAnomalyRatio: Double (Optional)
- * sensitivity: Integer (Optional)
- * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
- * imputeFixedValue: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: int (Required)
- * expectedValues (Required): [
- * double (Required)
- * ]
- * upperMargins (Required): [
- * double (Required)
- * ]
- * lowerMargins (Required): [
- * double (Required)
- * ]
- * isAnomaly (Required): [
- * boolean (Required)
- * ]
- * isNegativeAnomaly (Required): [
- * boolean (Required)
- * ]
- * isPositiveAnomaly (Required): [
- * boolean (Required)
- * ]
- * severity (Optional): [
- * double (Optional)
- * ]
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of entire anomaly detection along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * maxAnomalyRatio: Double (Optional)
- * sensitivity: Integer (Optional)
- * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
- * imputeFixedValue: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: int (Required)
- * suggestedWindow: int (Required)
- * expectedValue: double (Required)
- * upperMargin: double (Required)
- * lowerMargin: double (Required)
- * isAnomaly: boolean (Required)
- * isNegativeAnomaly: boolean (Required)
- * isPositiveAnomaly: boolean (Required)
- * severity: Double (Optional)
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of last anomaly detection along with {@link Response} on successful completion of {@link
- * Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * maxAnomalyRatio: Double (Optional)
- * sensitivity: Integer (Optional)
- * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
- * imputeFixedValue: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: int (Required)
- * suggestedWindow: int (Required)
- * expectedValue: double (Required)
- * upperMargin: double (Required)
- * lowerMargin: double (Required)
- * isAnomaly: boolean (Required)
- * isNegativeAnomaly: boolean (Required)
- * isPositiveAnomaly: boolean (Required)
- * severity: Double (Optional)
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of last anomaly detection along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Required)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * stableTrendWindow: Integer (Optional)
- * threshold: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: Integer (Optional)
- * isChangePoint (Optional): [
- * boolean (Optional)
- * ]
- * confidenceScores (Optional): [
- * double (Optional)
- * ]
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of change point detection along with {@link Response} on successful completion of {@link
- * Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * series (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Optional)
- * value: double (Required)
- * }
- * ]
- * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Required)
- * customInterval: Integer (Optional)
- * period: Integer (Optional)
- * stableTrendWindow: Integer (Optional)
- * threshold: Double (Optional)
- * }
- * }
- *
- * {@code
- * {
- * period: Integer (Optional)
- * isChangePoint (Optional): [
- * boolean (Optional)
- * ]
- * confidenceScores (Optional): [
- * double (Optional)
- * ]
- * }
- * }
- *
- * @param options Method of univariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return the response of change point detection along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * resultId: String (Required)
- * summary (Required): {
- * status: String(CREATED/RUNNING/READY/FAILED) (Required)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * setupInfo (Required): {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- * results (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (recursive schema, see above)
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param resultId ID of a batch detection result.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detection results for the given resultId along with {@link Response} on successful completion of {@link
- * Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * resultId: String (Required)
- * summary (Required): {
- * status: String(CREATED/RUNNING/READY/FAILED) (Required)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * setupInfo (Required): {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- * results (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (recursive schema, see above)
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param resultId ID of a batch detection result.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detection results for the given resultId along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- *
- * {@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param modelInfo Model information.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return response of getting a model along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- *
- * {@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param modelInfo Model information.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return response of getting a model along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response
- *
- *
- * You can add these to a request with {@link RequestOptions#addQueryParam}
- *
- *
- * Name Type Required Description
- * skip Integer No Skip indicates how many models will be skipped.
- * top Integer No Top indicates how many models will be fetched. {@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return response of listing models along with {@link PagedResponse} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono
- *
- *
- * You can add these to a request with {@link RequestOptions#addQueryParam}
- *
- *
- * Name Type Required Description
- * skip Integer No Skip indicates how many models will be skipped.
- * top Integer No Top indicates how many models will be fetched. {@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return response of listing models as paginated response with {@link PagedFlux}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedFlux
- *
- *
- * You can add these to a request with {@link RequestOptions#addQueryParam}
- *
- *
- * Name Type Required Description
- * skip Integer No Skip indicates how many models will be skipped.
- * top Integer No Top indicates how many models will be fetched. {@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return response of listing models as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable{@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detailed information of multivariate model, including the training status and variables used in the model
- * along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detailed information of multivariate model, including the training status and variables used in the model
- * along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- *
- * {@code
- * {
- * resultId: String (Required)
- * summary (Required): {
- * status: String(CREATED/RUNNING/READY/FAILED) (Required)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * setupInfo (Required): {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- * results (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (recursive schema, see above)
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param options Request of multivariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detection results for the given resultId along with {@link Response} on successful completion of {@link
- * Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- *
- * {@code
- * {
- * resultId: String (Required)
- * summary (Required): {
- * status: String(CREATED/RUNNING/READY/FAILED) (Required)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * setupInfo (Required): {
- * dataSource: String (Required)
- * topContributorCount: int (Required)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * }
- * }
- * results (Required): [
- * (Required){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (recursive schema, see above)
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param options Request of multivariate anomaly detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return detection results for the given resultId along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * variables (Required): [
- * (Required){
- * variable: String (Required)
- * timestamps (Required): [
- * String (Required)
- * ]
- * values (Required): [
- * double (Required)
- * ]
- * }
- * ]
- * topContributorCount: int (Required)
- * }
- * }
- *
- * {@code
- * {
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * results (Optional): [
- * (Optional){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param options Request of last detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return results of last detection along with {@link Response} on successful completion of {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Mono{@code
- * {
- * variables (Required): [
- * (Required){
- * variable: String (Required)
- * timestamps (Required): [
- * String (Required)
- * ]
- * values (Required): [
- * double (Required)
- * ]
- * }
- * ]
- * topContributorCount: int (Required)
- * }
- * }
- *
- * {@code
- * {
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * results (Optional): [
- * (Optional){
- * timestamp: OffsetDateTime (Required)
- * value (Optional): {
- * isAnomaly: boolean (Required)
- * severity: double (Required)
- * score: double (Required)
- * interpretation (Optional): [
- * (Optional){
- * variable: String (Optional)
- * contributionScore: Double (Optional)
- * correlationChanges (Optional): {
- * changedVariables (Optional): [
- * String (Optional)
- * ]
- * }
- * }
- * ]
- * }
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * }
- * ]
- * }
- * }
- *
- * @param modelId Model identifier.
- * @param options Request of last detection.
- * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
- * @throws HttpResponseException thrown if the request is rejected by server.
- * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
- * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
- * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
- * @return results of last detection along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response{@code
- * {
- * modelId: String (Required)
- * createdTime: OffsetDateTime (Required)
- * lastUpdatedTime: OffsetDateTime (Required)
- * modelInfo (Optional): {
- * dataSource: String (Required)
- * dataSchema: String(OneTable/MultiTable) (Optional)
- * startTime: OffsetDateTime (Required)
- * endTime: OffsetDateTime (Required)
- * displayName: String (Optional)
- * slidingWindow: Integer (Optional)
- * alignPolicy (Optional): {
- * alignMode: String(Inner/Outer) (Optional)
- * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
- * paddingValue: Double (Optional)
- * }
- * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
- * errors (Optional): [
- * (Optional){
- * code: String (Required)
- * message: String (Required)
- * }
- * ]
- * diagnosticsInfo (Optional): {
- * modelState (Optional): {
- * epochIds (Optional): [
- * int (Optional)
- * ]
- * trainLosses (Optional): [
- * double (Optional)
- * ]
- * validationLosses (Optional): [
- * double (Optional)
- * ]
- * latenciesInSeconds (Optional): [
- * double (Optional)
- * ]
- * }
- * variableStates (Optional): [
- * (Optional){
- * variable: String (Optional)
- * filledNARatio: Double (Optional)
- * effectiveCount: Integer (Optional)
- * firstTimestamp: OffsetDateTime (Optional)
- * lastTimestamp: OffsetDateTime (Optional)
- * }
- * ]
- * }
- * }
- * }
- * }
- *
- * @param nextLink The URL to get the next list of items
- * {@code
+ * {
+ * resultId: String (Required)
+ * summary (Required): {
+ * status: String(CREATED/RUNNING/READY/FAILED) (Required)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * setupInfo (Required): {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ * results (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param resultId ID of a batch detection result.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detection results for the resultId value along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * resultId: String (Required)
+ * summary (Required): {
+ * status: String(CREATED/RUNNING/READY/FAILED) (Required)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * setupInfo (Required): {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ * results (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param resultId ID of a batch detection result.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detection results for the resultId value along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param modelInfo Model information.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of getting a model along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param modelInfo Model information.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of getting a model along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response
+ *
+ * You can add these to a request with {@link RequestOptions#addQueryParam}
+ *
+ * Name Type Required Description
+ * skip Integer No The number of result items to skip.
+ * top Integer No The number of result items to return. {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of listing models along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono
+ *
+ * You can add these to a request with {@link RequestOptions#addQueryParam}
+ *
+ * Name Type Required Description
+ * skip Integer No The number of result items to skip.
+ * top Integer No The number of result items to return. {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of listing models as paginated response with {@link PagedFlux}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedFlux
+ *
+ * You can add these to a request with {@link RequestOptions#addQueryParam}
+ *
+ * Name Type Required Description
+ * skip Integer No The number of result items to skip.
+ * top Integer No The number of result items to return. {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of listing models along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse
+ *
+ * You can add these to a request with {@link RequestOptions#addQueryParam}
+ *
+ * Name Type Required Description
+ * skip Integer No The number of result items to skip.
+ * top Integer No The number of result items to return. {@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of listing models as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable{@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detailed information about the multivariate model, including the training status
+ * and variables used in the model along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detailed information about the multivariate model, including the training status
+ * and variables used in the model along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * resultId: String (Required)
+ * summary (Required): {
+ * status: String(CREATED/RUNNING/READY/FAILED) (Required)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * setupInfo (Required): {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ * results (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param options Request of multivariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detection results for the resultId value along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * resultId: String (Required)
+ * summary (Required): {
+ * status: String(CREATED/RUNNING/READY/FAILED) (Required)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * setupInfo (Required): {
+ * dataSource: String (Required)
+ * topContributorCount: Integer (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * }
+ * }
+ * results (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param options Request of multivariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return detection results for the resultId value along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * variables (Required): [
+ * (Required){
+ * variable: String (Required)
+ * timestamps (Required): [
+ * String (Required)
+ * ]
+ * values (Required): [
+ * double (Required)
+ * ]
+ * }
+ * ]
+ * topContributorCount: Integer (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * results (Optional): [
+ * (Optional){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param options Request of the last detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return results of the last detection along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * variables (Required): [
+ * (Required){
+ * variable: String (Required)
+ * timestamps (Required): [
+ * String (Required)
+ * ]
+ * values (Required): [
+ * double (Required)
+ * ]
+ * }
+ * ]
+ * topContributorCount: Integer (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * results (Optional): [
+ * (Optional){
+ * timestamp: OffsetDateTime (Required)
+ * value (Optional): {
+ * isAnomaly: boolean (Required)
+ * severity: double (Required)
+ * score: double (Required)
+ * interpretation (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * contributionScore: Double (Optional)
+ * correlationChanges (Optional): {
+ * changedVariables (Optional): [
+ * String (Optional)
+ * ]
+ * }
+ * }
+ * ]
+ * }
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * }
+ * ]
+ * }
+ * }
+ *
+ * @param modelId Model identifier.
+ * @param options Request of the last detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return results of the last detection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of listing models along with {@link PagedResponse} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono{@code
+ * {
+ * modelId: String (Required)
+ * createdTime: OffsetDateTime (Required)
+ * lastUpdatedTime: OffsetDateTime (Required)
+ * modelInfo (Optional): {
+ * dataSource: String (Required)
+ * dataSchema: String(OneTable/MultiTable) (Optional)
+ * startTime: OffsetDateTime (Required)
+ * endTime: OffsetDateTime (Required)
+ * displayName: String (Optional)
+ * slidingWindow: Integer (Optional)
+ * alignPolicy (Optional): {
+ * alignMode: String(Inner/Outer) (Optional)
+ * fillNAMethod: String(Previous/Subsequent/Linear/Zero/Fixed) (Optional)
+ * paddingValue: Double (Optional)
+ * }
+ * status: String(CREATED/RUNNING/READY/FAILED) (Optional)
+ * errors (Optional): [
+ * (Optional){
+ * code: String (Required)
+ * message: String (Required)
+ * }
+ * ]
+ * diagnosticsInfo (Optional): {
+ * modelState (Optional): {
+ * epochIds (Optional): [
+ * int (Optional)
+ * ]
+ * trainLosses (Optional): [
+ * double (Optional)
+ * ]
+ * validationLosses (Optional): [
+ * double (Optional)
+ * ]
+ * latenciesInSeconds (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * variableStates (Optional): [
+ * (Optional){
+ * variable: String (Optional)
+ * filledNARatio: Double (Optional)
+ * effectiveCount: Integer (Optional)
+ * firstTimestamp: OffsetDateTime (Optional)
+ * lastTimestamp: OffsetDateTime (Optional)
+ * }
+ * ]
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param nextLink The URL to get the next list of items.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of listing models along with {@link PagedResponse}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private PagedResponse{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * maxAnomalyRatio: Double (Optional)
+ * sensitivity: Integer (Optional)
+ * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
+ * imputeFixedValue: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: int (Required)
+ * expectedValues (Required): [
+ * double (Required)
+ * ]
+ * upperMargins (Required): [
+ * double (Required)
+ * ]
+ * lowerMargins (Required): [
+ * double (Required)
+ * ]
+ * isAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * isNegativeAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * isPositiveAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * severity (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of the entire anomaly detection along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * maxAnomalyRatio: Double (Optional)
+ * sensitivity: Integer (Optional)
+ * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
+ * imputeFixedValue: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: int (Required)
+ * expectedValues (Required): [
+ * double (Required)
+ * ]
+ * upperMargins (Required): [
+ * double (Required)
+ * ]
+ * lowerMargins (Required): [
+ * double (Required)
+ * ]
+ * isAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * isNegativeAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * isPositiveAnomaly (Required): [
+ * boolean (Required)
+ * ]
+ * severity (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of the entire anomaly detection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * maxAnomalyRatio: Double (Optional)
+ * sensitivity: Integer (Optional)
+ * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
+ * imputeFixedValue: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: int (Required)
+ * suggestedWindow: int (Required)
+ * expectedValue: double (Required)
+ * upperMargin: double (Required)
+ * lowerMargin: double (Required)
+ * isAnomaly: boolean (Required)
+ * isNegativeAnomaly: boolean (Required)
+ * isPositiveAnomaly: boolean (Required)
+ * severity: Double (Optional)
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of the last anomaly detection along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Optional)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * maxAnomalyRatio: Double (Optional)
+ * sensitivity: Integer (Optional)
+ * imputeMode: String(auto/previous/linear/fixed/zero/notFill) (Optional)
+ * imputeFixedValue: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: int (Required)
+ * suggestedWindow: int (Required)
+ * expectedValue: double (Required)
+ * upperMargin: double (Required)
+ * lowerMargin: double (Required)
+ * isAnomaly: boolean (Required)
+ * isNegativeAnomaly: boolean (Required)
+ * isPositiveAnomaly: boolean (Required)
+ * severity: Double (Optional)
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of the last anomaly detection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Required)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * stableTrendWindow: Integer (Optional)
+ * threshold: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: Integer (Optional)
+ * isChangePoint (Optional): [
+ * boolean (Optional)
+ * ]
+ * confidenceScores (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of change point detection along with {@link Response} on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Mono{@code
+ * {
+ * series (Required): [
+ * (Required){
+ * timestamp: OffsetDateTime (Optional)
+ * value: double (Required)
+ * }
+ * ]
+ * granularity: String(yearly/monthly/weekly/daily/hourly/minutely/secondly/microsecond/none) (Required)
+ * customInterval: Integer (Optional)
+ * period: Integer (Optional)
+ * stableTrendWindow: Integer (Optional)
+ * threshold: Double (Optional)
+ * }
+ * }
+ *
+ * {@code
+ * {
+ * period: Integer (Optional)
+ * isChangePoint (Optional): [
+ * boolean (Optional)
+ * ]
+ * confidenceScores (Optional): [
+ * double (Optional)
+ * ]
+ * }
+ * }
+ *
+ * @param options Method of univariate anomaly detection.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return response of change point detection along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response