com.pulumi.gcp.artifactregistry.kotlin.outputs.GetRepositoryCleanupPolicyCondition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.artifactregistry.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property newerThan Match versions newer than a duration.
* @property olderThan Match versions older than a duration.
* @property packageNamePrefixes Match versions by package prefix. Applied on any prefix match.
* @property tagPrefixes Match versions by tag prefix. Applied on any prefix match.
* @property tagState Match versions by tag status. Default value: "ANY" Possible values: ["TAGGED", "UNTAGGED", "ANY"]
* @property versionNamePrefixes Match versions by version name prefix. Applied on any prefix match.
*/
public data class GetRepositoryCleanupPolicyCondition(
public val newerThan: String,
public val olderThan: String,
public val packageNamePrefixes: List,
public val tagPrefixes: List,
public val tagState: String,
public val versionNamePrefixes: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.artifactregistry.outputs.GetRepositoryCleanupPolicyCondition): GetRepositoryCleanupPolicyCondition = GetRepositoryCleanupPolicyCondition(
newerThan = javaType.newerThan(),
olderThan = javaType.olderThan(),
packageNamePrefixes = javaType.packageNamePrefixes().map({ args0 -> args0 }),
tagPrefixes = javaType.tagPrefixes().map({ args0 -> args0 }),
tagState = javaType.tagState(),
versionNamePrefixes = javaType.versionNamePrefixes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy