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

com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterNodeConfig.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property containerRuntime The available runtimes that can be used to run containers in a Bare Metal User Cluster.
 * Possible values are: `CONTAINER_RUNTIME_UNSPECIFIED`, `DOCKER`, `CONTAINERD`.
 * @property maxPodsPerNode The maximum number of pods a node can run. The size of the CIDR range
 * assigned to the node will be derived from this parameter.
 */
public data class BareMetalClusterNodeConfig(
    public val containerRuntime: String? = null,
    public val maxPodsPerNode: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterNodeConfig): BareMetalClusterNodeConfig = BareMetalClusterNodeConfig(
            containerRuntime = javaType.containerRuntime().map({ args0 -> args0 }).orElse(null),
            maxPodsPerNode = javaType.maxPodsPerNode().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy