SoftDeletePolicy Class
The soft delete policy for a container registry.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.containerregistry._serialization.ModelSoftDeletePolicy
Constructor
SoftDeletePolicy(*, retention_days: int = 7, status: str | _models.PolicyStatus | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
retention_days
|
The number of days after which a soft-deleted item is permanently deleted. Default value: 7
|
status
|
str or
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.PolicyStatus>
The value that indicates whether the policy is enabled or not. Known values are: "enabled" and "disabled". |
Variables
Name | Description |
---|---|
retention_days
|
The number of days after which a soft-deleted item is permanently deleted. |
last_updated_time
|
The timestamp when the policy was last updated. |
status
|
str or
<xref:azure.mgmt.containerregistry.v2023_06_06_preview.models.PolicyStatus>
The value that indicates whether the policy is enabled or not. Known values are: "enabled" and "disabled". |
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Python