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

com.pulumi.gcp.container.kotlin.outputs.NodePoolNodeConfigLinuxNodeConfig.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: 8.10.0.0
Show newest version
@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