com.pulumi.azure.appservice.kotlin.inputs.LinuxWebAppConnectionStringArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.LinuxWebAppConnectionStringArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name The name of the Connection String.
* @property type Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`.
* @property value The connection string value.
*/
public data class LinuxWebAppConnectionStringArgs(
public val name: Output,
public val type: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxWebAppConnectionStringArgs =
com.pulumi.azure.appservice.inputs.LinuxWebAppConnectionStringArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxWebAppConnectionStringArgs].
*/
@PulumiTagMarker
public class LinuxWebAppConnectionStringArgsBuilder internal constructor() {
private var name: Output? = null
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value The name of the Connection String.
*/
@JvmName("pcoajaauymfwtfdy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`.
*/
@JvmName("ptubmepktncktaqi")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The connection string value.
*/
@JvmName("wudgspyrouvgjtfe")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The name of the Connection String.
*/
@JvmName("odicyryogtalxucu")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Type of database. Possible values include: `MySQL`, `SQLServer`, `SQLAzure`, `Custom`, `NotificationHub`, `ServiceBus`, `EventHub`, `APIHub`, `DocDb`, `RedisCache`, and `PostgreSQL`.
*/
@JvmName("joknclwoskkvbmvc")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The connection string value.
*/
@JvmName("cvdbyncujeuqdpsq")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): LinuxWebAppConnectionStringArgs = LinuxWebAppConnectionStringArgs(
name = name ?: throw PulumiNullFieldException("name"),
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy