All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.azurefleet.kotlin.inputs.UefiSettingsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.azurefleet.kotlin.inputs

import com.pulumi.azurenative.azurefleet.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.azurefleet.inputs.UefiSettingsArgs =
        com.pulumi.azurenative.azurefleet.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("rdkxkawsmhkvmjeh")
    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("bwdxxbhmhdrrauul")
    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("cyiuknsuujmmrofm")
    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("fveselhyhrycjaia")
    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