DeleteRetentionPolicy Class
The blob service properties for soft delete.
- Inheritance
-
azure.mgmt.storage._serialization.ModelDeleteRetentionPolicy
Constructor
DeleteRetentionPolicy(*, enabled: bool | None = None, days: int | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
enabled
|
Indicates whether DeleteRetentionPolicy is enabled for the Blob service. |
days
|
Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365. |
Variables
Name | Description |
---|---|
enabled
|
Indicates whether DeleteRetentionPolicy is enabled for the Blob service. |
days
|
Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python