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

MetricTrigger.TimeWindow 属性

定义

获取或设置收集实例数据的时间范围。 此值必须大于指标集合中的延迟,可能会因资源而异。 必须介于 12 小时和 5 分钟之间。

[Newtonsoft.Json.JsonProperty(PropertyName="timeWindow")]
public TimeSpan TimeWindow { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="timeWindow")>]
member this.TimeWindow : TimeSpan with get, set
Public Property TimeWindow As TimeSpan

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于