com.pulumi.kubernetes.apiextensions.v1beta1.kotlin.outputs.CustomResourceDefinitionStatusPatch.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
* CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
* @property acceptedNames acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.
* @property conditions conditions indicate state for particular aspects of a CustomResourceDefinition
* @property storedVersions storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.
*/
public data class CustomResourceDefinitionStatusPatch(
public val acceptedNames: CustomResourceDefinitionNamesPatch? = null,
public val conditions: List? = null,
public val storedVersions: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.apiextensions.v1beta1.outputs.CustomResourceDefinitionStatusPatch): CustomResourceDefinitionStatusPatch = CustomResourceDefinitionStatusPatch(
acceptedNames = javaType.acceptedNames().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.apiextensions.v1beta1.kotlin.outputs.CustomResourceDefinitionNamesPatch.Companion.toKotlin(args0)
})
}).orElse(null),
conditions = javaType.conditions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.apiextensions.v1beta1.kotlin.outputs.CustomResourceDefinitionConditionPatch.Companion.toKotlin(args0)
})
}),
storedVersions = javaType.storedVersions().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy