com.pulumi.kubernetes.batch.v1.kotlin.inputs.UncountedTerminatedPodsArgs.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.v1.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.kubernetes.batch.v1.inputs.UncountedTerminatedPodsArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
* @property failed failed holds UIDs of failed Pods.
* @property succeeded succeeded holds UIDs of succeeded Pods.
*/
public data class UncountedTerminatedPodsArgs(
public val failed: Output>? = null,
public val succeeded: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.batch.v1.inputs.UncountedTerminatedPodsArgs =
com.pulumi.kubernetes.batch.v1.inputs.UncountedTerminatedPodsArgs.builder()
.failed(failed?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.succeeded(succeeded?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [UncountedTerminatedPodsArgs].
*/
@PulumiTagMarker
public class UncountedTerminatedPodsArgsBuilder internal constructor() {
private var failed: Output>? = null
private var succeeded: Output>? = null
/**
* @param value failed holds UIDs of failed Pods.
*/
@JvmName("haywmpuuuunoqsvv")
public suspend fun failed(`value`: Output>) {
this.failed = value
}
@JvmName("lqprfiyoaukkqnqy")
public suspend fun failed(vararg values: Output) {
this.failed = Output.all(values.asList())
}
/**
* @param values failed holds UIDs of failed Pods.
*/
@JvmName("kxadyeydyreitsnu")
public suspend fun failed(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy