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

com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterNodePoolKubeletConfig.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property allowedUnsafeSysctls Specifies the allow list of unsafe sysctls command or patterns (ending in `*`). Changing this forces a new resource to be created.
 * @property containerLogMaxLine Specifies the maximum number of container log files that can be present for a container. must be at least 2. Changing this forces a new resource to be created.
 * @property containerLogMaxSizeMb Specifies the maximum size (e.g. 10MB) of container log file before it is rotated. Changing this forces a new resource to be created.
 * @property cpuCfsQuotaEnabled Is CPU CFS quota enforcement for containers enabled? Changing this forces a new resource to be created.
 * @property cpuCfsQuotaPeriod Specifies the CPU CFS quota period value. Changing this forces a new resource to be created.
 * @property cpuManagerPolicy Specifies the CPU Manager policy to use. Possible values are `none` and `static`, Changing this forces a new resource to be created.
 * @property imageGcHighThreshold Specifies the percent of disk usage above which image garbage collection is always run. Must be between `0` and `100`. Changing this forces a new resource to be created.
 * @property imageGcLowThreshold Specifies the percent of disk usage lower than which image garbage collection is never run. Must be between `0` and `100`. Changing this forces a new resource to be created.
 * @property podMaxPid Specifies the maximum number of processes per pod. Changing this forces a new resource to be created.
 * @property topologyManagerPolicy Specifies the Topology Manager policy to use. Possible values are `none`, `best-effort`, `restricted` or `single-numa-node`. Changing this forces a new resource to be created.
 */
public data class KubernetesClusterNodePoolKubeletConfig(
    public val allowedUnsafeSysctls: List? = null,
    public val containerLogMaxLine: Int? = null,
    public val containerLogMaxSizeMb: Int? = null,
    public val cpuCfsQuotaEnabled: Boolean? = null,
    public val cpuCfsQuotaPeriod: String? = null,
    public val cpuManagerPolicy: String? = null,
    public val imageGcHighThreshold: Int? = null,
    public val imageGcLowThreshold: Int? = null,
    public val podMaxPid: Int? = null,
    public val topologyManagerPolicy: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterNodePoolKubeletConfig):
            KubernetesClusterNodePoolKubeletConfig = KubernetesClusterNodePoolKubeletConfig(
            allowedUnsafeSysctls = javaType.allowedUnsafeSysctls().map({ args0 -> args0 }),
            containerLogMaxLine = javaType.containerLogMaxLine().map({ args0 -> args0 }).orElse(null),
            containerLogMaxSizeMb = javaType.containerLogMaxSizeMb().map({ args0 -> args0 }).orElse(null),
            cpuCfsQuotaEnabled = javaType.cpuCfsQuotaEnabled().map({ args0 -> args0 }).orElse(null),
            cpuCfsQuotaPeriod = javaType.cpuCfsQuotaPeriod().map({ args0 -> args0 }).orElse(null),
            cpuManagerPolicy = javaType.cpuManagerPolicy().map({ args0 -> args0 }).orElse(null),
            imageGcHighThreshold = javaType.imageGcHighThreshold().map({ args0 -> args0 }).orElse(null),
            imageGcLowThreshold = javaType.imageGcLowThreshold().map({ args0 -> args0 }).orElse(null),
            podMaxPid = javaType.podMaxPid().map({ args0 -> args0 }).orElse(null),
            topologyManagerPolicy = javaType.topologyManagerPolicy().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy