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

com.pulumi.gcp.container.kotlin.outputs.GetClusterControlPlaneEndpointsConfigDnsEndpointConfig.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 GetClusterControlPlaneEndpointsConfigDnsEndpointConfig(
    public val allowExternalTraffic: Boolean,
    public val endpoint: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterControlPlaneEndpointsConfigDnsEndpointConfig): GetClusterControlPlaneEndpointsConfigDnsEndpointConfig =
            GetClusterControlPlaneEndpointsConfigDnsEndpointConfig(
                allowExternalTraffic = javaType.allowExternalTraffic(),
                endpoint = javaType.endpoint(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy