com.pulumi.gcp.compute.kotlin.outputs.GetInstanceTemplateConfidentialInstanceConfig.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. `on_host_maintenance` has to be set to TERMINATE or this will fail to create the VM.
*/
public data class GetInstanceTemplateConfidentialInstanceConfig(
public val confidentialInstanceType: String,
public val enableConfidentialCompute: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetInstanceTemplateConfidentialInstanceConfig): GetInstanceTemplateConfidentialInstanceConfig =
GetInstanceTemplateConfidentialInstanceConfig(
confidentialInstanceType = javaType.confidentialInstanceType(),
enableConfidentialCompute = javaType.enableConfidentialCompute(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy