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

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

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

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property apiServerArgs Customizes the default API server args. Only a subset of
 * customized flags are supported. Please refer to the API server
 * documentation below to know the exact format:
 * https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/
 * Structure is documented below.
 * @property controlPlaneNodePoolConfig Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster.
 * Structure is documented below.
 */
public data class BareMetalAdminClusterControlPlane(
    public val apiServerArgs: List? = null,
    public val controlPlaneNodePoolConfig: BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfig,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalAdminClusterControlPlane): BareMetalAdminClusterControlPlane = BareMetalAdminClusterControlPlane(
            apiServerArgs = javaType.apiServerArgs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalAdminClusterControlPlaneApiServerArg.Companion.toKotlin(args0)
                })
            }),
            controlPlaneNodePoolConfig = javaType.controlPlaneNodePoolConfig().let({ args0 ->
                com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfig.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy