com.pulumi.gcp.gkeonprem.kotlin.inputs.VMwareNodePoolConfigVsphereConfigArgs.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.VMwareNodePoolConfigVsphereConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property datastore The name of the vCenter datastore. Inherited from the user cluster.
* @property hostGroups Vsphere host groups to apply to all VMs in the node pool
* @property tags Tags to apply to VMs.
* Structure is documented below.
*/
public data class VMwareNodePoolConfigVsphereConfigArgs(
public val datastore: Output? = null,
public val hostGroups: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.VMwareNodePoolConfigVsphereConfigArgs =
com.pulumi.gcp.gkeonprem.inputs.VMwareNodePoolConfigVsphereConfigArgs.builder()
.datastore(datastore?.applyValue({ args0 -> args0 }))
.hostGroups(hostGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [VMwareNodePoolConfigVsphereConfigArgs].
*/
@PulumiTagMarker
public class VMwareNodePoolConfigVsphereConfigArgsBuilder internal constructor() {
private var datastore: Output? = null
private var hostGroups: Output>? = null
private var tags: Output>? = null
/**
* @param value The name of the vCenter datastore. Inherited from the user cluster.
*/
@JvmName("kpovpsgvkmyhsxyh")
public suspend fun datastore(`value`: Output) {
this.datastore = value
}
/**
* @param value Vsphere host groups to apply to all VMs in the node pool
*/
@JvmName("hdyarnoqskcbwjqp")
public suspend fun hostGroups(`value`: Output>) {
this.hostGroups = value
}
@JvmName("swhguljukokgnncr")
public suspend fun hostGroups(vararg values: Output) {
this.hostGroups = Output.all(values.asList())
}
/**
* @param values Vsphere host groups to apply to all VMs in the node pool
*/
@JvmName("ufcmmfgretnwejar")
public suspend fun hostGroups(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy