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

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

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.InstanceFromTemplateConfidentialInstanceConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @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 InstanceFromTemplateConfidentialInstanceConfigArgs(
    public val confidentialInstanceType: Output? = null,
    public val enableConfidentialCompute: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.InstanceFromTemplateConfidentialInstanceConfigArgs =
        com.pulumi.gcp.compute.inputs.InstanceFromTemplateConfidentialInstanceConfigArgs.builder()
            .confidentialInstanceType(confidentialInstanceType?.applyValue({ args0 -> args0 }))
            .enableConfidentialCompute(enableConfidentialCompute?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InstanceFromTemplateConfidentialInstanceConfigArgs].
 */
@PulumiTagMarker
public class InstanceFromTemplateConfidentialInstanceConfigArgsBuilder internal constructor() {
    private var confidentialInstanceType: Output? = null

    private var enableConfidentialCompute: Output? = null

    /**
     * @param value 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.
     */
    @JvmName("qjsgfnnbulopeghp")
    public suspend fun confidentialInstanceType(`value`: Output) {
        this.confidentialInstanceType = value
    }

    /**
     * @param value Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
     */
    @JvmName("yoogqlrvxanxauto")
    public suspend fun enableConfidentialCompute(`value`: Output) {
        this.enableConfidentialCompute = value
    }

    /**
     * @param value 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.
     */
    @JvmName("cfiqygfkryrroomb")
    public suspend fun confidentialInstanceType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.confidentialInstanceType = mapped
    }

    /**
     * @param value Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
     */
    @JvmName("qylttbxnmtndcdxo")
    public suspend fun enableConfidentialCompute(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableConfidentialCompute = mapped
    }

    internal fun build(): InstanceFromTemplateConfidentialInstanceConfigArgs =
        InstanceFromTemplateConfidentialInstanceConfigArgs(
            confidentialInstanceType = confidentialInstanceType,
            enableConfidentialCompute = enableConfidentialCompute,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy