All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.batch.v1beta1.kotlin.outputs.CronJobStatus.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 4.18.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.batch.v1beta1.kotlin.outputs

import com.pulumi.kubernetes.core.v1.kotlin.outputs.ObjectReference
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 CronJobStatus(
    public val active: List? = null,
    public val lastScheduleTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.batch.v1beta1.outputs.CronJobStatus): CronJobStatus = CronJobStatus(
            active = javaType.active().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.core.v1.kotlin.outputs.ObjectReference.Companion.toKotlin(args0)
                })
            }),
            lastScheduleTime = javaType.lastScheduleTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy