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 blob 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>) |
Initializes a new instance of the DeleteRetentionPolicy class. |
Properties
Days |
Gets or sets 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. |
Enabled |
Gets or sets indicates whether DeleteRetentionPolicy is enabled for the Blob service. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET