com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterNetworkConfig.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 VMwareClusterNetworkConfig(
public val controlPlaneV2Config: VMwareClusterNetworkConfigControlPlaneV2Config? = null,
public val dhcpIpConfig: VMwareClusterNetworkConfigDhcpIpConfig? = null,
public val hostConfig: VMwareClusterNetworkConfigHostConfig? = null,
public val podAddressCidrBlocks: List,
public val serviceAddressCidrBlocks: List,
public val staticIpConfig: VMwareClusterNetworkConfigStaticIpConfig? = null,
public val vcenterNetwork: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.VMwareClusterNetworkConfig): VMwareClusterNetworkConfig = VMwareClusterNetworkConfig(
controlPlaneV2Config = javaType.controlPlaneV2Config().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterNetworkConfigControlPlaneV2Config.Companion.toKotlin(args0)
})
}).orElse(null),
dhcpIpConfig = javaType.dhcpIpConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterNetworkConfigDhcpIpConfig.Companion.toKotlin(args0)
})
}).orElse(null),
hostConfig = javaType.hostConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterNetworkConfigHostConfig.Companion.toKotlin(args0)
})
}).orElse(null),
podAddressCidrBlocks = javaType.podAddressCidrBlocks().map({ args0 -> args0 }),
serviceAddressCidrBlocks = javaType.serviceAddressCidrBlocks().map({ args0 -> args0 }),
staticIpConfig = javaType.staticIpConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareClusterNetworkConfigStaticIpConfig.Companion.toKotlin(args0)
})
}).orElse(null),
vcenterNetwork = javaType.vcenterNetwork().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy