RetentionPolicy Class
The retention policy which determines how long the associated data should persist.
- Inheritance
-
azure.storage.blob._generated.models._models_py3.RetentionPolicyRetentionPolicy
Constructor
RetentionPolicy(enabled=False, days=None)
Parameters
- enabled
- bool
default value: False
Indicates whether a retention policy is enabled for the storage service. The default value is False.
- days
- int
default value: None
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.
Feedback
Submit and view feedback for