All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.botservice.kotlin.inputs.BotPropertiesArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.botservice.kotlin.inputs

import com.pulumi.azurenative.botservice.inputs.BotPropertiesArgs.builder
import com.pulumi.azurenative.botservice.kotlin.enums.MsaAppType
import com.pulumi.azurenative.botservice.kotlin.enums.PublicNetworkAccess
import com.pulumi.core.Either
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.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * The parameters to provide for the Bot.
 * @property allSettings Contains resource all settings defined as key/value pairs.
 * @property appPasswordHint The hint (e.g. keyVault secret resourceId) on how to fetch the app secret
 * @property cmekKeyVaultUrl The CMK Url
 * @property description The description of the bot
 * @property developerAppInsightKey The Application Insights key
 * @property developerAppInsightsApiKey The Application Insights Api Key
 * @property developerAppInsightsApplicationId The Application Insights App Id
 * @property disableLocalAuth Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
 * @property displayName The Name of the bot
 * @property endpoint The bot's endpoint
 * @property iconUrl The Icon Url of the bot
 * @property isCmekEnabled Whether Cmek is enabled
 * @property isStreamingSupported Whether the bot is streaming supported
 * @property luisAppIds Collection of LUIS App Ids
 * @property luisKey The LUIS Key
 * @property manifestUrl The bot's manifest url
 * @property msaAppId Microsoft App Id for the bot
 * @property msaAppMSIResourceId Microsoft App Managed Identity Resource Id for the bot
 * @property msaAppTenantId Microsoft App Tenant Id for the bot
 * @property msaAppType Microsoft App Type for the bot
 * @property openWithHint The hint to browser (e.g. protocol handler) on how to open the bot for authoring
 * @property parameters Contains resource parameters defined as key/value pairs.
 * @property publicNetworkAccess Whether the bot is in an isolated network
 * @property publishingCredentials Publishing credentials of the resource
 * @property schemaTransformationVersion The channel schema transformation version for the bot
 * @property storageResourceId The storage resourceId for the bot
 * @property tenantId The Tenant Id for the bot
 */
public data class BotPropertiesArgs(
    public val allSettings: Output>? = null,
    public val appPasswordHint: Output? = null,
    public val cmekKeyVaultUrl: Output? = null,
    public val description: Output? = null,
    public val developerAppInsightKey: Output? = null,
    public val developerAppInsightsApiKey: Output? = null,
    public val developerAppInsightsApplicationId: Output? = null,
    public val disableLocalAuth: Output? = null,
    public val displayName: Output,
    public val endpoint: Output,
    public val iconUrl: Output? = null,
    public val isCmekEnabled: Output? = null,
    public val isStreamingSupported: Output? = null,
    public val luisAppIds: Output>? = null,
    public val luisKey: Output? = null,
    public val manifestUrl: Output? = null,
    public val msaAppId: Output,
    public val msaAppMSIResourceId: Output? = null,
    public val msaAppTenantId: Output? = null,
    public val msaAppType: Output>? = null,
    public val openWithHint: Output? = null,
    public val parameters: Output>? = null,
    public val publicNetworkAccess: Output>? = null,
    public val publishingCredentials: Output? = null,
    public val schemaTransformationVersion: Output? = null,
    public val storageResourceId: Output? = null,
    public val tenantId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.botservice.inputs.BotPropertiesArgs =
        com.pulumi.azurenative.botservice.inputs.BotPropertiesArgs.builder()
            .allSettings(
                allSettings?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .appPasswordHint(appPasswordHint?.applyValue({ args0 -> args0 }))
            .cmekKeyVaultUrl(cmekKeyVaultUrl?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .developerAppInsightKey(developerAppInsightKey?.applyValue({ args0 -> args0 }))
            .developerAppInsightsApiKey(developerAppInsightsApiKey?.applyValue({ args0 -> args0 }))
            .developerAppInsightsApplicationId(
                developerAppInsightsApplicationId?.applyValue({ args0 ->
                    args0
                }),
            )
            .disableLocalAuth(disableLocalAuth?.applyValue({ args0 -> args0 }))
            .displayName(displayName.applyValue({ args0 -> args0 }))
            .endpoint(endpoint.applyValue({ args0 -> args0 }))
            .iconUrl(iconUrl?.applyValue({ args0 -> args0 }))
            .isCmekEnabled(isCmekEnabled?.applyValue({ args0 -> args0 }))
            .isStreamingSupported(isStreamingSupported?.applyValue({ args0 -> args0 }))
            .luisAppIds(luisAppIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .luisKey(luisKey?.applyValue({ args0 -> args0 }))
            .manifestUrl(manifestUrl?.applyValue({ args0 -> args0 }))
            .msaAppId(msaAppId.applyValue({ args0 -> args0 }))
            .msaAppMSIResourceId(msaAppMSIResourceId?.applyValue({ args0 -> args0 }))
            .msaAppTenantId(msaAppTenantId?.applyValue({ args0 -> args0 }))
            .msaAppType(
                msaAppType?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .openWithHint(openWithHint?.applyValue({ args0 -> args0 }))
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .publicNetworkAccess(
                publicNetworkAccess?.applyValue({ args0 ->
                    args0.transform(
                        { args0 -> args0 },
                        { args0 -> args0.let({ args0 -> args0.toJava() }) },
                    )
                }),
            )
            .publishingCredentials(publishingCredentials?.applyValue({ args0 -> args0 }))
            .schemaTransformationVersion(schemaTransformationVersion?.applyValue({ args0 -> args0 }))
            .storageResourceId(storageResourceId?.applyValue({ args0 -> args0 }))
            .tenantId(tenantId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BotPropertiesArgs].
 */
@PulumiTagMarker
public class BotPropertiesArgsBuilder internal constructor() {
    private var allSettings: Output>? = null

    private var appPasswordHint: Output? = null

    private var cmekKeyVaultUrl: Output? = null

    private var description: Output? = null

    private var developerAppInsightKey: Output? = null

    private var developerAppInsightsApiKey: Output? = null

    private var developerAppInsightsApplicationId: Output? = null

    private var disableLocalAuth: Output? = null

    private var displayName: Output? = null

    private var endpoint: Output? = null

    private var iconUrl: Output? = null

    private var isCmekEnabled: Output? = null

    private var isStreamingSupported: Output? = null

    private var luisAppIds: Output>? = null

    private var luisKey: Output? = null

    private var manifestUrl: Output? = null

    private var msaAppId: Output? = null

    private var msaAppMSIResourceId: Output? = null

    private var msaAppTenantId: Output? = null

    private var msaAppType: Output>? = null

    private var openWithHint: Output? = null

    private var parameters: Output>? = null

    private var publicNetworkAccess: Output>? = null

    private var publishingCredentials: Output? = null

    private var schemaTransformationVersion: Output? = null

    private var storageResourceId: Output? = null

    private var tenantId: Output? = null

    /**
     * @param value Contains resource all settings defined as key/value pairs.
     */
    @JvmName("psmgrqfkmdpprijd")
    public suspend fun allSettings(`value`: Output>) {
        this.allSettings = value
    }

    /**
     * @param value The hint (e.g. keyVault secret resourceId) on how to fetch the app secret
     */
    @JvmName("deicwtgcheqbkjfq")
    public suspend fun appPasswordHint(`value`: Output) {
        this.appPasswordHint = value
    }

    /**
     * @param value The CMK Url
     */
    @JvmName("xgrcohbmesoukyho")
    public suspend fun cmekKeyVaultUrl(`value`: Output) {
        this.cmekKeyVaultUrl = value
    }

    /**
     * @param value The description of the bot
     */
    @JvmName("innjjwskmhfenxil")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The Application Insights key
     */
    @JvmName("kmdbbviydeeibolr")
    public suspend fun developerAppInsightKey(`value`: Output) {
        this.developerAppInsightKey = value
    }

    /**
     * @param value The Application Insights Api Key
     */
    @JvmName("vcgonewhhtgstjdx")
    public suspend fun developerAppInsightsApiKey(`value`: Output) {
        this.developerAppInsightsApiKey = value
    }

    /**
     * @param value The Application Insights App Id
     */
    @JvmName("qfineunyiidcwpxr")
    public suspend fun developerAppInsightsApplicationId(`value`: Output) {
        this.developerAppInsightsApplicationId = value
    }

    /**
     * @param value Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
     */
    @JvmName("vmfyvbjfjmorylni")
    public suspend fun disableLocalAuth(`value`: Output) {
        this.disableLocalAuth = value
    }

    /**
     * @param value The Name of the bot
     */
    @JvmName("qitqqxhudbhbiodm")
    public suspend fun displayName(`value`: Output) {
        this.displayName = value
    }

    /**
     * @param value The bot's endpoint
     */
    @JvmName("cywogmnqoxrhxlwr")
    public suspend fun endpoint(`value`: Output) {
        this.endpoint = value
    }

    /**
     * @param value The Icon Url of the bot
     */
    @JvmName("mkubwlwdjojqehtl")
    public suspend fun iconUrl(`value`: Output) {
        this.iconUrl = value
    }

    /**
     * @param value Whether Cmek is enabled
     */
    @JvmName("tqqikbckolhrndxx")
    public suspend fun isCmekEnabled(`value`: Output) {
        this.isCmekEnabled = value
    }

    /**
     * @param value Whether the bot is streaming supported
     */
    @JvmName("yupvngdhhofjljuf")
    public suspend fun isStreamingSupported(`value`: Output) {
        this.isStreamingSupported = value
    }

    /**
     * @param value Collection of LUIS App Ids
     */
    @JvmName("qeaakrulndytombp")
    public suspend fun luisAppIds(`value`: Output>) {
        this.luisAppIds = value
    }

    @JvmName("yfixfvmweimghjev")
    public suspend fun luisAppIds(vararg values: Output) {
        this.luisAppIds = Output.all(values.asList())
    }

    /**
     * @param values Collection of LUIS App Ids
     */
    @JvmName("rysaukrmxxsgfekg")
    public suspend fun luisAppIds(values: List>) {
        this.luisAppIds = Output.all(values)
    }

    /**
     * @param value The LUIS Key
     */
    @JvmName("grohetbegivknkhq")
    public suspend fun luisKey(`value`: Output) {
        this.luisKey = value
    }

    /**
     * @param value The bot's manifest url
     */
    @JvmName("ubumjhuonbeplaiw")
    public suspend fun manifestUrl(`value`: Output) {
        this.manifestUrl = value
    }

    /**
     * @param value Microsoft App Id for the bot
     */
    @JvmName("tdtahoclwewjryyd")
    public suspend fun msaAppId(`value`: Output) {
        this.msaAppId = value
    }

    /**
     * @param value Microsoft App Managed Identity Resource Id for the bot
     */
    @JvmName("cspnayiuqnfqtrqi")
    public suspend fun msaAppMSIResourceId(`value`: Output) {
        this.msaAppMSIResourceId = value
    }

    /**
     * @param value Microsoft App Tenant Id for the bot
     */
    @JvmName("xclabmeujaivywkc")
    public suspend fun msaAppTenantId(`value`: Output) {
        this.msaAppTenantId = value
    }

    /**
     * @param value Microsoft App Type for the bot
     */
    @JvmName("mexegotggobeclqr")
    public suspend fun msaAppType(`value`: Output>) {
        this.msaAppType = value
    }

    /**
     * @param value The hint to browser (e.g. protocol handler) on how to open the bot for authoring
     */
    @JvmName("fftlhhrkdiihqwag")
    public suspend fun openWithHint(`value`: Output) {
        this.openWithHint = value
    }

    /**
     * @param value Contains resource parameters defined as key/value pairs.
     */
    @JvmName("eptmxfrbxikimxkq")
    public suspend fun parameters(`value`: Output>) {
        this.parameters = value
    }

    /**
     * @param value Whether the bot is in an isolated network
     */
    @JvmName("ljokkejgtcknekql")
    public suspend fun publicNetworkAccess(`value`: Output>) {
        this.publicNetworkAccess = value
    }

    /**
     * @param value Publishing credentials of the resource
     */
    @JvmName("xsqsrawlqihicocr")
    public suspend fun publishingCredentials(`value`: Output) {
        this.publishingCredentials = value
    }

    /**
     * @param value The channel schema transformation version for the bot
     */
    @JvmName("jthbjbjlxjoufiaj")
    public suspend fun schemaTransformationVersion(`value`: Output) {
        this.schemaTransformationVersion = value
    }

    /**
     * @param value The storage resourceId for the bot
     */
    @JvmName("njqhyxciphrrvtui")
    public suspend fun storageResourceId(`value`: Output) {
        this.storageResourceId = value
    }

    /**
     * @param value The Tenant Id for the bot
     */
    @JvmName("ubymxyqjhtxunbva")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value Contains resource all settings defined as key/value pairs.
     */
    @JvmName("ixolomoykhhfnyni")
    public suspend fun allSettings(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allSettings = mapped
    }

    /**
     * @param values Contains resource all settings defined as key/value pairs.
     */
    @JvmName("ryqsjrcifvodqiih")
    public fun allSettings(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allSettings = mapped
    }

    /**
     * @param value The hint (e.g. keyVault secret resourceId) on how to fetch the app secret
     */
    @JvmName("ynihgwccvnckupqm")
    public suspend fun appPasswordHint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appPasswordHint = mapped
    }

    /**
     * @param value The CMK Url
     */
    @JvmName("ruqdnjubgkmjevii")
    public suspend fun cmekKeyVaultUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cmekKeyVaultUrl = mapped
    }

    /**
     * @param value The description of the bot
     */
    @JvmName("jhqjdrshhyhluktb")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The Application Insights key
     */
    @JvmName("ssxvfqmueyppqqos")
    public suspend fun developerAppInsightKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.developerAppInsightKey = mapped
    }

    /**
     * @param value The Application Insights Api Key
     */
    @JvmName("ktcofinbotsffwgq")
    public suspend fun developerAppInsightsApiKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.developerAppInsightsApiKey = mapped
    }

    /**
     * @param value The Application Insights App Id
     */
    @JvmName("lchqtcpdoeqafqav")
    public suspend fun developerAppInsightsApplicationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.developerAppInsightsApplicationId = mapped
    }

    /**
     * @param value Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
     */
    @JvmName("nijpvtnosiwitusf")
    public suspend fun disableLocalAuth(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.disableLocalAuth = mapped
    }

    /**
     * @param value The Name of the bot
     */
    @JvmName("npslujvyrndakdvj")
    public suspend fun displayName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param value The bot's endpoint
     */
    @JvmName("xnlnpxorfyhmwsuj")
    public suspend fun endpoint(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.endpoint = mapped
    }

    /**
     * @param value The Icon Url of the bot
     */
    @JvmName("jtqgfnvlsmpxobax")
    public suspend fun iconUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.iconUrl = mapped
    }

    /**
     * @param value Whether Cmek is enabled
     */
    @JvmName("yhldjihilofrtnna")
    public suspend fun isCmekEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isCmekEnabled = mapped
    }

    /**
     * @param value Whether the bot is streaming supported
     */
    @JvmName("rfyskdyhfjecbajw")
    public suspend fun isStreamingSupported(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isStreamingSupported = mapped
    }

    /**
     * @param value Collection of LUIS App Ids
     */
    @JvmName("pkpkdsjhfxqqiibd")
    public suspend fun luisAppIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.luisAppIds = mapped
    }

    /**
     * @param values Collection of LUIS App Ids
     */
    @JvmName("ssoopnjauqmqtket")
    public suspend fun luisAppIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.luisAppIds = mapped
    }

    /**
     * @param value The LUIS Key
     */
    @JvmName("bfqtrwrkytoerxgo")
    public suspend fun luisKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.luisKey = mapped
    }

    /**
     * @param value The bot's manifest url
     */
    @JvmName("etjumjwjvbdpmjgu")
    public suspend fun manifestUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.manifestUrl = mapped
    }

    /**
     * @param value Microsoft App Id for the bot
     */
    @JvmName("aioftccrefhsyfgo")
    public suspend fun msaAppId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.msaAppId = mapped
    }

    /**
     * @param value Microsoft App Managed Identity Resource Id for the bot
     */
    @JvmName("ryidhrvnnfglnmlr")
    public suspend fun msaAppMSIResourceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.msaAppMSIResourceId = mapped
    }

    /**
     * @param value Microsoft App Tenant Id for the bot
     */
    @JvmName("dxkovnxyonlriwiy")
    public suspend fun msaAppTenantId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.msaAppTenantId = mapped
    }

    /**
     * @param value Microsoft App Type for the bot
     */
    @JvmName("etjwtejkykvbxjqf")
    public suspend fun msaAppType(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.msaAppType = mapped
    }

    /**
     * @param value Microsoft App Type for the bot
     */
    @JvmName("bykgmyygxpykygxk")
    public fun msaAppType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.msaAppType = mapped
    }

    /**
     * @param value Microsoft App Type for the bot
     */
    @JvmName("frlfavutnsppyyfk")
    public fun msaAppType(`value`: MsaAppType) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.msaAppType = mapped
    }

    /**
     * @param value The hint to browser (e.g. protocol handler) on how to open the bot for authoring
     */
    @JvmName("tqiauxkmhxmnmnii")
    public suspend fun openWithHint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.openWithHint = mapped
    }

    /**
     * @param value Contains resource parameters defined as key/value pairs.
     */
    @JvmName("yravvnlkdrgctvvp")
    public suspend fun parameters(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param values Contains resource parameters defined as key/value pairs.
     */
    @JvmName("umwrlgbttilgfinu")
    public fun parameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param value Whether the bot is in an isolated network
     */
    @JvmName("doevupyvqxtgwswo")
    public suspend fun publicNetworkAccess(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicNetworkAccess = mapped
    }

    /**
     * @param value Whether the bot is in an isolated network
     */
    @JvmName("khdlxfytothecbmp")
    public fun publicNetworkAccess(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicNetworkAccess = mapped
    }

    /**
     * @param value Whether the bot is in an isolated network
     */
    @JvmName("rrytpmkgqcrgtsfr")
    public fun publicNetworkAccess(`value`: PublicNetworkAccess) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicNetworkAccess = mapped
    }

    /**
     * @param value Publishing credentials of the resource
     */
    @JvmName("xylnggwuxhqrigfp")
    public suspend fun publishingCredentials(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publishingCredentials = mapped
    }

    /**
     * @param value The channel schema transformation version for the bot
     */
    @JvmName("rvhwwoxuupxuhhqc")
    public suspend fun schemaTransformationVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.schemaTransformationVersion = mapped
    }

    /**
     * @param value The storage resourceId for the bot
     */
    @JvmName("dyvlwukjxuhnkebw")
    public suspend fun storageResourceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storageResourceId = mapped
    }

    /**
     * @param value The Tenant Id for the bot
     */
    @JvmName("jpygrpvdnuwffuly")
    public suspend fun tenantId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    internal fun build(): BotPropertiesArgs = BotPropertiesArgs(
        allSettings = allSettings,
        appPasswordHint = appPasswordHint,
        cmekKeyVaultUrl = cmekKeyVaultUrl,
        description = description,
        developerAppInsightKey = developerAppInsightKey,
        developerAppInsightsApiKey = developerAppInsightsApiKey,
        developerAppInsightsApplicationId = developerAppInsightsApplicationId,
        disableLocalAuth = disableLocalAuth,
        displayName = displayName ?: throw PulumiNullFieldException("displayName"),
        endpoint = endpoint ?: throw PulumiNullFieldException("endpoint"),
        iconUrl = iconUrl,
        isCmekEnabled = isCmekEnabled,
        isStreamingSupported = isStreamingSupported,
        luisAppIds = luisAppIds,
        luisKey = luisKey,
        manifestUrl = manifestUrl,
        msaAppId = msaAppId ?: throw PulumiNullFieldException("msaAppId"),
        msaAppMSIResourceId = msaAppMSIResourceId,
        msaAppTenantId = msaAppTenantId,
        msaAppType = msaAppType,
        openWithHint = openWithHint,
        parameters = parameters,
        publicNetworkAccess = publicNetworkAccess,
        publishingCredentials = publishingCredentials,
        schemaTransformationVersion = schemaTransformationVersion,
        storageResourceId = storageResourceId,
        tenantId = tenantId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy