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

com.pulumi.gcp.notebooks.kotlin.inputs.EnvironmentVmImageArgs.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.notebooks.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.notebooks.inputs.EnvironmentVmImageArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property imageFamily Use this VM image family to find the image; the newest image in this family will be used.
 * @property imageName Use VM image name to find the image.
 * @property project The name of the Google Cloud project that this VM image belongs to.
 * Format: projects/{project_id}
 */
public data class EnvironmentVmImageArgs(
    public val imageFamily: Output? = null,
    public val imageName: Output? = null,
    public val project: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.notebooks.inputs.EnvironmentVmImageArgs =
        com.pulumi.gcp.notebooks.inputs.EnvironmentVmImageArgs.builder()
            .imageFamily(imageFamily?.applyValue({ args0 -> args0 }))
            .imageName(imageName?.applyValue({ args0 -> args0 }))
            .project(project.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EnvironmentVmImageArgs].
 */
@PulumiTagMarker
public class EnvironmentVmImageArgsBuilder internal constructor() {
    private var imageFamily: Output? = null

    private var imageName: Output? = null

    private var project: Output? = null

    /**
     * @param value Use this VM image family to find the image; the newest image in this family will be used.
     */
    @JvmName("hbbsdhnlpohdypsm")
    public suspend fun imageFamily(`value`: Output) {
        this.imageFamily = value
    }

    /**
     * @param value Use VM image name to find the image.
     */
    @JvmName("gkibthltgmwqnrib")
    public suspend fun imageName(`value`: Output) {
        this.imageName = value
    }

    /**
     * @param value The name of the Google Cloud project that this VM image belongs to.
     * Format: projects/{project_id}
     */
    @JvmName("tnqbrijdmdfdthfv")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value Use this VM image family to find the image; the newest image in this family will be used.
     */
    @JvmName("aerqkkwxdusynmrw")
    public suspend fun imageFamily(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.imageFamily = mapped
    }

    /**
     * @param value Use VM image name to find the image.
     */
    @JvmName("cufyyumyijdursad")
    public suspend fun imageName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.imageName = mapped
    }

    /**
     * @param value The name of the Google Cloud project that this VM image belongs to.
     * Format: projects/{project_id}
     */
    @JvmName("bdnpdjivhwgxjgmk")
    public suspend fun project(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.project = mapped
    }

    internal fun build(): EnvironmentVmImageArgs = EnvironmentVmImageArgs(
        imageFamily = imageFamily,
        imageName = imageName,
        project = project ?: throw PulumiNullFieldException("project"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy