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

com.pulumi.nomad.kotlin.outputs.NamespaceNodePoolConfig.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.

There is a newer version: 2.4.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.nomad.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property alloweds `([]string: )` - The list of node pools that are allowed to be used in this namespace.
 * @property default `(string: )` - The default node pool for jobs that don't define one.
 * @property denieds `([]string: )` - The list of node pools that are not allowed to be used in this namespace.
 */
public data class NamespaceNodePoolConfig(
    public val alloweds: List? = null,
    public val default: String? = null,
    public val denieds: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.nomad.outputs.NamespaceNodePoolConfig): NamespaceNodePoolConfig = NamespaceNodePoolConfig(
            alloweds = javaType.alloweds().map({ args0 -> args0 }),
            default = javaType.default_().map({ args0 -> args0 }).orElse(null),
            denieds = javaType.denieds().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy