MetricsAdvisorClient.GetIncidentsForDetectionConfiguration Method

Definition

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

public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyIncident> GetIncidentsForDetectionConfiguration (string detectionConfigurationId, Azure.AI.MetricsAdvisor.GetIncidentsForDetectionConfigurationOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIncidentsForDetectionConfiguration : string * Azure.AI.MetricsAdvisor.GetIncidentsForDetectionConfigurationOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyIncident>
override this.GetIncidentsForDetectionConfiguration : string * Azure.AI.MetricsAdvisor.GetIncidentsForDetectionConfigurationOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyIncident>
Public Overridable Function GetIncidentsForDetectionConfiguration (detectionConfigurationId As String, options As GetIncidentsForDetectionConfigurationOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

A Pageable<T> containing the collection of DataPointAnomaly instances.

Exceptions

detectionConfigurationId or options is null.

detectionConfigurationId is empty or not a valid GUID.

Applies to