RetentionPolicy Class
Specifies the retention policy for the log.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
RetentionPolicy
Constructor
RetentionPolicy(*, enabled: bool, days: int, **kwargs)
Variables
- enabled
- bool
Required. a value indicating whether the retention policy is enabled.
- days
- int
Required. the number of days for the retention in days. A value of 0 will retain the events indefinitely.
Feedback
Submit and view feedback for