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

com.pulumi.azure.compute.kotlin.inputs.GalleryApplicationVersionManageActionArgs.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.compute.kotlin.inputs

import com.pulumi.azure.compute.inputs.GalleryApplicationVersionManageActionArgs.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 install The command to install the Gallery Application. Changing this forces a new resource to be created.
 * @property remove The command to remove the Gallery Application. Changing this forces a new resource to be created.
 * @property update The command to update the Gallery Application. Changing this forces a new resource to be created.
 */
public data class GalleryApplicationVersionManageActionArgs(
    public val install: Output,
    public val remove: Output,
    public val update: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.compute.inputs.GalleryApplicationVersionManageActionArgs =
        com.pulumi.azure.compute.inputs.GalleryApplicationVersionManageActionArgs.builder()
            .install(install.applyValue({ args0 -> args0 }))
            .remove(remove.applyValue({ args0 -> args0 }))
            .update(update?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GalleryApplicationVersionManageActionArgs].
 */
@PulumiTagMarker
public class GalleryApplicationVersionManageActionArgsBuilder internal constructor() {
    private var install: Output? = null

    private var remove: Output? = null

    private var update: Output? = null

    /**
     * @param value The command to install the Gallery Application. Changing this forces a new resource to be created.
     */
    @JvmName("ggqueatromusguyd")
    public suspend fun install(`value`: Output) {
        this.install = value
    }

    /**
     * @param value The command to remove the Gallery Application. Changing this forces a new resource to be created.
     */
    @JvmName("ryedfhgcsetbhjci")
    public suspend fun remove(`value`: Output) {
        this.remove = value
    }

    /**
     * @param value The command to update the Gallery Application. Changing this forces a new resource to be created.
     */
    @JvmName("terlwpnxckogaogl")
    public suspend fun update(`value`: Output) {
        this.update = value
    }

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

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

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

    internal fun build(): GalleryApplicationVersionManageActionArgs =
        GalleryApplicationVersionManageActionArgs(
            install = install ?: throw PulumiNullFieldException("install"),
            remove = remove ?: throw PulumiNullFieldException("remove"),
            update = update,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy