com.pulumi.kubernetes.apiextensions.v1beta1.kotlin.outputs.CustomResourceValidationPatch.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.apiextensions.v1beta1.kotlin.outputs
import kotlin.Suppress
/**
* CustomResourceValidation is a list of validation methods for CustomResources.
* @property openAPIV3Schema openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning.
*/
public data class CustomResourceValidationPatch(
public val openAPIV3Schema: JSONSchemaPropsPatch? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.apiextensions.v1beta1.outputs.CustomResourceValidationPatch): CustomResourceValidationPatch = CustomResourceValidationPatch(
openAPIV3Schema = javaType.openAPIV3Schema().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.apiextensions.v1beta1.kotlin.outputs.JSONSchemaPropsPatch.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy