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

com.pulumi.azure.containerapp.kotlin.inputs.AppTemplateTcpScaleRuleAuthenticationArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerapp.kotlin.inputs

import com.pulumi.azure.containerapp.inputs.AppTemplateTcpScaleRuleAuthenticationArgs.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 secretName The name of the Container App Secret to use for this Scale Rule Authentication.
 * @property triggerParameter The Trigger Parameter name to use the supply the value retrieved from the `secret_name`.
 */
public data class AppTemplateTcpScaleRuleAuthenticationArgs(
    public val secretName: Output,
    public val triggerParameter: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.containerapp.inputs.AppTemplateTcpScaleRuleAuthenticationArgs =
        com.pulumi.azure.containerapp.inputs.AppTemplateTcpScaleRuleAuthenticationArgs.builder()
            .secretName(secretName.applyValue({ args0 -> args0 }))
            .triggerParameter(triggerParameter?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AppTemplateTcpScaleRuleAuthenticationArgs].
 */
@PulumiTagMarker
public class AppTemplateTcpScaleRuleAuthenticationArgsBuilder internal constructor() {
    private var secretName: Output? = null

    private var triggerParameter: Output? = null

    /**
     * @param value The name of the Container App Secret to use for this Scale Rule Authentication.
     */
    @JvmName("pjtbgwkpbphrraut")
    public suspend fun secretName(`value`: Output) {
        this.secretName = value
    }

    /**
     * @param value The Trigger Parameter name to use the supply the value retrieved from the `secret_name`.
     */
    @JvmName("kfpddoeafyivcmts")
    public suspend fun triggerParameter(`value`: Output) {
        this.triggerParameter = value
    }

    /**
     * @param value The name of the Container App Secret to use for this Scale Rule Authentication.
     */
    @JvmName("rbktpacqcqqawqsh")
    public suspend fun secretName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.secretName = mapped
    }

    /**
     * @param value The Trigger Parameter name to use the supply the value retrieved from the `secret_name`.
     */
    @JvmName("uxvjgfwdttaojral")
    public suspend fun triggerParameter(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.triggerParameter = mapped
    }

    internal fun build(): AppTemplateTcpScaleRuleAuthenticationArgs =
        AppTemplateTcpScaleRuleAuthenticationArgs(
            secretName = secretName ?: throw PulumiNullFieldException("secretName"),
            triggerParameter = triggerParameter,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy