com.pulumi.kubernetes.batch.v2alpha1.kotlin.outputs.CronJobStatusPatch.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.batch.v2alpha1.kotlin.outputs
import com.pulumi.kubernetes.core.v1.kotlin.outputs.ObjectReferencePatch
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* CronJobStatus represents the current state of a cron job.
* @property active A list of pointers to currently running jobs.
* @property lastScheduleTime Information when was the last time the job was successfully scheduled.
*/
public data class CronJobStatusPatch(
public val active: List? = null,
public val lastScheduleTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.batch.v2alpha1.outputs.CronJobStatusPatch): CronJobStatusPatch = CronJobStatusPatch(
active = javaType.active().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.core.v1.kotlin.outputs.ObjectReferencePatch.Companion.toKotlin(args0)
})
}),
lastScheduleTime = javaType.lastScheduleTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy