com.pulumi.gcp.compute.kotlin.outputs.InstanceFromMachineImageConfidentialInstanceConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property confidentialInstanceType Specifies which confidential computing technology to use.
* This could be one of the following values: SEV, SEV_SNP.
* If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
* @property enableConfidentialCompute Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
*/
public data class InstanceFromMachineImageConfidentialInstanceConfig(
public val confidentialInstanceType: String? = null,
public val enableConfidentialCompute: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceFromMachineImageConfidentialInstanceConfig): InstanceFromMachineImageConfidentialInstanceConfig =
InstanceFromMachineImageConfidentialInstanceConfig(
confidentialInstanceType = javaType.confidentialInstanceType().map({ args0 -> args0 }).orElse(null),
enableConfidentialCompute = javaType.enableConfidentialCompute().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy