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

com.pulumi.azure.hdinsight.kotlin.outputs.HadoopClusterNetwork.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.hdinsight.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property connectionDirection The direction of the resource provider connection. Possible values include `Inbound` or `Outbound`. Defaults to `Inbound`. Changing this forces a new resource to be created.
 * > **NOTE:** To enabled the private link the `connection_direction` must be set to `Outbound`.
 * @property privateLinkEnabled Is the private link enabled? Possible values include `true` or `false`. Defaults to `false`. Changing this forces a new resource to be created.
 */
public data class HadoopClusterNetwork(
    public val connectionDirection: String? = null,
    public val privateLinkEnabled: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.hdinsight.outputs.HadoopClusterNetwork): HadoopClusterNetwork = HadoopClusterNetwork(
            connectionDirection = javaType.connectionDirection().map({ args0 -> args0 }).orElse(null),
            privateLinkEnabled = javaType.privateLinkEnabled().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy