com.pulumi.gcp.gkeonprem.kotlin.inputs.VMwareClusterControlPlaneNodeArgs.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.VMwareClusterControlPlaneNodeArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property autoResizeConfig AutoResizeConfig provides auto resizing configurations.
* Structure is documented below.
* @property cpus The number of CPUs for each admin cluster node that serve as control planes
* for this VMware User Cluster. (default: 4 CPUs)
* @property memory The megabytes of memory for each admin cluster node that serves as a
* control plane for this VMware User Cluster (default: 8192 MB memory).
* @property replicas The number of control plane nodes for this VMware User Cluster.
* (default: 1 replica).
* @property vsphereConfigs (Output)
* Vsphere-specific config.
* Structure is documented below.
*/
public data class VMwareClusterControlPlaneNodeArgs(
public val autoResizeConfig: Output? = null,
public val cpus: Output? = null,
public val memory: Output? = null,
public val replicas: Output? = null,
public val vsphereConfigs: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.VMwareClusterControlPlaneNodeArgs =
com.pulumi.gcp.gkeonprem.inputs.VMwareClusterControlPlaneNodeArgs.builder()
.autoResizeConfig(autoResizeConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.cpus(cpus?.applyValue({ args0 -> args0 }))
.memory(memory?.applyValue({ args0 -> args0 }))
.replicas(replicas?.applyValue({ args0 -> args0 }))
.vsphereConfigs(
vsphereConfigs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [VMwareClusterControlPlaneNodeArgs].
*/
@PulumiTagMarker
public class VMwareClusterControlPlaneNodeArgsBuilder internal constructor() {
private var autoResizeConfig: Output? = null
private var cpus: Output? = null
private var memory: Output? = null
private var replicas: Output? = null
private var vsphereConfigs: Output>? = null
/**
* @param value AutoResizeConfig provides auto resizing configurations.
* Structure is documented below.
*/
@JvmName("tdmdaygroykveofc")
public suspend fun autoResizeConfig(`value`: Output) {
this.autoResizeConfig = value
}
/**
* @param value The number of CPUs for each admin cluster node that serve as control planes
* for this VMware User Cluster. (default: 4 CPUs)
*/
@JvmName("fwmigtlpxpqjjans")
public suspend fun cpus(`value`: Output) {
this.cpus = value
}
/**
* @param value The megabytes of memory for each admin cluster node that serves as a
* control plane for this VMware User Cluster (default: 8192 MB memory).
*/
@JvmName("jggnloqqwcwxqrtn")
public suspend fun memory(`value`: Output) {
this.memory = value
}
/**
* @param value The number of control plane nodes for this VMware User Cluster.
* (default: 1 replica).
*/
@JvmName("emdjnphmdxheymqd")
public suspend fun replicas(`value`: Output) {
this.replicas = value
}
/**
* @param value (Output)
* Vsphere-specific config.
* Structure is documented below.
*/
@JvmName("minjcrydhaaxpdck")
public suspend fun vsphereConfigs(`value`: Output>) {
this.vsphereConfigs = value
}
@JvmName("ujnymdfsvxvukcpx")
public suspend fun vsphereConfigs(vararg values: Output) {
this.vsphereConfigs = Output.all(values.asList())
}
/**
* @param values (Output)
* Vsphere-specific config.
* Structure is documented below.
*/
@JvmName("bgqxhysjgurjbilj")
public suspend fun vsphereConfigs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy