com.pulumi.kubernetes.batch.v1beta1.kotlin.inputs.CronJobStatusArgs.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.batch.v1beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.kubernetes.batch.v1beta1.inputs.CronJobStatusArgs.builder
import com.pulumi.kubernetes.core.v1.kotlin.inputs.ObjectReferenceArgs
import com.pulumi.kubernetes.core.v1.kotlin.inputs.ObjectReferenceArgsBuilder
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* 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 CronJobStatusArgs(
public val active: Output>? = null,
public val lastScheduleTime: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.batch.v1beta1.inputs.CronJobStatusArgs =
com.pulumi.kubernetes.batch.v1beta1.inputs.CronJobStatusArgs.builder()
.active(active?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.lastScheduleTime(lastScheduleTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CronJobStatusArgs].
*/
@PulumiTagMarker
public class CronJobStatusArgsBuilder internal constructor() {
private var active: Output>? = null
private var lastScheduleTime: Output? = null
/**
* @param value A list of pointers to currently running jobs.
*/
@JvmName("ggqvmlbsqxjctqlo")
public suspend fun active(`value`: Output>) {
this.active = value
}
@JvmName("vgkdgmfxjieawvsq")
public suspend fun active(vararg values: Output) {
this.active = Output.all(values.asList())
}
/**
* @param values A list of pointers to currently running jobs.
*/
@JvmName("ahvetrqruivwhwcr")
public suspend fun active(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy