![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.resources.kotlin.inputs.OnErrorDeploymentArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.resources.kotlin.inputs
import com.pulumi.azurenative.resources.inputs.OnErrorDeploymentArgs.builder
import com.pulumi.azurenative.resources.kotlin.enums.OnErrorDeploymentType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Deployment on error behavior.
* @property deploymentName The deployment to be used on error case.
* @property type The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
*/
public data class OnErrorDeploymentArgs(
public val deploymentName: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.resources.inputs.OnErrorDeploymentArgs =
com.pulumi.azurenative.resources.inputs.OnErrorDeploymentArgs.builder()
.deploymentName(deploymentName?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [OnErrorDeploymentArgs].
*/
@PulumiTagMarker
public class OnErrorDeploymentArgsBuilder internal constructor() {
private var deploymentName: Output? = null
private var type: Output? = null
/**
* @param value The deployment to be used on error case.
*/
@JvmName("lnjqhajcreuqcimq")
public suspend fun deploymentName(`value`: Output) {
this.deploymentName = value
}
/**
* @param value The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
*/
@JvmName("lmklkxjiunaiqvev")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The deployment to be used on error case.
*/
@JvmName("tgbqodtmdjwlfjgf")
public suspend fun deploymentName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deploymentName = mapped
}
/**
* @param value The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
*/
@JvmName("qhmjhlhwbdnswkad")
public suspend fun type(`value`: OnErrorDeploymentType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): OnErrorDeploymentArgs = OnErrorDeploymentArgs(
deploymentName = deploymentName,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy