com.pulumi.kubernetes.resource.v1alpha2.kotlin.inputs.ResourceClaimSchedulingStatusArgs.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.kubernetes.resource.v1alpha2.inputs.ResourceClaimSchedulingStatusArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
* @property name Name matches the pod.spec.resourceClaims[*].Name field.
* @property unsuitableNodes UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
* The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
*/
public data class ResourceClaimSchedulingStatusArgs(
public val name: Output? = null,
public val unsuitableNodes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.resource.v1alpha2.inputs.ResourceClaimSchedulingStatusArgs =
com.pulumi.kubernetes.resource.v1alpha2.inputs.ResourceClaimSchedulingStatusArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.unsuitableNodes(unsuitableNodes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ResourceClaimSchedulingStatusArgs].
*/
@PulumiTagMarker
public class ResourceClaimSchedulingStatusArgsBuilder internal constructor() {
private var name: Output? = null
private var unsuitableNodes: Output>? = null
/**
* @param value Name matches the pod.spec.resourceClaims[*].Name field.
*/
@JvmName("uuurapfilbfiqchc")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
* The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
*/
@JvmName("rylmedpahucgeqsf")
public suspend fun unsuitableNodes(`value`: Output>) {
this.unsuitableNodes = value
}
@JvmName("tkeqgmpopmunhsws")
public suspend fun unsuitableNodes(vararg values: Output) {
this.unsuitableNodes = Output.all(values.asList())
}
/**
* @param values UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
* The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
*/
@JvmName("bgvstahndbesdagh")
public suspend fun unsuitableNodes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy