Share via


StorageMetricAggregation.Retention Property

 

Optional. Indicates the how long metrics data should be retained (must be an even number of days). All data older than this value will be deleted. The minimum number of days is 1; the largest value is 365 (one year).

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

Syntax

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

Property Value

Type: System.TimeSpan

See Also

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

Return to top