你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeleteRetentionPolicy Class
The 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. |
days
|
Indicates the number of days that the deleted item 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. |
days
|
Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365. |