com.pulumi.gcp.container.kotlin.outputs.NodePoolNodeConfigKubeletConfig.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.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property cpuCfsQuota Enable CPU CFS quota enforcement for containers that specify CPU limits.
* @property cpuCfsQuotaPeriod Set the CPU CFS quota period value 'cpu.cfs_period_us'.
* @property cpuManagerPolicy Control the CPU management policy on the node.
* @property podPidsLimit Controls the maximum number of processes allowed to run in a pod.
*/
public data class NodePoolNodeConfigKubeletConfig(
public val cpuCfsQuota: Boolean? = null,
public val cpuCfsQuotaPeriod: String? = null,
public val cpuManagerPolicy: String,
public val podPidsLimit: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.NodePoolNodeConfigKubeletConfig): NodePoolNodeConfigKubeletConfig = NodePoolNodeConfigKubeletConfig(
cpuCfsQuota = javaType.cpuCfsQuota().map({ args0 -> args0 }).orElse(null),
cpuCfsQuotaPeriod = javaType.cpuCfsQuotaPeriod().map({ args0 -> args0 }).orElse(null),
cpuManagerPolicy = javaType.cpuManagerPolicy(),
podPidsLimit = javaType.podPidsLimit().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy