![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterNodePoolLinuxOsConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.containerservice.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property swapFileSizeMb Specifies the size of swap file on each node in MB. Changing this forces a new resource to be created.
* @property sysctlConfig A `sysctl_config` block as defined below. Changing this forces a new resource to be created.
* @property transparentHugePageDefrag specifies the defrag configuration for Transparent Huge Page. Possible values are `always`, `defer`, `defer+madvise`, `madvise` and `never`. Changing this forces a new resource to be created.
* @property transparentHugePageEnabled Specifies the Transparent Huge Page enabled configuration. Possible values are `always`, `madvise` and `never`. Changing this forces a new resource to be created.
*/
public data class KubernetesClusterNodePoolLinuxOsConfig(
public val swapFileSizeMb: Int? = null,
public val sysctlConfig: KubernetesClusterNodePoolLinuxOsConfigSysctlConfig? = null,
public val transparentHugePageDefrag: String? = null,
public val transparentHugePageEnabled: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterNodePoolLinuxOsConfig): KubernetesClusterNodePoolLinuxOsConfig = KubernetesClusterNodePoolLinuxOsConfig(
swapFileSizeMb = javaType.swapFileSizeMb().map({ args0 -> args0 }).orElse(null),
sysctlConfig = javaType.sysctlConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterNodePoolLinuxOsConfigSysctlConfig.Companion.toKotlin(args0)
})
}).orElse(null),
transparentHugePageDefrag = javaType.transparentHugePageDefrag().map({ args0 ->
args0
}).orElse(null),
transparentHugePageEnabled = javaType.transparentHugePageEnabled().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy