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

com.pulumi.gcp.compute.kotlin.outputs.InstanceFromMachineImageShieldedInstanceConfig.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property enableIntegrityMonitoring Whether integrity monitoring is enabled for the instance.
 * @property enableSecureBoot Whether secure boot is enabled for the instance.
 * @property enableVtpm Whether the instance uses vTPM.
 */
public data class InstanceFromMachineImageShieldedInstanceConfig(
    public val enableIntegrityMonitoring: Boolean? = null,
    public val enableSecureBoot: Boolean? = null,
    public val enableVtpm: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceFromMachineImageShieldedInstanceConfig): InstanceFromMachineImageShieldedInstanceConfig =
            InstanceFromMachineImageShieldedInstanceConfig(
                enableIntegrityMonitoring = javaType.enableIntegrityMonitoring().map({ args0 ->
                    args0
                }).orElse(null),
                enableSecureBoot = javaType.enableSecureBoot().map({ args0 -> args0 }).orElse(null),
                enableVtpm = javaType.enableVtpm().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy