MetricTrigger.TimeGrain Property

 

Optional. 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.

Namespace:   Microsoft.Azure.Management.Insights.Models
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

Syntax

public TimeSpan TimeGrain { get; set; }
public:
property TimeSpan TimeGrain {
    TimeSpan get();
    void set(TimeSpan value);
}
member TimeGrain : TimeSpan with get, set
Public Property TimeGrain As TimeSpan

Property Value

Type: System.TimeSpan

See Also

MetricTrigger Class
Microsoft.Azure.Management.Insights.Models Namespace

Return to top