SoftDeletePolicy Class
Contains information about the soft deletion policy of the gallery.
Constructor
SoftDeletePolicy()
Variables
| Name | Description |
|---|---|
|
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. |
|
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. |
Attributes
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: int
isSoftDeleteEnabled
Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
isSoftDeleteEnabled: bool
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: int