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

com.pulumi.gcp.compute.kotlin.outputs.GetInstanceTemplateConfidentialInstanceConfig.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.10.0.0
Show newest version
@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