com.pulumi.gcp.redis.kotlin.outputs.ClusterDiscoveryEndpoint.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.redis.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property address Output only. The IP allocated on the consumer network for the PSC forwarding rule.
* @property port Output only. The port number of the exposed Redis endpoint.
* @property pscConfig Output only. Customer configuration for where the endpoint
* is created and accessed from.
* Structure is documented below.
*/
public data class ClusterDiscoveryEndpoint(
public val address: String? = null,
public val port: Int? = null,
public val pscConfig: ClusterDiscoveryEndpointPscConfig? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.redis.outputs.ClusterDiscoveryEndpoint): ClusterDiscoveryEndpoint = ClusterDiscoveryEndpoint(
address = javaType.address().map({ args0 -> args0 }).orElse(null),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
pscConfig = javaType.pscConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.redis.kotlin.outputs.ClusterDiscoveryEndpointPscConfig.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy