
com.pulumi.azurenative.botservice.kotlin.inputs.TelephonyChannelPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.botservice.kotlin.inputs
import com.pulumi.azurenative.botservice.inputs.TelephonyChannelPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The parameters to provide for the Direct Line channel.
* @property apiConfigurations The list of Telephony api configuration
* @property cognitiveServiceRegion The extensionKey2
* @property cognitiveServiceSubscriptionKey The extensionKey1
* @property defaultLocale The default locale of the channel
* @property isEnabled Whether the channel is enabled
* @property phoneNumbers The list of Telephony phone numbers
* @property premiumSKU The premium SKU applied to the channel
*/
public data class TelephonyChannelPropertiesArgs(
public val apiConfigurations: Output>? = null,
public val cognitiveServiceRegion: Output? = null,
public val cognitiveServiceSubscriptionKey: Output? = null,
public val defaultLocale: Output? = null,
public val isEnabled: Output? = null,
public val phoneNumbers: Output>? = null,
public val premiumSKU: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.botservice.inputs.TelephonyChannelPropertiesArgs =
com.pulumi.azurenative.botservice.inputs.TelephonyChannelPropertiesArgs.builder()
.apiConfigurations(
apiConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.cognitiveServiceRegion(cognitiveServiceRegion?.applyValue({ args0 -> args0 }))
.cognitiveServiceSubscriptionKey(cognitiveServiceSubscriptionKey?.applyValue({ args0 -> args0 }))
.defaultLocale(defaultLocale?.applyValue({ args0 -> args0 }))
.isEnabled(isEnabled?.applyValue({ args0 -> args0 }))
.phoneNumbers(
phoneNumbers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.premiumSKU(premiumSKU?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TelephonyChannelPropertiesArgs].
*/
@PulumiTagMarker
public class TelephonyChannelPropertiesArgsBuilder internal constructor() {
private var apiConfigurations: Output>? = null
private var cognitiveServiceRegion: Output? = null
private var cognitiveServiceSubscriptionKey: Output? = null
private var defaultLocale: Output? = null
private var isEnabled: Output? = null
private var phoneNumbers: Output>? = null
private var premiumSKU: Output? = null
/**
* @param value The list of Telephony api configuration
*/
@JvmName("vlgykovycnqnmlla")
public suspend fun apiConfigurations(`value`: Output>) {
this.apiConfigurations = value
}
@JvmName("jfcavamnjocqniju")
public suspend fun apiConfigurations(vararg values: Output) {
this.apiConfigurations = Output.all(values.asList())
}
/**
* @param values The list of Telephony api configuration
*/
@JvmName("cncdkvasserstnyh")
public suspend fun apiConfigurations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy