com.pulumi.kubernetes.resource.v1alpha3.kotlin.outputs.ResourceClaimSchedulingStatus.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.resource.v1alpha3.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* 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 ResourceClaimSchedulingStatus(
public val name: String,
public val unsuitableNodes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha3.outputs.ResourceClaimSchedulingStatus): ResourceClaimSchedulingStatus = ResourceClaimSchedulingStatus(
name = javaType.name(),
unsuitableNodes = javaType.unsuitableNodes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy