SoftDeletePolicy interface

Contains information about the soft deletion policy of the gallery.

Properties

gracePeriodInDays

The grace period in days for a simulated hard-deleted resource. During this period the gallery image version is unusable but can still be recovered if required. After this period elapses, the gallery image version is permanently (hard) deleted.

isSoftDeleteEnabled

Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.

retentionPeriodInDays

The retention period in days for a soft-deleted resource. After this period elapses, the soft-deleted gallery image version transitions to a simulated hard-deleted state.

Property Details

gracePeriodInDays

The grace period in days for a simulated hard-deleted resource. During this period the gallery image version is unusable but can still be recovered if required. After this period elapses, the gallery image version is permanently (hard) deleted.

gracePeriodInDays?: number

Property Value

number

isSoftDeleteEnabled

Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.

isSoftDeleteEnabled?: boolean

Property Value

boolean

retentionPeriodInDays

The retention period in days for a soft-deleted resource. After this period elapses, the soft-deleted gallery image version transitions to a simulated hard-deleted state.

retentionPeriodInDays?: number

Property Value

number