
com.pulumi.googlenative.run.v1.kotlin.outputs.EnvVarSourceResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.run.v1.kotlin.outputs
import kotlin.Suppress
/**
* EnvVarSource represents a source for the value of an EnvVar.
* @property configMapKeyRef Not supported by Cloud Run. Not supported in Cloud Run.
* @property secretKeyRef Selects a key (version) of a secret in Secret Manager.
*/
public data class EnvVarSourceResponse(
public val configMapKeyRef: ConfigMapKeySelectorResponse,
public val secretKeyRef: SecretKeySelectorResponse,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.run.v1.outputs.EnvVarSourceResponse): EnvVarSourceResponse = EnvVarSourceResponse(
configMapKeyRef = javaType.configMapKeyRef().let({ args0 ->
com.pulumi.googlenative.run.v1.kotlin.outputs.ConfigMapKeySelectorResponse.Companion.toKotlin(args0)
}),
secretKeyRef = javaType.secretKeyRef().let({ args0 ->
com.pulumi.googlenative.run.v1.kotlin.outputs.SecretKeySelectorResponse.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy