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

com.pulumi.azurenative.compute.kotlin.inputs.UserArtifactManageArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.compute.kotlin.inputs

import com.pulumi.azurenative.compute.inputs.UserArtifactManageArgs.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 Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
 * @property remove Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
 * @property update Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
 */
public data class UserArtifactManageArgs(
    public val install: Output,
    public val remove: Output,
    public val update: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.compute.inputs.UserArtifactManageArgs =
        com.pulumi.azurenative.compute.inputs.UserArtifactManageArgs.builder()
            .install(install.applyValue({ args0 -> args0 }))
            .remove(remove.applyValue({ args0 -> args0 }))
            .update(update?.applyValue({ args0 -> args0 })).build()
}

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

    private var remove: Output? = null

    private var update: Output? = null

    /**
     * @param value Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
     */
    @JvmName("sxxunkksebgrurtq")
    public suspend fun install(`value`: Output) {
        this.install = value
    }

    /**
     * @param value Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
     */
    @JvmName("gxslhakldrffowsa")
    public suspend fun remove(`value`: Output) {
        this.remove = value
    }

    /**
     * @param value Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
     */
    @JvmName("iasiaxqmdcmtqgcx")
    public suspend fun update(`value`: Output) {
        this.update = value
    }

    /**
     * @param value Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
     */
    @JvmName("vcgmmalmpcfyhtvo")
    public suspend fun install(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.install = mapped
    }

    /**
     * @param value Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
     */
    @JvmName("lkqpouijgvqjesdb")
    public suspend fun remove(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.remove = mapped
    }

    /**
     * @param value Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
     */
    @JvmName("hlaxajpjodwfpdwi")
    public suspend fun update(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.update = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy