Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotConnectionStringArgs.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: `APIHub`, `Custom`, `DocDb`, `EventHub`, `MySQL`, `NotificationHub`, `PostgreSQL`, `RedisCache`, `ServiceBus`, `SQLAzure`, and `SQLServer`.
* @property value The connection string value.
*/
public data class LinuxFunctionAppSlotConnectionStringArgs(
public val name: Output,
public val type: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotConnectionStringArgs = com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotConnectionStringArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxFunctionAppSlotConnectionStringArgs].
*/
@PulumiTagMarker
public class LinuxFunctionAppSlotConnectionStringArgsBuilder 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("dqkpmqkwtkgpkhrr")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Type of database. Possible values include: `APIHub`, `Custom`, `DocDb`, `EventHub`, `MySQL`, `NotificationHub`, `PostgreSQL`, `RedisCache`, `ServiceBus`, `SQLAzure`, and `SQLServer`.
*/
@JvmName("xrneugymvicdgtci")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The connection string value.
*/
@JvmName("bxisothntrycipss")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The name which should be used for this Connection.
*/
@JvmName("dtscnyiwbdcjsald")
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: `APIHub`, `Custom`, `DocDb`, `EventHub`, `MySQL`, `NotificationHub`, `PostgreSQL`, `RedisCache`, `ServiceBus`, `SQLAzure`, and `SQLServer`.
*/
@JvmName("tmehiqqdvllleofs")
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("xvwkmnhwdcxhgdyn")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): LinuxFunctionAppSlotConnectionStringArgs =
LinuxFunctionAppSlotConnectionStringArgs(
name = name ?: throw PulumiNullFieldException("name"),
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}