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

com.pulumi.gcp.datafusion.kotlin.outputs.InstanceNetworkConfig.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.datafusion.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property connectionType Optional. Type of connection for establishing private IP connectivity between the Data Fusion customer project VPC and
 * the corresponding tenant project from a predefined list of available connection modes.
 * If this field is unspecified for a private instance, VPC peering is used.
 * Possible values are: `VPC_PEERING`, `PRIVATE_SERVICE_CONNECT_INTERFACES`.
 * @property ipAllocation The IP range in CIDR notation to use for the managed Data Fusion instance
 * nodes. This range must not overlap with any other ranges used in the Data Fusion instance network.
 * @property network Name of the network in the project with which the tenant project
 * will be peered for executing pipelines. In case of shared VPC where the network resides in another host
 * project the network should specified in the form of projects/{host-project-id}/global/networks/{network}
 * @property privateServiceConnectConfig Optional. Configuration for Private Service Connect.
 * This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
 * Structure is documented below.
 */
public data class InstanceNetworkConfig(
    public val connectionType: String? = null,
    public val ipAllocation: String? = null,
    public val network: String? = null,
    public val privateServiceConnectConfig: InstanceNetworkConfigPrivateServiceConnectConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.datafusion.outputs.InstanceNetworkConfig): InstanceNetworkConfig = InstanceNetworkConfig(
            connectionType = javaType.connectionType().map({ args0 -> args0 }).orElse(null),
            ipAllocation = javaType.ipAllocation().map({ args0 -> args0 }).orElse(null),
            network = javaType.network().map({ args0 -> args0 }).orElse(null),
            privateServiceConnectConfig = javaType.privateServiceConnectConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.datafusion.kotlin.outputs.InstanceNetworkConfigPrivateServiceConnectConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy