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