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

com.pulumi.azurenative.web.kotlin.WebAppSlotConfigurationNamesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.web.kotlin

import com.pulumi.azurenative.web.WebAppSlotConfigurationNamesArgs.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

/**
 * Slot Config names azure resource.
 * Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.
 * Other available API versions: 2020-10-01, 2023-01-01, 2023-12-01.
 * ## Import
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * ```sh
 * $ pulumi import azure-native:web:WebAppSlotConfigurationNames myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames
 * ```
 * @property appSettingNames List of application settings names.
 * @property azureStorageConfigNames List of external Azure storage account identifiers.
 * @property connectionStringNames List of connection string names.
 * @property kind Kind of resource.
 * @property name Name of the app.
 * @property resourceGroupName Name of the resource group to which the resource belongs.
 */
public data class WebAppSlotConfigurationNamesArgs(
    public val appSettingNames: Output>? = null,
    public val azureStorageConfigNames: Output>? = null,
    public val connectionStringNames: Output>? = null,
    public val kind: Output? = null,
    public val name: Output? = null,
    public val resourceGroupName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.web.WebAppSlotConfigurationNamesArgs =
        com.pulumi.azurenative.web.WebAppSlotConfigurationNamesArgs.builder()
            .appSettingNames(appSettingNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .azureStorageConfigNames(
                azureStorageConfigNames?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .connectionStringNames(connectionStringNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .kind(kind?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 })).build()
}

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

    private var azureStorageConfigNames: Output>? = null

    private var connectionStringNames: Output>? = null

    private var kind: Output? = null

    private var name: Output? = null

    private var resourceGroupName: Output? = null

    /**
     * @param value List of application settings names.
     */
    @JvmName("lvnasyvcabputkbc")
    public suspend fun appSettingNames(`value`: Output>) {
        this.appSettingNames = value
    }

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

    /**
     * @param values List of application settings names.
     */
    @JvmName("xusruptwxigctydg")
    public suspend fun appSettingNames(values: List>) {
        this.appSettingNames = Output.all(values)
    }

    /**
     * @param value List of external Azure storage account identifiers.
     */
    @JvmName("btuanuixeryytcpy")
    public suspend fun azureStorageConfigNames(`value`: Output>) {
        this.azureStorageConfigNames = value
    }

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

    /**
     * @param values List of external Azure storage account identifiers.
     */
    @JvmName("pquuqixqxrjcfvoc")
    public suspend fun azureStorageConfigNames(values: List>) {
        this.azureStorageConfigNames = Output.all(values)
    }

    /**
     * @param value List of connection string names.
     */
    @JvmName("xnwnvuofnqyuptmy")
    public suspend fun connectionStringNames(`value`: Output>) {
        this.connectionStringNames = value
    }

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

    /**
     * @param values List of connection string names.
     */
    @JvmName("lsjlcxfefgttjgyv")
    public suspend fun connectionStringNames(values: List>) {
        this.connectionStringNames = Output.all(values)
    }

    /**
     * @param value Kind of resource.
     */
    @JvmName("aldhgnadrdvyigtd")
    public suspend fun kind(`value`: Output) {
        this.kind = value
    }

    /**
     * @param value Name of the app.
     */
    @JvmName("wakbokwkfavqaulq")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Name of the resource group to which the resource belongs.
     */
    @JvmName("fkejtsdkkmphxqjj")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value List of application settings names.
     */
    @JvmName("gllptfassvxcuxty")
    public suspend fun appSettingNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appSettingNames = mapped
    }

    /**
     * @param values List of application settings names.
     */
    @JvmName("qwgnsmgdbfonoxkj")
    public suspend fun appSettingNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.appSettingNames = mapped
    }

    /**
     * @param value List of external Azure storage account identifiers.
     */
    @JvmName("ypgxflroocijfvjf")
    public suspend fun azureStorageConfigNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureStorageConfigNames = mapped
    }

    /**
     * @param values List of external Azure storage account identifiers.
     */
    @JvmName("wtfjvedtpmiocerd")
    public suspend fun azureStorageConfigNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.azureStorageConfigNames = mapped
    }

    /**
     * @param value List of connection string names.
     */
    @JvmName("takupqywvxtdskcu")
    public suspend fun connectionStringNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.connectionStringNames = mapped
    }

    /**
     * @param values List of connection string names.
     */
    @JvmName("muyrauurgaguxkhm")
    public suspend fun connectionStringNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.connectionStringNames = mapped
    }

    /**
     * @param value Kind of resource.
     */
    @JvmName("vrrqrdjprovcuuyo")
    public suspend fun kind(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kind = mapped
    }

    /**
     * @param value Name of the app.
     */
    @JvmName("mvhpkllinxpeprly")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Name of the resource group to which the resource belongs.
     */
    @JvmName("eikgipmrfqwfqrrl")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    internal fun build(): WebAppSlotConfigurationNamesArgs = WebAppSlotConfigurationNamesArgs(
        appSettingNames = appSettingNames,
        azureStorageConfigNames = azureStorageConfigNames,
        connectionStringNames = connectionStringNames,
        kind = kind,
        name = name,
        resourceGroupName = resourceGroupName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy