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

com.pulumi.azure.containerapp.kotlin.outputs.AppTemplateContainerEnv.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerapp.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property name The name of the environment variable for the container.
 * @property secretName The name of the secret that contains the value for this environment variable.
 * @property value The value for this environment variable.
 * > **NOTE:** This value is ignored if `secret_name` is used
 */
public data class AppTemplateContainerEnv(
    public val name: String,
    public val secretName: String? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.AppTemplateContainerEnv): AppTemplateContainerEnv = AppTemplateContainerEnv(
            name = javaType.name(),
            secretName = javaType.secretName().map({ args0 -> args0 }).orElse(null),
            `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy