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