RetentionPolicy Class
The retention policy which determines how long the associated data should persist.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.storage.fileshare._generated.models._models_py3.RetentionPolicyRetentionPolicy
Constructor
RetentionPolicy(enabled=False, days=None)
Parameters
- enabled
- bool
default value: False
Required. Indicates whether a retention policy is enabled for the storage service.
- 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.
Feedback
Submit and view feedback for