RetentionPolicy interface

the retention policy which determines how long the associated data should persist

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 storage 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 storage service

enabled: boolean

Property Value

boolean