RetentionPolicy interface

Specifies the retention policy for the log.

Properties

days

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

enabled

a value indicating whether the retention policy is enabled.

Property Details

days

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

days: number

Property Value

number

enabled

a value indicating whether the retention policy is enabled.

enabled: boolean

Property Value

boolean