![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.batch.kotlin.inputs.OSDiskArgs.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.batch.kotlin.inputs
import com.pulumi.azurenative.batch.inputs.OSDiskArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property ephemeralOSDiskSettings
*/
public data class OSDiskArgs(
public val ephemeralOSDiskSettings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.batch.inputs.OSDiskArgs =
com.pulumi.azurenative.batch.inputs.OSDiskArgs.builder()
.ephemeralOSDiskSettings(
ephemeralOSDiskSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [OSDiskArgs].
*/
@PulumiTagMarker
public class OSDiskArgsBuilder internal constructor() {
private var ephemeralOSDiskSettings: Output? = null
/**
* @param value
*/
@JvmName("kppqjwjaabptehig")
public suspend fun ephemeralOSDiskSettings(`value`: Output) {
this.ephemeralOSDiskSettings = value
}
/**
* @param value
*/
@JvmName("gmgjqjcwqmqdakba")
public suspend fun ephemeralOSDiskSettings(`value`: DiffDiskSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ephemeralOSDiskSettings = mapped
}
/**
* @param argument
*/
@JvmName("hrpwvvisuoxakwms")
public suspend fun ephemeralOSDiskSettings(argument: suspend DiffDiskSettingsArgsBuilder.() -> Unit) {
val toBeMapped = DiffDiskSettingsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.ephemeralOSDiskSettings = mapped
}
internal fun build(): OSDiskArgs = OSDiskArgs(
ephemeralOSDiskSettings = ephemeralOSDiskSettings,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy