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

com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppStickySettingsArgs.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.appservice.kotlin.inputs

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

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

    private var connectionStringNames: Output>? = null

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

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

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

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

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

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

    /**
     * @param value A list of `app_setting` names that the Windows Web App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("atpakvhbsrweolse")
    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 Web App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("hryohmajytaavnat")
    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 Web App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("olnaiwxqlacgggvl")
    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 Web App will not swap between Slots when a swap operation is triggered.
     */
    @JvmName("kumasawphiufwxyk")
    public suspend fun connectionStringNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.connectionStringNames = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy