com.pulumi.kubernetes.apps.v1beta1.kotlin.inputs.RollbackConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.apps.v1beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kubernetes.apps.v1beta1.inputs.RollbackConfigArgs.builder
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* DEPRECATED.
* @property revision The revision to rollback to. If set to 0, rollback to the last revision.
*/
public data class RollbackConfigArgs(
public val revision: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.apps.v1beta1.inputs.RollbackConfigArgs =
com.pulumi.kubernetes.apps.v1beta1.inputs.RollbackConfigArgs.builder()
.revision(revision?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RollbackConfigArgs].
*/
@PulumiTagMarker
public class RollbackConfigArgsBuilder internal constructor() {
private var revision: Output? = null
/**
* @param value The revision to rollback to. If set to 0, rollback to the last revision.
*/
@JvmName("vdvcodmfqaqwyjml")
public suspend fun revision(`value`: Output) {
this.revision = value
}
/**
* @param value The revision to rollback to. If set to 0, rollback to the last revision.
*/
@JvmName("eexjloogxgsqlveh")
public suspend fun revision(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.revision = mapped
}
internal fun build(): RollbackConfigArgs = RollbackConfigArgs(
revision = revision,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy