com.pulumi.gcp.gkeonprem.kotlin.inputs.VMwareClusterNetworkConfigArgs.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.VMwareClusterNetworkConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 controlPlaneV2Config Configuration for control plane V2 mode.
* Structure is documented below.
* @property dhcpIpConfig Configuration settings for a DHCP IP configuration.
* Structure is documented below.
* @property hostConfig Represents common network settings irrespective of the host's IP address.
* Structure is documented below.
* @property podAddressCidrBlocks All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges.
* Only a single range is supported. This field cannot be changed after creation.
* @property serviceAddressCidrBlocks All services in the cluster are assigned an RFC1918 IPv4 address
* from these ranges. Only a single range is supported.. This field
* cannot be changed after creation.
* @property staticIpConfig Configuration settings for a static IP configuration.
* Structure is documented below.
* @property vcenterNetwork vcenter_network specifies vCenter network name. Inherited from the admin cluster.
*/
public data class VMwareClusterNetworkConfigArgs(
public val controlPlaneV2Config: Output? =
null,
public val dhcpIpConfig: Output? = null,
public val hostConfig: Output? = null,
public val podAddressCidrBlocks: Output>,
public val serviceAddressCidrBlocks: Output>,
public val staticIpConfig: Output? = null,
public val vcenterNetwork: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.VMwareClusterNetworkConfigArgs =
com.pulumi.gcp.gkeonprem.inputs.VMwareClusterNetworkConfigArgs.builder()
.controlPlaneV2Config(
controlPlaneV2Config?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.dhcpIpConfig(dhcpIpConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.hostConfig(hostConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.podAddressCidrBlocks(podAddressCidrBlocks.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.serviceAddressCidrBlocks(
serviceAddressCidrBlocks.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.staticIpConfig(staticIpConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.vcenterNetwork(vcenterNetwork?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VMwareClusterNetworkConfigArgs].
*/
@PulumiTagMarker
public class VMwareClusterNetworkConfigArgsBuilder internal constructor() {
private var controlPlaneV2Config: Output? =
null
private var dhcpIpConfig: Output? = null
private var hostConfig: Output? = null
private var podAddressCidrBlocks: Output>? = null
private var serviceAddressCidrBlocks: Output>? = null
private var staticIpConfig: Output? = null
private var vcenterNetwork: Output? = null
/**
* @param value Configuration for control plane V2 mode.
* Structure is documented below.
*/
@JvmName("gpmmcswrhndfrwvb")
public suspend fun controlPlaneV2Config(`value`: Output) {
this.controlPlaneV2Config = value
}
/**
* @param value Configuration settings for a DHCP IP configuration.
* Structure is documented below.
*/
@JvmName("vhwhwgwsxnufvqig")
public suspend fun dhcpIpConfig(`value`: Output) {
this.dhcpIpConfig = value
}
/**
* @param value Represents common network settings irrespective of the host's IP address.
* Structure is documented below.
*/
@JvmName("bunbnxirrbpuiifg")
public suspend fun hostConfig(`value`: Output) {
this.hostConfig = value
}
/**
* @param value All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges.
* Only a single range is supported. This field cannot be changed after creation.
*/
@JvmName("mcsnyopecqkgfjfp")
public suspend fun podAddressCidrBlocks(`value`: Output>) {
this.podAddressCidrBlocks = value
}
@JvmName("xkvrerqygpsejwcg")
public suspend fun podAddressCidrBlocks(vararg values: Output) {
this.podAddressCidrBlocks = Output.all(values.asList())
}
/**
* @param values All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges.
* Only a single range is supported. This field cannot be changed after creation.
*/
@JvmName("bpspixguqradpeyx")
public suspend fun podAddressCidrBlocks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy