MetricsAdvisorClient.GetIncidentsForDetectionConfigurationAsync Method

Definition

Gets a collection of items describing the incidents detected by a given AnomalyDetectionConfiguration.

public virtual Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.AnomalyIncident> GetIncidentsForDetectionConfigurationAsync (string detectionConfigurationId, Azure.AI.MetricsAdvisor.GetIncidentsForDetectionConfigurationOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIncidentsForDetectionConfigurationAsync : string * Azure.AI.MetricsAdvisor.GetIncidentsForDetectionConfigurationOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.AnomalyIncident>
override this.GetIncidentsForDetectionConfigurationAsync : string * Azure.AI.MetricsAdvisor.GetIncidentsForDetectionConfigurationOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Models.AnomalyIncident>
Public Overridable Function GetIncidentsForDetectionConfigurationAsync (detectionConfigurationId As String, options As GetIncidentsForDetectionConfigurationOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AnomalyIncident)

Parameters

detectionConfigurationId
String

The unique identifier of the AnomalyAlertConfiguration.

options
GetIncidentsForDetectionConfigurationOptions

The set of options used to configure the request's behavior.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An AsyncPageable<T> containing the collection of DataPointAnomaly instances.

Exceptions

detectionConfigurationId or options is null.

detectionConfigurationId is empty or not a valid GUID.

Applies to