DeleteRetentionPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The service properties for soft delete.
public class DeleteRetentionPolicy
type DeleteRetentionPolicy = class
Public Class DeleteRetentionPolicy
- Inheritance
-
DeleteRetentionPolicy
Constructors
DeleteRetentionPolicy() |
Initializes a new instance of the DeleteRetentionPolicy class. |
DeleteRetentionPolicy(Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>) |
Initializes a new instance of the DeleteRetentionPolicy class. |
Properties
AllowPermanentDelete |
Gets or sets this property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share. |
Days |
Gets or sets 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. |
Enabled |
Gets or sets indicates whether DeleteRetentionPolicy is enabled. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET