RetentionPolicy interface

The retention policy for a container registry.

Properties

days

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

lastUpdatedTime

The timestamp when the policy was last updated. NOTE: This property will not be serialized. It can only be populated by the server.

status

The value that indicates whether the policy is enabled or not.

Property Details

days

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

days?: number

Property Value

number

lastUpdatedTime

The timestamp when the policy was last updated. NOTE: This property will not be serialized. It can only be populated by the server.

lastUpdatedTime?: Date

Property Value

Date

status

The value that indicates whether the policy is enabled or not.

status?: string

Property Value

string