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

com.pulumi.gcp.redis.kotlin.outputs.ClusterPscConnection.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.redis.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property address Output only. The IP allocated on the consumer network for the PSC forwarding rule.
 * @property forwardingRule Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
 * @property network The consumer network where the IP address resides, in the form of projects/{projectId}/global/networks/{network_id}.
 * @property projectId Output only. The consumer projectId where the forwarding rule is created from.
 * @property pscConnectionId Output only. The PSC connection id of the forwarding rule connected to the service attachment.
 */
public data class ClusterPscConnection(
    public val address: String? = null,
    public val forwardingRule: String? = null,
    public val network: String? = null,
    public val projectId: String? = null,
    public val pscConnectionId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.redis.outputs.ClusterPscConnection): ClusterPscConnection = ClusterPscConnection(
            address = javaType.address().map({ args0 -> args0 }).orElse(null),
            forwardingRule = javaType.forwardingRule().map({ args0 -> args0 }).orElse(null),
            network = javaType.network().map({ args0 -> args0 }).orElse(null),
            projectId = javaType.projectId().map({ args0 -> args0 }).orElse(null),
            pscConnectionId = javaType.pscConnectionId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy