RetentionPolicy Class

The retention policy for a container registry.

Constructor

RetentionPolicy()

Variables

Name Description
days
int

The number of days to retain an untagged manifest after which it gets purged.

lastUpdatedTime
str

The timestamp when the policy was last updated.

status
Union[str, <xref:"PolicyStatus">]

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