다음을 통해 공유


MetricTrigger.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.Origin(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.PropertyOrigin.Owned)]
public TimeSpan TimeGrain { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Origin(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.PropertyOrigin.Owned)>]
member this.TimeGrain : TimeSpan with get, set
Public Property TimeGrain As TimeSpan

Property Value

Implements

Attributes

Applies to