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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property identity A `identity` block as defined below.
 * @property keyVaultSecretId The Key Vault Secret ID. Could be either one of `id` or `versionless_id`.
 * @property name Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
 * @property value The value for this secret.
 */
public data class JobSecret(
    public val identity: String? = null,
    public val keyVaultSecretId: String? = null,
    public val name: String,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.JobSecret): JobSecret =
            JobSecret(
                identity = javaType.identity().map({ args0 -> args0 }).orElse(null),
                keyVaultSecretId = javaType.keyVaultSecretId().map({ args0 -> args0 }).orElse(null),
                name = javaType.name(),
                `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy