com.pulumi.gcp.container.kotlin.outputs.NodePoolNodeConfigLinuxNodeConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property cgroupMode cgroupMode specifies the cgroup mode to be used on the node.
* @property sysctls The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.
*/
public data class NodePoolNodeConfigLinuxNodeConfig(
public val cgroupMode: String? = null,
public val sysctls: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.NodePoolNodeConfigLinuxNodeConfig): NodePoolNodeConfigLinuxNodeConfig = NodePoolNodeConfigLinuxNodeConfig(
cgroupMode = javaType.cgroupMode().map({ args0 -> args0 }).orElse(null),
sysctls = javaType.sysctls().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy