IMetricTrigger.TimeGrain 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(Create=true, 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) }, Read=true, ReadOnly=false, Required=true, SerializedName="timeGrain", Update=true)]
public TimeSpan TimeGrain { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Runtime.Info(Create=true, 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) }, Read=true, ReadOnly=false, Required=true, SerializedName="timeGrain", Update=true)>]
member this.TimeGrain : TimeSpan with get, set
Public Property TimeGrain As TimeSpan

Property Value

Attributes

Applies to