你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricsAdvisorClient.GetIncidentsForDetectionConfiguration 方法

定义

获取描述给定 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)

参数

detectionConfigurationId
String

AnomalyAlertConfiguration 的唯一标识符。

options
GetIncidentsForDetectionConfigurationOptions

用于配置请求行为的选项集。

cancellationToken
CancellationToken

控制 CancellationToken 请求生存期的 。

返回

包含 Pageable<T> 实例集合的 DataPointAnomaly

例外

detectionConfigurationIdoptions 为 null。

detectionConfigurationId 为空或不是有效的 GUID。

适用于