com.pulumi.kubernetes.admissionregistration.v1beta1.kotlin.inputs.ValidatingAdmissionPolicyStatusArgs.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.admissionregistration.v1beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.kubernetes.admissionregistration.v1beta1.inputs.ValidatingAdmissionPolicyStatusArgs.builder
import com.pulumi.kubernetes.meta.v1.kotlin.inputs.ConditionArgs
import com.pulumi.kubernetes.meta.v1.kotlin.inputs.ConditionArgsBuilder
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
* @property conditions The conditions represent the latest available observations of a policy's current state.
* @property observedGeneration The generation observed by the controller.
* @property typeChecking The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
*/
public data class ValidatingAdmissionPolicyStatusArgs(
public val conditions: Output>? = null,
public val observedGeneration: Output? = null,
public val typeChecking: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.admissionregistration.v1beta1.inputs.ValidatingAdmissionPolicyStatusArgs =
com.pulumi.kubernetes.admissionregistration.v1beta1.inputs.ValidatingAdmissionPolicyStatusArgs.builder()
.conditions(
conditions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.observedGeneration(observedGeneration?.applyValue({ args0 -> args0 }))
.typeChecking(typeChecking?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ValidatingAdmissionPolicyStatusArgs].
*/
@PulumiTagMarker
public class ValidatingAdmissionPolicyStatusArgsBuilder internal constructor() {
private var conditions: Output>? = null
private var observedGeneration: Output? = null
private var typeChecking: Output? = null
/**
* @param value The conditions represent the latest available observations of a policy's current state.
*/
@JvmName("sptxwwlgaueomdhc")
public suspend fun conditions(`value`: Output>) {
this.conditions = value
}
@JvmName("mmjjldpvxdudwyxs")
public suspend fun conditions(vararg values: Output) {
this.conditions = Output.all(values.asList())
}
/**
* @param values The conditions represent the latest available observations of a policy's current state.
*/
@JvmName("fekhrsnddwhbneuk")
public suspend fun conditions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy