All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterNetworkConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property advancedNetworking Enables the use of advanced Anthos networking features, such as Bundled
 * Load Balancing with BGP or the egress NAT gateway.
 * Setting configuration for advanced networking features will automatically
 * set this flag.
 * @property islandModeCidr A nested object resource
 * Structure is documented below.
 * @property multipleNetworkInterfacesConfig Configuration for multiple network interfaces.
 * Structure is documented below.
 * @property srIovConfig Configuration for SR-IOV.
 * Structure is documented below.
 */
public data class BareMetalClusterNetworkConfig(
    public val advancedNetworking: Boolean? = null,
    public val islandModeCidr: BareMetalClusterNetworkConfigIslandModeCidr? = null,
    public val multipleNetworkInterfacesConfig: BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfig? = null,
    public val srIovConfig: BareMetalClusterNetworkConfigSrIovConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterNetworkConfig): BareMetalClusterNetworkConfig = BareMetalClusterNetworkConfig(
            advancedNetworking = javaType.advancedNetworking().map({ args0 -> args0 }).orElse(null),
            islandModeCidr = javaType.islandModeCidr().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterNetworkConfigIslandModeCidr.Companion.toKotlin(args0)
                })
            }).orElse(null),
            multipleNetworkInterfacesConfig = javaType.multipleNetworkInterfacesConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            srIovConfig = javaType.srIovConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterNetworkConfigSrIovConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy