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

com.pulumi.azurenative.devtestlab.kotlin.inputs.ArtifactInstallPropertiesArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.devtestlab.kotlin.inputs

import com.pulumi.azurenative.devtestlab.inputs.ArtifactInstallPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Properties of an artifact.
 * @property artifactId The artifact's identifier.
 * @property artifactTitle The artifact's title.
 * @property deploymentStatusMessage The status message from the deployment.
 * @property installTime The time that the artifact starts to install on the virtual machine.
 * @property parameters The parameters of the artifact.
 * @property status The status of the artifact.
 * @property vmExtensionStatusMessage The status message from the virtual machine extension.
 */
public data class ArtifactInstallPropertiesArgs(
    public val artifactId: Output? = null,
    public val artifactTitle: Output? = null,
    public val deploymentStatusMessage: Output? = null,
    public val installTime: Output? = null,
    public val parameters: Output>? = null,
    public val status: Output? = null,
    public val vmExtensionStatusMessage: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.devtestlab.inputs.ArtifactInstallPropertiesArgs =
        com.pulumi.azurenative.devtestlab.inputs.ArtifactInstallPropertiesArgs.builder()
            .artifactId(artifactId?.applyValue({ args0 -> args0 }))
            .artifactTitle(artifactTitle?.applyValue({ args0 -> args0 }))
            .deploymentStatusMessage(deploymentStatusMessage?.applyValue({ args0 -> args0 }))
            .installTime(installTime?.applyValue({ args0 -> args0 }))
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .status(status?.applyValue({ args0 -> args0 }))
            .vmExtensionStatusMessage(vmExtensionStatusMessage?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ArtifactInstallPropertiesArgs].
 */
@PulumiTagMarker
public class ArtifactInstallPropertiesArgsBuilder internal constructor() {
    private var artifactId: Output? = null

    private var artifactTitle: Output? = null

    private var deploymentStatusMessage: Output? = null

    private var installTime: Output? = null

    private var parameters: Output>? = null

    private var status: Output? = null

    private var vmExtensionStatusMessage: Output? = null

    /**
     * @param value The artifact's identifier.
     */
    @JvmName("qetgxmydghtpueoe")
    public suspend fun artifactId(`value`: Output) {
        this.artifactId = value
    }

    /**
     * @param value The artifact's title.
     */
    @JvmName("ubominiaemcekxel")
    public suspend fun artifactTitle(`value`: Output) {
        this.artifactTitle = value
    }

    /**
     * @param value The status message from the deployment.
     */
    @JvmName("ldluivkxmjbkotni")
    public suspend fun deploymentStatusMessage(`value`: Output) {
        this.deploymentStatusMessage = value
    }

    /**
     * @param value The time that the artifact starts to install on the virtual machine.
     */
    @JvmName("jmquaquntjpklfkm")
    public suspend fun installTime(`value`: Output) {
        this.installTime = value
    }

    /**
     * @param value The parameters of the artifact.
     */
    @JvmName("sbymyvecfhxykiqp")
    public suspend fun parameters(`value`: Output>) {
        this.parameters = value
    }

    @JvmName("xfdkwyflbijkflci")
    public suspend fun parameters(vararg values: Output) {
        this.parameters = Output.all(values.asList())
    }

    /**
     * @param values The parameters of the artifact.
     */
    @JvmName("tgtassdwbqovifyj")
    public suspend fun parameters(values: List>) {
        this.parameters = Output.all(values)
    }

    /**
     * @param value The status of the artifact.
     */
    @JvmName("iovyotmmofowwwkk")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value The status message from the virtual machine extension.
     */
    @JvmName("ycprcvejbwpselqt")
    public suspend fun vmExtensionStatusMessage(`value`: Output) {
        this.vmExtensionStatusMessage = value
    }

    /**
     * @param value The artifact's identifier.
     */
    @JvmName("qdeaherqhqwqhgge")
    public suspend fun artifactId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactId = mapped
    }

    /**
     * @param value The artifact's title.
     */
    @JvmName("bnmrvvqhhmpdigie")
    public suspend fun artifactTitle(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactTitle = mapped
    }

    /**
     * @param value The status message from the deployment.
     */
    @JvmName("dcilrkicoipanvkf")
    public suspend fun deploymentStatusMessage(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deploymentStatusMessage = mapped
    }

    /**
     * @param value The time that the artifact starts to install on the virtual machine.
     */
    @JvmName("clxtkhpuxsboycho")
    public suspend fun installTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.installTime = mapped
    }

    /**
     * @param value The parameters of the artifact.
     */
    @JvmName("gslvdfawynfhofiq")
    public suspend fun parameters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param argument The parameters of the artifact.
     */
    @JvmName("fyiamqdwvksuihib")
    public suspend fun parameters(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ArtifactParameterPropertiesArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.parameters = mapped
    }

    /**
     * @param argument The parameters of the artifact.
     */
    @JvmName("vlvsahlptwnchncw")
    public suspend fun parameters(vararg argument: suspend ArtifactParameterPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ArtifactParameterPropertiesArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.parameters = mapped
    }

    /**
     * @param argument The parameters of the artifact.
     */
    @JvmName("btcwlgemanwbosfg")
    public suspend fun parameters(argument: suspend ArtifactParameterPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ArtifactParameterPropertiesArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.parameters = mapped
    }

    /**
     * @param values The parameters of the artifact.
     */
    @JvmName("uebqybwpbynywfbq")
    public suspend fun parameters(vararg values: ArtifactParameterPropertiesArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param value The status of the artifact.
     */
    @JvmName("qnxjaviapfjissgx")
    public suspend fun status(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.status = mapped
    }

    /**
     * @param value The status message from the virtual machine extension.
     */
    @JvmName("hbnyghnoorcmuauw")
    public suspend fun vmExtensionStatusMessage(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vmExtensionStatusMessage = mapped
    }

    internal fun build(): ArtifactInstallPropertiesArgs = ArtifactInstallPropertiesArgs(
        artifactId = artifactId,
        artifactTitle = artifactTitle,
        deploymentStatusMessage = deploymentStatusMessage,
        installTime = installTime,
        parameters = parameters,
        status = status,
        vmExtensionStatusMessage = vmExtensionStatusMessage,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy