com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalAdminClusterControlPlaneArgs.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.gkeonprem.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 BareMetalAdminClusterControlPlaneArgs(
public val apiServerArgs: Output>? = null,
public val controlPlaneNodePoolConfig: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneArgs.builder()
.apiServerArgs(
apiServerArgs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.controlPlaneNodePoolConfig(
controlPlaneNodePoolConfig.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [BareMetalAdminClusterControlPlaneArgs].
*/
@PulumiTagMarker
public class BareMetalAdminClusterControlPlaneArgsBuilder internal constructor() {
private var apiServerArgs: Output>? = null
private var controlPlaneNodePoolConfig:
Output? = null
/**
* @param value 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.
*/
@JvmName("rygwehdikpsieyhk")
public suspend fun apiServerArgs(`value`: Output>) {
this.apiServerArgs = value
}
@JvmName("xuitnatxwgocjcpd")
public suspend fun apiServerArgs(vararg values: Output) {
this.apiServerArgs = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("qfehyctbmmvfqrsp")
public suspend fun apiServerArgs(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy