com.pulumi.kubernetes.admissionregistration.v1alpha1.kotlin.outputs.Variable.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.admissionregistration.v1alpha1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Variable is the definition of a variable that is used for composition.
* @property expression Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
* @property name Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
*/
public data class Variable(
public val expression: String,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.admissionregistration.v1alpha1.outputs.Variable): Variable = Variable(
expression = javaType.expression(),
name = javaType.name(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy