Compartir a través de


MetricsAdvisorClient.GetIncidentsForDetectionConfiguration Método

Definición

Obtiene una colección de elementos que describen los incidentes detectados por un determinado 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)

Parámetros

detectionConfigurationId
String

Identificador único de AnomalyAlertConfiguration.

options
GetIncidentsForDetectionConfigurationOptions

Conjunto de opciones usadas para configurar el comportamiento de la solicitud.

cancellationToken
CancellationToken

Control CancellationToken de la duración de la solicitud.

Devoluciones

que Pageable<T> contiene la colección de DataPointAnomaly instancias.

Excepciones

detectionConfigurationId o options es null.

detectionConfigurationId está vacío o no es un GUID válido.

Se aplica a