Class DeleteRetentionPolicy
- Namespace
- Microsoft.WindowsAzure.Storage.Shared.Protocol
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Class representing the service properties pertaining to DeleteRetentionPolicy
public sealed class DeleteRetentionPolicy
- Inheritance
-
DeleteRetentionPolicy
- Inherited Members
Constructors
DeleteRetentionPolicy()
public DeleteRetentionPolicy()
Properties
Enabled
Gets or sets the Enabled flag of the DeleteRetentionPolicy.
public bool Enabled { get; set; }
Property Value
- bool
Indicates whether DeleteRetentionPolicy is enabled for the Blob service.
RetentionDays
Gets or Sets the number of days on the DeleteRetentionPolicy.
public int? RetentionDays { get; set; }
Property Value
- int?
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.