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

com.pulumi.alicloud.cs.kotlin.outputs.ManagedKubernetesCertificateAuthority.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.cs.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property clientCert The path of client certificate, like `~/.kube/client-cert.pem`.
 * @property clientKey The path of client key, like `~/.kube/client-key.pem`.
 * @property clusterCert The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
 */
public data class ManagedKubernetesCertificateAuthority(
    public val clientCert: String? = null,
    public val clientKey: String? = null,
    public val clusterCert: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.alicloud.cs.outputs.ManagedKubernetesCertificateAuthority): ManagedKubernetesCertificateAuthority = ManagedKubernetesCertificateAuthority(
            clientCert = javaType.clientCert().map({ args0 -> args0 }).orElse(null),
            clientKey = javaType.clientKey().map({ args0 -> args0 }).orElse(null),
            clusterCert = javaType.clusterCert().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy