![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.inputs.UefiSettingsArgs.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.compute.kotlin.inputs
import com.pulumi.azurenative.compute.inputs.UefiSettingsArgs.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
/**
* Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
* @property secureBootEnabled Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
* @property vTpmEnabled Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
*/
public data class UefiSettingsArgs(
public val secureBootEnabled: Output? = null,
public val vTpmEnabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.compute.inputs.UefiSettingsArgs =
com.pulumi.azurenative.compute.inputs.UefiSettingsArgs.builder()
.secureBootEnabled(secureBootEnabled?.applyValue({ args0 -> args0 }))
.vTpmEnabled(vTpmEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UefiSettingsArgs].
*/
@PulumiTagMarker
public class UefiSettingsArgsBuilder internal constructor() {
private var secureBootEnabled: Output? = null
private var vTpmEnabled: Output? = null
/**
* @param value Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
*/
@JvmName("ulbodvwxumvusopj")
public suspend fun secureBootEnabled(`value`: Output) {
this.secureBootEnabled = value
}
/**
* @param value Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
*/
@JvmName("btetgekgqmxxnmpd")
public suspend fun vTpmEnabled(`value`: Output) {
this.vTpmEnabled = value
}
/**
* @param value Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
*/
@JvmName("nqwajpmdqawqascg")
public suspend fun secureBootEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secureBootEnabled = mapped
}
/**
* @param value Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
*/
@JvmName("nwomqwnbirfipsyv")
public suspend fun vTpmEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vTpmEnabled = mapped
}
internal fun build(): UefiSettingsArgs = UefiSettingsArgs(
secureBootEnabled = secureBootEnabled,
vTpmEnabled = vTpmEnabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy