com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterControlPlaneNode.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.outputs
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 VMwareClusterControlPlaneNode(
public val autoResizeConfig: VMwareClusterControlPlaneNodeAutoResizeConfig? = null,
public val cpus: Int? = null,
public val memory: Int? = null,
public val replicas: Int? = null,
public val vsphereConfigs: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.VMwareClusterControlPlaneNode): VMwareClusterControlPlaneNode = VMwareClusterControlPlaneNode(
autoResizeConfig = javaType.autoResizeConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterControlPlaneNodeAutoResizeConfig.Companion.toKotlin(args0)
})
}).orElse(null),
cpus = javaType.cpus().map({ args0 -> args0 }).orElse(null),
memory = javaType.memory().map({ args0 -> args0 }).orElse(null),
replicas = javaType.replicas().map({ args0 -> args0 }).orElse(null),
vsphereConfigs = javaType.vsphereConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterControlPlaneNodeVsphereConfig.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy