GetProjectContainerExpirationPolicy

data class GetProjectContainerExpirationPolicy(val cadence: String, val enabled: Boolean, val keepN: Int, val nameRegex: String, val nameRegexDelete: String, val nameRegexKeep: String, val nextRunAt: String, val olderThan: String)

Constructors

Link copied to clipboard
constructor(cadence: String, enabled: Boolean, keepN: Int, nameRegex: String, nameRegexDelete: String, nameRegexKeep: String, nextRunAt: String, olderThan: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The cadence of the policy. Valid values are: 1d, 7d, 14d, 1month, 3month.

Link copied to clipboard

If true, the policy is enabled.

Link copied to clipboard
val keepN: Int

The number of images to keep.

Link copied to clipboard

The regular expression to match image names to delete.

Link copied to clipboard

The regular expression to match image names to delete.

Link copied to clipboard

The regular expression to match image names to keep.

Link copied to clipboard

The next time the policy will run.

Link copied to clipboard

The number of days to keep images.