RetentionPolicy class
Definition
The retention policy which determines how long the associated data should persist.
All required parameters must be populated in order to send to Azure.
RetentionPolicy(enabled=False, days=None)
- Inheritance
Parameters
- enabled
- bool
Required. Indicates whether a retention policy is enabled for the storage service.
- 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.