Udostępnij przez


IDeleteRetentionPolicy Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.DeleteRetentionPolicyTypeConverter))]
public interface IDeleteRetentionPolicy : Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.DeleteRetentionPolicyTypeConverter))>]
type IDeleteRetentionPolicy = interface
    interface IJsonSerializable
Public Interface IDeleteRetentionPolicy
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Name Description
AllowPermanentDelete

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.

Day

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

Indicates whether DeleteRetentionPolicy is enabled.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to