共用方式為


MetricAvailability.Retention Property

Definition

Gets or sets the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to