All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs.ResourceClaimSchedulingStatusPatch.kt Maven / Gradle / Ivy

Go to download

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.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 ResourceClaimSchedulingStatusPatch(
    public val name: String? = null,
    public val unsuitableNodes: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha2.outputs.ResourceClaimSchedulingStatusPatch): ResourceClaimSchedulingStatusPatch = ResourceClaimSchedulingStatusPatch(
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            unsuitableNodes = javaType.unsuitableNodes().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy