
com.pulumi.gcp.container.kotlin.outputs.ClusterControlPlaneEndpointsConfigDnsEndpointConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.container.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property allowExternalTraffic Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may still use the endpoint even if this is false.
* @property endpoint The cluster's DNS endpoint.
*/
public data class ClusterControlPlaneEndpointsConfigDnsEndpointConfig(
public val allowExternalTraffic: Boolean? = null,
public val endpoint: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterControlPlaneEndpointsConfigDnsEndpointConfig): ClusterControlPlaneEndpointsConfigDnsEndpointConfig =
ClusterControlPlaneEndpointsConfigDnsEndpointConfig(
allowExternalTraffic = javaType.allowExternalTraffic().map({ args0 -> args0 }).orElse(null),
endpoint = javaType.endpoint().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy