Freigeben über


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