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

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

package com.pulumi.gcp.container.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property clientCertificate Base64 encoded public certificate
 * used by clients to authenticate to the cluster endpoint.
 * @property clientCertificateConfig Whether client certificate authorization is enabled for this cluster.  For example:
 * @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 certificate of the cluster.
 */
public data class ClusterMasterAuth(
    public val clientCertificate: String? = null,
    public val clientCertificateConfig: ClusterMasterAuthClientCertificateConfig,
    public val clientKey: String? = null,
    public val clusterCaCertificate: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterMasterAuth): ClusterMasterAuth = ClusterMasterAuth(
            clientCertificate = javaType.clientCertificate().map({ args0 -> args0 }).orElse(null),
            clientCertificateConfig = javaType.clientCertificateConfig().let({ args0 ->
                com.pulumi.gcp.container.kotlin.outputs.ClusterMasterAuthClientCertificateConfig.Companion.toKotlin(args0)
            }),
            clientKey = javaType.clientKey().map({ args0 -> args0 }).orElse(null),
            clusterCaCertificate = javaType.clusterCaCertificate().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy