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

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

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

import com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigScaleRuleAuthenticationArgs.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 Name of the secret from which to pull the auth params.
 * @property triggerParameter Trigger Parameter that uses the secret.
 */
public data class JobEventTriggerConfigScaleRuleAuthenticationArgs(
    public val secretName: Output,
    public val triggerParameter: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigScaleRuleAuthenticationArgs =
        com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigScaleRuleAuthenticationArgs.builder()
            .secretName(secretName.applyValue({ args0 -> args0 }))
            .triggerParameter(triggerParameter.applyValue({ args0 -> args0 })).build()
}

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

    private var triggerParameter: Output? = null

    /**
     * @param value Name of the secret from which to pull the auth params.
     */
    @JvmName("uxwfrjgktueolran")
    public suspend fun secretName(`value`: Output) {
        this.secretName = value
    }

    /**
     * @param value Trigger Parameter that uses the secret.
     */
    @JvmName("tadqckglhwohwjgb")
    public suspend fun triggerParameter(`value`: Output) {
        this.triggerParameter = value
    }

    /**
     * @param value Name of the secret from which to pull the auth params.
     */
    @JvmName("tfqotopsqpoejssc")
    public suspend fun secretName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.secretName = mapped
    }

    /**
     * @param value Trigger Parameter that uses the secret.
     */
    @JvmName("yqgxqpeiqjsnixqi")
    public suspend fun triggerParameter(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.triggerParameter = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy