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

com.pulumi.azure.datafactory.kotlin.inputs.IntegrationRuntimeSsisExpressCustomSetupArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.datafactory.kotlin.inputs

import com.pulumi.azure.datafactory.inputs.IntegrationRuntimeSsisExpressCustomSetupArgs.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.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property commandKeys One or more `command_key` blocks as defined below.
 * @property components One or more `component` blocks as defined below.
 * @property environment The Environment Variables for the Azure-SSIS Integration Runtime.
 * @property powershellVersion The version of Azure Powershell installed for the Azure-SSIS Integration Runtime.
 * > **NOTE** At least one of `env`, `powershell_version`, `component` and `command_key` should be specified.
 */
public data class IntegrationRuntimeSsisExpressCustomSetupArgs(
    public val commandKeys: Output>? =
        null,
    public val components: Output>? =
        null,
    public val environment: Output>? = null,
    public val powershellVersion: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.inputs.IntegrationRuntimeSsisExpressCustomSetupArgs =
        com.pulumi.azure.datafactory.inputs.IntegrationRuntimeSsisExpressCustomSetupArgs.builder()
            .commandKeys(
                commandKeys?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .components(
                components?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .environment(
                environment?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .powershellVersion(powershellVersion?.applyValue({ args0 -> args0 })).build()
}

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

    private var components: Output>? =
        null

    private var environment: Output>? = null

    private var powershellVersion: Output? = null

    /**
     * @param value One or more `command_key` blocks as defined below.
     */
    @JvmName("kuqbdrdwbvphifel")
    public suspend fun commandKeys(`value`: Output>) {
        this.commandKeys = value
    }

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

    /**
     * @param values One or more `command_key` blocks as defined below.
     */
    @JvmName("yvqpywryihqsgwna")
    public suspend fun commandKeys(values: List>) {
        this.commandKeys = Output.all(values)
    }

    /**
     * @param value One or more `component` blocks as defined below.
     */
    @JvmName("cnifxniumcplriwg")
    public suspend fun components(`value`: Output>) {
        this.components = value
    }

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

    /**
     * @param values One or more `component` blocks as defined below.
     */
    @JvmName("forrygnisiknbebx")
    public suspend fun components(values: List>) {
        this.components = Output.all(values)
    }

    /**
     * @param value The Environment Variables for the Azure-SSIS Integration Runtime.
     */
    @JvmName("jyngepoijysuuswl")
    public suspend fun environment(`value`: Output>) {
        this.environment = value
    }

    /**
     * @param value The version of Azure Powershell installed for the Azure-SSIS Integration Runtime.
     * > **NOTE** At least one of `env`, `powershell_version`, `component` and `command_key` should be specified.
     */
    @JvmName("ckfsuwlesavugiya")
    public suspend fun powershellVersion(`value`: Output) {
        this.powershellVersion = value
    }

    /**
     * @param value One or more `command_key` blocks as defined below.
     */
    @JvmName("axhqrjogmnvuftbq")
    public suspend fun commandKeys(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.commandKeys = mapped
    }

    /**
     * @param argument One or more `command_key` blocks as defined below.
     */
    @JvmName("wqmejsqfwpgujrhj")
    public suspend fun commandKeys(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            IntegrationRuntimeSsisExpressCustomSetupCommandKeyArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.commandKeys = mapped
    }

    /**
     * @param argument One or more `command_key` blocks as defined below.
     */
    @JvmName("uwkfoijsmwqxeyty")
    public suspend fun commandKeys(vararg argument: suspend IntegrationRuntimeSsisExpressCustomSetupCommandKeyArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            IntegrationRuntimeSsisExpressCustomSetupCommandKeyArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.commandKeys = mapped
    }

    /**
     * @param argument One or more `command_key` blocks as defined below.
     */
    @JvmName("vjqtrsahosidrfpb")
    public suspend fun commandKeys(argument: suspend IntegrationRuntimeSsisExpressCustomSetupCommandKeyArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                IntegrationRuntimeSsisExpressCustomSetupCommandKeyArgsBuilder().applySuspend {
                    argument()
                }.build(),
            )
        val mapped = of(toBeMapped)
        this.commandKeys = mapped
    }

    /**
     * @param values One or more `command_key` blocks as defined below.
     */
    @JvmName("kyblehxwxgrrjswk")
    public suspend fun commandKeys(vararg values: IntegrationRuntimeSsisExpressCustomSetupCommandKeyArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.commandKeys = mapped
    }

    /**
     * @param value One or more `component` blocks as defined below.
     */
    @JvmName("asdqpkbqxpgshvsv")
    public suspend fun components(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.components = mapped
    }

    /**
     * @param argument One or more `component` blocks as defined below.
     */
    @JvmName("cyapkhambbridshx")
    public suspend fun components(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            IntegrationRuntimeSsisExpressCustomSetupComponentArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.components = mapped
    }

    /**
     * @param argument One or more `component` blocks as defined below.
     */
    @JvmName("hchykpuquvxpkunc")
    public suspend fun components(vararg argument: suspend IntegrationRuntimeSsisExpressCustomSetupComponentArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            IntegrationRuntimeSsisExpressCustomSetupComponentArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.components = mapped
    }

    /**
     * @param argument One or more `component` blocks as defined below.
     */
    @JvmName("tmgaypbiffvkkcgi")
    public suspend fun components(argument: suspend IntegrationRuntimeSsisExpressCustomSetupComponentArgsBuilder.() -> Unit) {
        val toBeMapped =
            listOf(
                IntegrationRuntimeSsisExpressCustomSetupComponentArgsBuilder().applySuspend {
                    argument()
                }.build(),
            )
        val mapped = of(toBeMapped)
        this.components = mapped
    }

    /**
     * @param values One or more `component` blocks as defined below.
     */
    @JvmName("uieknjpkejwicmjx")
    public suspend fun components(vararg values: IntegrationRuntimeSsisExpressCustomSetupComponentArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.components = mapped
    }

    /**
     * @param value The Environment Variables for the Azure-SSIS Integration Runtime.
     */
    @JvmName("rixmsvpekwmiljbt")
    public suspend fun environment(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.environment = mapped
    }

    /**
     * @param values The Environment Variables for the Azure-SSIS Integration Runtime.
     */
    @JvmName("cqgnsmapvxnhjnwx")
    public fun environment(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.environment = mapped
    }

    /**
     * @param value The version of Azure Powershell installed for the Azure-SSIS Integration Runtime.
     * > **NOTE** At least one of `env`, `powershell_version`, `component` and `command_key` should be specified.
     */
    @JvmName("fsosnktbmwhufhxj")
    public suspend fun powershellVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.powershellVersion = mapped
    }

    internal fun build(): IntegrationRuntimeSsisExpressCustomSetupArgs =
        IntegrationRuntimeSsisExpressCustomSetupArgs(
            commandKeys = commandKeys,
            components = components,
            environment = environment,
            powershellVersion = powershellVersion,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy