com.pulumi.kubernetes.resource.v1alpha2.kotlin.inputs.PodSchedulingContextStatusArgs.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.resource.v1alpha2.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.resource.v1alpha2.inputs.PodSchedulingContextStatusArgs.builder
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* PodSchedulingContextStatus describes where resources for the Pod can be allocated.
* @property resourceClaims ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
*/
public data class PodSchedulingContextStatusArgs(
public val resourceClaims: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha2.inputs.PodSchedulingContextStatusArgs =
com.pulumi.kubernetes.resource.v1alpha2.inputs.PodSchedulingContextStatusArgs.builder()
.resourceClaims(
resourceClaims?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PodSchedulingContextStatusArgs].
*/
@PulumiTagMarker
public class PodSchedulingContextStatusArgsBuilder internal constructor() {
private var resourceClaims: Output>? = null
/**
* @param value ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
*/
@JvmName("qllghifiuhojmuhj")
public suspend fun resourceClaims(`value`: Output>) {
this.resourceClaims = value
}
@JvmName("wcwrencwgsdgtnth")
public suspend fun resourceClaims(vararg values: Output) {
this.resourceClaims = Output.all(values.asList())
}
/**
* @param values ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
*/
@JvmName("eimpiqmfiefllxui")
public suspend fun resourceClaims(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy