RetentionPolicy Class
The retention policy for a container registry.
Constructor
RetentionPolicy()
Variables
| Name | Description |
|---|---|
|
days
|
The number of days to retain an untagged manifest after which it gets purged. |
|
lastUpdatedTime
|
The timestamp when the policy was last updated. |
|
status
|
The value that indicates whether the policy is enabled or not. Known values are: "enabled" and "disabled". |
Attributes
days
The number of days to retain an untagged manifest after which it gets purged.
days: int
lastUpdatedTime
The timestamp when the policy was last updated.
lastUpdatedTime: str
status
"enabled" and "disabled".
status: str | PolicyStatus