![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.nomad.kotlin.outputs.NamespaceNodePoolConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-nomad-kotlin Show documentation
Show all versions of pulumi-nomad-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.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