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

IScaleRule.MetricTriggerTimeGrain Property

Definition

the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute.

[Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Runtime.Info(Description="the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute.", PossibleTypes=new System.Type[] { typeof(System.TimeSpan) }, ReadOnly=false, Required=true, SerializedName="timeGrain")]
public TimeSpan MetricTriggerTimeGrain { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Runtime.Info(Description="the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute.", PossibleTypes=new System.Type[] { typeof(System.TimeSpan) }, ReadOnly=false, Required=true, SerializedName="timeGrain")>]
member this.MetricTriggerTimeGrain : TimeSpan with get, set
Public Property MetricTriggerTimeGrain As TimeSpan

Property Value

Attributes

Applies to