Share via


MetricTrigger.TimeGrain Property

Definition

Gets or sets 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.

[Newtonsoft.Json.JsonProperty(PropertyName="timeGrain")]
public TimeSpan TimeGrain { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="timeGrain")>]
member this.TimeGrain : TimeSpan with get, set
Public Property TimeGrain As TimeSpan

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to