Megosztás a következőn keresztül:


MetricSettings.RetentionPolicyDay Property

Definition

the number of days for the retention in days. A value of 0 will retain the events indefinitely.

[Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Origin(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.PropertyOrigin.Inlined)]
public int? RetentionPolicyDay { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Origin(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.PropertyOrigin.Inlined)>]
member this.RetentionPolicyDay : Nullable<int> with get, set
Public Property RetentionPolicyDay As Nullable(Of Integer)

Property Value

Implements

Attributes

Applies to