DeleteRetentionPolicy Class
To set DeleteRetentionPolicy, you must call Set Blob Service Properties using version 2017-07-29 or later. This class groups the settings related to delete retention policy.
- Inheritance
-
builtins.objectDeleteRetentionPolicy
Constructor
DeleteRetentionPolicy(enabled=False, days=None)
Parameters
Name | Description |
---|---|
enabled
|
Required. Indicates whether a deleted blob or snapshot is retained or immediately removed by delete operation. Default value: False
|
days
|
Required only if Enabled is true. Indicates the number of days that deleted blob be retained. All data older than this value will be permanently deleted. The minimum value you can specify is 1; the largest value is 365. Default value: None
|
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Python