com.pulumi.azure.appservice.kotlin.inputs.LinuxFunctionAppConnectionStringArgs.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.LinuxFunctionAppConnectionStringArgs.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 which should be used for this Connection.
* @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 LinuxFunctionAppConnectionStringArgs(
public val name: Output,
public val type: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxFunctionAppConnectionStringArgs =
com.pulumi.azure.appservice.inputs.LinuxFunctionAppConnectionStringArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxFunctionAppConnectionStringArgs].
*/
@PulumiTagMarker
public class LinuxFunctionAppConnectionStringArgsBuilder internal constructor() {
private var name: Output? = null
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value The name which should be used for this Connection.
*/
@JvmName("snwyykecincugpup")
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("ihmpbhhqmpvtnjuj")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The connection string value.
*/
@JvmName("oqpxovbtgokgojed")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The name which should be used for this Connection.
*/
@JvmName("ijaxxbgwqrhhrvdw")
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("hyxslmtfqbhntpee")
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("krhkqeqoehwjjxcu")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): LinuxFunctionAppConnectionStringArgs = LinuxFunctionAppConnectionStringArgs(
name = name ?: throw PulumiNullFieldException("name"),
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy