GetRepositoryCleanupPolicy

data class GetRepositoryCleanupPolicy(val action: String, val conditions: List<GetRepositoryCleanupPolicyCondition>, val id: String, val mostRecentVersions: List<GetRepositoryCleanupPolicyMostRecentVersion>)

Constructors

Link copied to clipboard
constructor(action: String, conditions: List<GetRepositoryCleanupPolicyCondition>, id: String, mostRecentVersions: List<GetRepositoryCleanupPolicyMostRecentVersion>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Policy action. Possible values: "DELETE", "KEEP"

Link copied to clipboard

Policy condition for matching versions.

Link copied to clipboard
val id: String
Link copied to clipboard

Policy condition for retaining a minimum number of versions. May only be specified with a Keep action.