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

com.pulumi.azure.appservice.kotlin.inputs.WindowsFunctionAppStickySettingsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.WindowsFunctionAppStickySettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property appSettingNames A list of `app_setting` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
 * @property connectionStringNames A list of `connection_string` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
 */
public data class WindowsFunctionAppStickySettingsArgs(
    public val appSettingNames: Output>? = null,
    public val connectionStringNames: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsFunctionAppStickySettingsArgs =
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppStickySettingsArgs.builder()
            .appSettingNames(appSettingNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .connectionStringNames(
                connectionStringNames?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

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

    private var connectionStringNames: Output>? = null

    /**
     * @param value A list of `app_setting` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("vixhtwtsqcukebwn")
    public suspend fun appSettingNames(`value`: Output>) {
        this.appSettingNames = value
    }

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

    /**
     * @param values A list of `app_setting` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("tngtaspteoabebdu")
    public suspend fun appSettingNames(values: List>) {
        this.appSettingNames = Output.all(values)
    }

    /**
     * @param value A list of `connection_string` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("wdfylrwoudonslye")
    public suspend fun connectionStringNames(`value`: Output>) {
        this.connectionStringNames = value
    }

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

    /**
     * @param values A list of `connection_string` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("ufhirtjvbrislfyh")
    public suspend fun connectionStringNames(values: List>) {
        this.connectionStringNames = Output.all(values)
    }

    /**
     * @param value A list of `app_setting` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("ejslcxwxulabtdki")
    public suspend fun appSettingNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appSettingNames = mapped
    }

    /**
     * @param values A list of `app_setting` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("tahotgcfixqqrnri")
    public suspend fun appSettingNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.appSettingNames = mapped
    }

    /**
     * @param value A list of `connection_string` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("xukoxfjuefkdfqci")
    public suspend fun connectionStringNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.connectionStringNames = mapped
    }

    /**
     * @param values A list of `connection_string` names that the Windows Function App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("dubrcmlnshpnsyag")
    public suspend fun connectionStringNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.connectionStringNames = mapped
    }

    internal fun build(): WindowsFunctionAppStickySettingsArgs = WindowsFunctionAppStickySettingsArgs(
        appSettingNames = appSettingNames,
        connectionStringNames = connectionStringNames,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy