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

com.pulumi.azure.redhatopenshift.kotlin.outputs.ClusterNetworkProfile.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.redhatopenshift.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property outboundType The outbound (egress) routing method. Possible values are `Loadbalancer` and `UserDefinedRouting`. Defaults to `Loadbalancer`. Changing this forces a new resource to be created.
 * @property podCidr The CIDR to use for pod IP addresses. Changing this forces a new resource to be created.
 * @property serviceCidr The network range used by the OpenShift service. Changing this forces a new resource to be created.
 */
public data class ClusterNetworkProfile(
    public val outboundType: String? = null,
    public val podCidr: String,
    public val serviceCidr: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.redhatopenshift.outputs.ClusterNetworkProfile):
            ClusterNetworkProfile = ClusterNetworkProfile(
            outboundType = javaType.outboundType().map({ args0 -> args0 }).orElse(null),
            podCidr = javaType.podCidr(),
            serviceCidr = javaType.serviceCidr(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy