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

com.pulumi.gcp.container.kotlin.outputs.GetClusterMasterAuth.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.container.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property clientCertificate Base64 encoded public certificate used by clients to authenticate to the cluster endpoint.
 * @property clientCertificateConfigs Whether client certificate authorization is enabled for this cluster.
 * @property clientKey Base64 encoded private key used by clients to authenticate to the cluster endpoint.
 * @property clusterCaCertificate Base64 encoded public certificate that is the root of trust for the cluster.
 */
public data class GetClusterMasterAuth(
    public val clientCertificate: String,
    public val clientCertificateConfigs: List,
    public val clientKey: String,
    public val clusterCaCertificate: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterMasterAuth): GetClusterMasterAuth = GetClusterMasterAuth(
            clientCertificate = javaType.clientCertificate(),
            clientCertificateConfigs = javaType.clientCertificateConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.container.kotlin.outputs.GetClusterMasterAuthClientCertificateConfig.Companion.toKotlin(args0)
                })
            }),
            clientKey = javaType.clientKey(),
            clusterCaCertificate = javaType.clusterCaCertificate(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy