RetentionPolicy class
Definition
The retention policy which determines how long the associated data should persist.
RetentionPolicy(enabled=False, days=None)
- Inheritance
Parameters
- enabled
- bool
Indicates whether a retention policy is enabled for the storage service. The default value is False.
- days
- int
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. If enabled=True, the number of days must be specified.