Dela via


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(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 TimeGrain { 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.TimeGrain : TimeSpan with get, set
Public Property TimeGrain As TimeSpan

Property Value

Attributes

Applies to