DeleteRetentionPolicy Constructors
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.
Overloads
DeleteRetentionPolicy() |
Initializes a new instance of the DeleteRetentionPolicy class. |
DeleteRetentionPolicy(Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>) |
Initializes a new instance of the DeleteRetentionPolicy class. |
DeleteRetentionPolicy()
Initializes a new instance of the DeleteRetentionPolicy class.
public DeleteRetentionPolicy ();
Public Sub New ()
Applies to
DeleteRetentionPolicy(Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>)
Initializes a new instance of the DeleteRetentionPolicy class.
public DeleteRetentionPolicy (bool? enabled = default, int? days = default, bool? allowPermanentDelete = default);
new Microsoft.Azure.Management.Storage.Models.DeleteRetentionPolicy : Nullable<bool> * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.Storage.Models.DeleteRetentionPolicy
Public Sub New (Optional enabled As Nullable(Of Boolean) = Nothing, Optional days As Nullable(Of Integer) = Nothing, Optional allowPermanentDelete As Nullable(Of Boolean) = Nothing)
Parameters
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.
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.