DeleteRetentionPolicyArgs

data class DeleteRetentionPolicyArgs(val allowPermanentDelete: Output<Boolean>? = null, val days: Output<Int>? = null, val enabled: Output<Boolean>? = null) : ConvertibleToJava<DeleteRetentionPolicyArgs>

The service properties for soft delete.

Constructors

Link copied to clipboard
constructor(allowPermanentDelete: Output<Boolean>? = null, days: Output<Int>? = null, enabled: Output<Boolean>? = null)

Properties

Link copied to clipboard
val allowPermanentDelete: Output<Boolean>? = null

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.

Link copied to clipboard
val days: Output<Int>? = null

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.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Indicates whether DeleteRetentionPolicy is enabled.

Functions

Link copied to clipboard
open override fun toJava(): DeleteRetentionPolicyArgs