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

com.pulumi.gcp.compute.kotlin.inputs.InstanceFromMachineImageConfidentialInstanceConfigArgs.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.inputs

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

/**
 * Builder for [InstanceFromMachineImageConfidentialInstanceConfigArgs].
 */
@PulumiTagMarker
public class InstanceFromMachineImageConfidentialInstanceConfigArgsBuilder 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("foxwdduwqrpsnqni")
    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("qgfrpskqdbqhcrir")
    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("pflfpllhyatuhoea")
    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("mbsykcrrngxiahwb")
    public suspend fun enableConfidentialCompute(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableConfidentialCompute = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy