你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MetricAnomalyAlertScope.CreateScopeForTopNGroup(Int32, Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 MetricAnomalyAlertScope 实例,该实例将前 N 个系列组作为范围。 有关此序列组的更好定义,请参阅 TopNGroupScope。
public static Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope CreateScopeForTopNGroup(int top, int period, int minimumTopCount);
static member CreateScopeForTopNGroup : int * int * int -> Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope
Public Shared Function CreateScopeForTopNGroup (top As Integer, period As Integer, minimumTopCount As Integer) As MetricAnomalyAlertScope
参数
- top
- Int32
前 N 个系列组中 N 的值。
- period
- Int32
确定前 N 个序列组时要考虑的最新引入时间戳数。
- minimumTopCount
- Int32
时序必须排在最高序列中才能被视为前 N 个序列组的一部分的次数。 此值必须小于或等于 period
。
返回
新 MetricAnomalyAlertScope 实例。