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

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

package com.pulumi.azure.devtest.kotlin.inputs

import com.pulumi.azure.devtest.inputs.LinuxVirtualMachineGalleryImageReferenceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 offer The Offer of the Gallery Image. Changing this forces a new resource to be created.
 * @property publisher The Publisher of the Gallery Image. Changing this forces a new resource to be created.
 * @property sku The SKU of the Gallery Image. Changing this forces a new resource to be created.
 * @property version The Version of the Gallery Image. Changing this forces a new resource to be created.
 */
public data class LinuxVirtualMachineGalleryImageReferenceArgs(
    public val offer: Output,
    public val publisher: Output,
    public val sku: Output,
    public val version: Output,
) : ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.devtest.inputs.LinuxVirtualMachineGalleryImageReferenceArgs =
        com.pulumi.azure.devtest.inputs.LinuxVirtualMachineGalleryImageReferenceArgs.builder()
            .offer(offer.applyValue({ args0 -> args0 }))
            .publisher(publisher.applyValue({ args0 -> args0 }))
            .sku(sku.applyValue({ args0 -> args0 }))
            .version(version.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LinuxVirtualMachineGalleryImageReferenceArgs].
 */
@PulumiTagMarker
public class LinuxVirtualMachineGalleryImageReferenceArgsBuilder internal constructor() {
    private var offer: Output? = null

    private var publisher: Output? = null

    private var sku: Output? = null

    private var version: Output? = null

    /**
     * @param value The Offer of the Gallery Image. Changing this forces a new resource to be created.
     */
    @JvmName("dhkwfodrffjtmoqf")
    public suspend fun offer(`value`: Output) {
        this.offer = value
    }

    /**
     * @param value The Publisher of the Gallery Image. Changing this forces a new resource to be created.
     */
    @JvmName("ovrpgwpbrqoikvxl")
    public suspend fun publisher(`value`: Output) {
        this.publisher = value
    }

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

    /**
     * @param value The Version of the Gallery Image. Changing this forces a new resource to be created.
     */
    @JvmName("mvcxqrdqlfanitmk")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value The Offer of the Gallery Image. Changing this forces a new resource to be created.
     */
    @JvmName("hxhbekmoxsuvqtjs")
    public suspend fun offer(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.offer = mapped
    }

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

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

    /**
     * @param value The Version of the Gallery Image. Changing this forces a new resource to be created.
     */
    @JvmName("bunygcqklocoffke")
    public suspend fun version(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): LinuxVirtualMachineGalleryImageReferenceArgs =
        LinuxVirtualMachineGalleryImageReferenceArgs(
            offer = offer ?: throw PulumiNullFieldException("offer"),
            publisher = publisher ?: throw PulumiNullFieldException("publisher"),
            sku = sku ?: throw PulumiNullFieldException("sku"),
            version = version ?: throw PulumiNullFieldException("version"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy