DeleteRetentionPolicy Class

The service properties for soft delete.

Constructor

DeleteRetentionPolicy(*, enabled: bool | None = None, days: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
enabled

Indicates whether DeleteRetentionPolicy is enabled.

Default value: None
days
int

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.

Default value: None

Variables

Name Description
enabled

Indicates whether DeleteRetentionPolicy is enabled.

days
int

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.