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

com.pulumi.azurenative.containerservice.kotlin.enums.AgentPoolMode.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.containerservice.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
 */
public enum class AgentPoolMode(
    public val javaValue: com.pulumi.azurenative.containerservice.enums.AgentPoolMode,
) : ConvertibleToJava {
    /**
     * System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory.
     */
    System(com.pulumi.azurenative.containerservice.enums.AgentPoolMode.System),

    /**
     * User agent pools are primarily for hosting your application pods.
     */
    User(com.pulumi.azurenative.containerservice.enums.AgentPoolMode.User),
    ;

    override fun toJava(): com.pulumi.azurenative.containerservice.enums.AgentPoolMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.containerservice.enums.AgentPoolMode): AgentPoolMode = AgentPoolMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy