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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property effectiveUnreachableCidrBlock (Output)
 * Output only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
 * The size of this block is /25. The format of this field is governed by RFC 4632.
 * @property networkAttachment Optional. The reference to the network attachment used to establish private connectivity.
 * It will be of the form projects/{project-id}/regions/{region}/networkAttachments/{network-attachment-id}.
 * This is required only when using connection type PRIVATE_SERVICE_CONNECT_INTERFACES.
 * @property unreachableCidrBlock Optional. Input only. The CIDR block to which the CDF instance can't route traffic to in the consumer project VPC.
 * The size of this block should be at least /25. This range should not overlap with the primary address range of any subnetwork used by the network attachment.
 * This range can be used for other purposes in the consumer VPC as long as there is no requirement for CDF to reach destinations using these addresses.
 * If this value is not provided, the server chooses a non RFC 1918 address range. The format of this field is governed by RFC 4632.
 */
public data class InstanceNetworkConfigPrivateServiceConnectConfig(
    public val effectiveUnreachableCidrBlock: String? = null,
    public val networkAttachment: String? = null,
    public val unreachableCidrBlock: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.datafusion.outputs.InstanceNetworkConfigPrivateServiceConnectConfig): InstanceNetworkConfigPrivateServiceConnectConfig =
            InstanceNetworkConfigPrivateServiceConnectConfig(
                effectiveUnreachableCidrBlock = javaType.effectiveUnreachableCidrBlock().map({ args0 ->
                    args0
                }).orElse(null),
                networkAttachment = javaType.networkAttachment().map({ args0 -> args0 }).orElse(null),
                unreachableCidrBlock = javaType.unreachableCidrBlock().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy