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

com.pulumi.azure.lab.kotlin.inputs.LabVirtualMachineImageReferenceArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.lab.kotlin.inputs

import com.pulumi.azure.lab.inputs.LabVirtualMachineImageReferenceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property id The resource ID of the image. Changing this forces a new resource to be created.
 * @property offer The image offer if applicable. Changing this forces a new resource to be created.
 * @property publisher The image publisher. Changing this forces a new resource to be created.
 * @property sku The image SKU. Changing this forces a new resource to be created.
 * @property version The image version specified on creation. Changing this forces a new resource to be created.
 */
public data class LabVirtualMachineImageReferenceArgs(
    public val id: Output? = null,
    public val offer: Output? = null,
    public val publisher: Output? = null,
    public val sku: Output? = null,
    public val version: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.lab.inputs.LabVirtualMachineImageReferenceArgs =
        com.pulumi.azure.lab.inputs.LabVirtualMachineImageReferenceArgs.builder()
            .id(id?.applyValue({ args0 -> args0 }))
            .offer(offer?.applyValue({ args0 -> args0 }))
            .publisher(publisher?.applyValue({ args0 -> args0 }))
            .sku(sku?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LabVirtualMachineImageReferenceArgs].
 */
@PulumiTagMarker
public class LabVirtualMachineImageReferenceArgsBuilder internal constructor() {
    private var id: Output? = null

    private var offer: Output? = null

    private var publisher: Output? = null

    private var sku: Output? = null

    private var version: Output? = null

    /**
     * @param value The resource ID of the image. Changing this forces a new resource to be created.
     */
    @JvmName("ijjaxbupvidccjop")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The image offer if applicable. Changing this forces a new resource to be created.
     */
    @JvmName("nkfoxgkkqfwqfidm")
    public suspend fun offer(`value`: Output) {
        this.offer = value
    }

    /**
     * @param value The image publisher. Changing this forces a new resource to be created.
     */
    @JvmName("qwlqmfndohlpneet")
    public suspend fun publisher(`value`: Output) {
        this.publisher = value
    }

    /**
     * @param value The image SKU. Changing this forces a new resource to be created.
     */
    @JvmName("xndrssjrvlesrwmj")
    public suspend fun sku(`value`: Output) {
        this.sku = value
    }

    /**
     * @param value The image version specified on creation. Changing this forces a new resource to be created.
     */
    @JvmName("wvypvyfqntevlohp")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value The resource ID of the image. Changing this forces a new resource to be created.
     */
    @JvmName("acehonwxkdfsrswg")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The image offer if applicable. Changing this forces a new resource to be created.
     */
    @JvmName("tobyatkwxvrqvnfv")
    public suspend fun offer(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.offer = mapped
    }

    /**
     * @param value The image publisher. Changing this forces a new resource to be created.
     */
    @JvmName("bwkremmpqigrsoev")
    public suspend fun publisher(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publisher = mapped
    }

    /**
     * @param value The image SKU. Changing this forces a new resource to be created.
     */
    @JvmName("wmfgwnxsdsklpquq")
    public suspend fun sku(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sku = mapped
    }

    /**
     * @param value The image version specified on creation. Changing this forces a new resource to be created.
     */
    @JvmName("rinuhhbclucfjkvc")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): LabVirtualMachineImageReferenceArgs = LabVirtualMachineImageReferenceArgs(
        id = id,
        offer = offer,
        publisher = publisher,
        sku = sku,
        version = version,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy