![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.batch.kotlin.inputs.PoolWindowArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.batch.kotlin.inputs
import com.pulumi.azure.batch.inputs.PoolWindowArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property enableAutomaticUpdates Whether automatic updates are enabled on the virtual machine. Defaults to `true`.
*/
public data class PoolWindowArgs(
public val enableAutomaticUpdates: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.batch.inputs.PoolWindowArgs =
com.pulumi.azure.batch.inputs.PoolWindowArgs.builder()
.enableAutomaticUpdates(enableAutomaticUpdates?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PoolWindowArgs].
*/
@PulumiTagMarker
public class PoolWindowArgsBuilder internal constructor() {
private var enableAutomaticUpdates: Output? = null
/**
* @param value Whether automatic updates are enabled on the virtual machine. Defaults to `true`.
*/
@JvmName("fqdvprscephfervv")
public suspend fun enableAutomaticUpdates(`value`: Output) {
this.enableAutomaticUpdates = value
}
/**
* @param value Whether automatic updates are enabled on the virtual machine. Defaults to `true`.
*/
@JvmName("dyikeqsmagcvrcnk")
public suspend fun enableAutomaticUpdates(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enableAutomaticUpdates = mapped
}
internal fun build(): PoolWindowArgs = PoolWindowArgs(
enableAutomaticUpdates = enableAutomaticUpdates,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy