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

com.pulumi.azure.automation.kotlin.inputs.SoftwareUpdateConfigurationPostTaskArgs.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.automation.kotlin.inputs

import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationPostTaskArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property parameters Specifies a map of parameters for the task.
 * @property source The name of the runbook for the post task.
 */
public data class SoftwareUpdateConfigurationPostTaskArgs(
    public val parameters: Output>? = null,
    public val source: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationPostTaskArgs =
        com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationPostTaskArgs.builder()
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .source(source?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SoftwareUpdateConfigurationPostTaskArgs].
 */
@PulumiTagMarker
public class SoftwareUpdateConfigurationPostTaskArgsBuilder internal constructor() {
    private var parameters: Output>? = null

    private var source: Output? = null

    /**
     * @param value Specifies a map of parameters for the task.
     */
    @JvmName("hxmpvgmmeknlclcy")
    public suspend fun parameters(`value`: Output>) {
        this.parameters = value
    }

    /**
     * @param value The name of the runbook for the post task.
     */
    @JvmName("odtoypcegnrubrxg")
    public suspend fun source(`value`: Output) {
        this.source = value
    }

    /**
     * @param value Specifies a map of parameters for the task.
     */
    @JvmName("sphdnavicrthrfwn")
    public suspend fun parameters(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param values Specifies a map of parameters for the task.
     */
    @JvmName("janyoecluoyxocsv")
    public fun parameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param value The name of the runbook for the post task.
     */
    @JvmName("gvofpkdxjjujxmeh")
    public suspend fun source(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.source = mapped
    }

    internal fun build(): SoftwareUpdateConfigurationPostTaskArgs =
        SoftwareUpdateConfigurationPostTaskArgs(
            parameters = parameters,
            source = source,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy