Partager via


MultivariateBatchDetectionOptions Class

  • java.lang.Object
    • com.azure.ai.anomalydetector.models.MultivariateBatchDetectionOptions

public final class MultivariateBatchDetectionOptions

Detection request for batch inference. This is an asynchronous inference which will need another API to get detection results.

Constructor Summary

Constructor Description
MultivariateBatchDetectionOptions(String dataSource, int topContributorCount, OffsetDateTime startTime, OffsetDateTime endTime)

Creates an instance of MultivariateBatchDetectionOptions class.

Method Summary

Modifier and Type Method and Description
String getDataSource()

Get the dataSource property: Source link to the input data to indicate an accessible Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob storage based on you data schema selection.

OffsetDateTime getEndTime()

Get the endTime property: A required field, indicating the end time of data for detection, which should be date-time of ISO 8601 format.

OffsetDateTime getStartTime()

Get the startTime property: A required field, indicating the start time of data for detection, which should be date-time of ISO 8601 format.

int getTopContributorCount()

Get the topContributorCount property: An optional field, which is used to specify the number of top contributed variables for one anomalous timestamp in the response.

Methods inherited from java.lang.Object

Constructor Details

MultivariateBatchDetectionOptions

public MultivariateBatchDetectionOptions(String dataSource, int topContributorCount, OffsetDateTime startTime, OffsetDateTime endTime)

Creates an instance of MultivariateBatchDetectionOptions class.

Parameters:

dataSource - the dataSource value to set.
topContributorCount - the topContributorCount value to set.
startTime - the startTime value to set.
endTime - the endTime value to set.

Method Details

getDataSource

public String getDataSource()

Get the dataSource property: Source link to the input data to indicate an accessible Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob storage based on you data schema selection. The data schema should be exactly the same with those used in the training phase.

Returns:

the dataSource value.

getEndTime

public OffsetDateTime getEndTime()

Get the endTime property: A required field, indicating the end time of data for detection, which should be date-time of ISO 8601 format.

Returns:

the endTime value.

getStartTime

public OffsetDateTime getStartTime()

Get the startTime property: A required field, indicating the start time of data for detection, which should be date-time of ISO 8601 format.

Returns:

the startTime value.

getTopContributorCount

public int getTopContributorCount()

Get the topContributorCount property: An optional field, which is used to specify the number of top contributed variables for one anomalous timestamp in the response. The default number is 10.

Returns:

the topContributorCount value.

Applies to