RetentionPolicyArgs

data class RetentionPolicyArgs(val days: Output<Int>? = null, val status: Output<Either<String, PolicyStatus>>? = null) : ConvertibleToJava<RetentionPolicyArgs>

The retention policy for a container registry.

Constructors

Link copied to clipboard
constructor(days: Output<Int>? = null, status: Output<Either<String, PolicyStatus>>? = null)

Properties

Link copied to clipboard
val days: Output<Int>? = null

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

Link copied to clipboard
val status: Output<Either<String, PolicyStatus>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): RetentionPolicyArgs