RetentionPolicy interface

The retention policy.

Properties

days

Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted.

enabled

Indicates whether a retention policy is enabled for the service.

Property Details

days

Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted.

days?: number

Property Value

number

enabled

Indicates whether a retention policy is enabled for the service.

enabled: boolean

Property Value

boolean