SoftDeletePolicyArgs

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

The soft delete policy for a container registry

Constructors

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

Properties

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

The number of days after which a soft-deleted item is permanently deleted.

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(): SoftDeletePolicyArgs