com.pulumi.kubernetes.admissionregistration.v1alpha1.kotlin.outputs.ValidatingAdmissionPolicyStatus.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.v1alpha1.kotlin.outputs
import com.pulumi.kubernetes.meta.v1.kotlin.outputs.Condition
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
/**
* ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.
* @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 ValidatingAdmissionPolicyStatus(
public val conditions: List? = null,
public val observedGeneration: Int? = null,
public val typeChecking: TypeChecking? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.admissionregistration.v1alpha1.outputs.ValidatingAdmissionPolicyStatus): ValidatingAdmissionPolicyStatus = ValidatingAdmissionPolicyStatus(
conditions = javaType.conditions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.meta.v1.kotlin.outputs.Condition.Companion.toKotlin(args0)
})
}),
observedGeneration = javaType.observedGeneration().map({ args0 -> args0 }).orElse(null),
typeChecking = javaType.typeChecking().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.admissionregistration.v1alpha1.kotlin.outputs.TypeChecking.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy