![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.testbase.kotlin.inputs.InplaceUpgradeOSInfoArgs.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.testbase.kotlin.inputs
import com.pulumi.azurenative.testbase.inputs.InplaceUpgradeOSInfoArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Specifies the baseline os and target os for in-place upgrade tests.
* @property baselineOS Specifies the baseline os for in-place upgrade tests.
* @property targetOS Specifies the target os for in-place upgrade tests.
*/
public data class InplaceUpgradeOSInfoArgs(
public val baselineOS: Output? = null,
public val targetOS: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.testbase.inputs.InplaceUpgradeOSInfoArgs =
com.pulumi.azurenative.testbase.inputs.InplaceUpgradeOSInfoArgs.builder()
.baselineOS(baselineOS?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.targetOS(targetOS?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InplaceUpgradeOSInfoArgs].
*/
@PulumiTagMarker
public class InplaceUpgradeOSInfoArgsBuilder internal constructor() {
private var baselineOS: Output? = null
private var targetOS: Output? = null
/**
* @param value Specifies the baseline os for in-place upgrade tests.
*/
@JvmName("umfmbdoqpnexywhm")
public suspend fun baselineOS(`value`: Output) {
this.baselineOS = value
}
/**
* @param value Specifies the target os for in-place upgrade tests.
*/
@JvmName("okspfdrvujhkgtji")
public suspend fun targetOS(`value`: Output) {
this.targetOS = value
}
/**
* @param value Specifies the baseline os for in-place upgrade tests.
*/
@JvmName("oxqydwxhqabotxtr")
public suspend fun baselineOS(`value`: OsPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.baselineOS = mapped
}
/**
* @param argument Specifies the baseline os for in-place upgrade tests.
*/
@JvmName("lwjnqbnpajfrjlye")
public suspend fun baselineOS(argument: suspend OsPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = OsPropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.baselineOS = mapped
}
/**
* @param value Specifies the target os for in-place upgrade tests.
*/
@JvmName("qyrpicqvtsuntvue")
public suspend fun targetOS(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.targetOS = mapped
}
internal fun build(): InplaceUpgradeOSInfoArgs = InplaceUpgradeOSInfoArgs(
baselineOS = baselineOS,
targetOS = targetOS,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy