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

com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterHttpProxyConfigArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.inputs

import com.pulumi.azure.containerservice.inputs.KubernetesClusterHttpProxyConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property httpProxy The proxy address to be used when communicating over HTTP.
 * @property httpsProxy The proxy address to be used when communicating over HTTPS.
 * @property noProxies
 * @property trustedCa The base64 encoded alternative CA certificate content in PEM format.
 */
public data class KubernetesClusterHttpProxyConfigArgs(
    public val httpProxy: Output? = null,
    public val httpsProxy: Output? = null,
    public val noProxies: Output>? = null,
    public val trustedCa: Output? = null,
) : ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.containerservice.inputs.KubernetesClusterHttpProxyConfigArgs =
        com.pulumi.azure.containerservice.inputs.KubernetesClusterHttpProxyConfigArgs.builder()
            .httpProxy(httpProxy?.applyValue({ args0 -> args0 }))
            .httpsProxy(httpsProxy?.applyValue({ args0 -> args0 }))
            .noProxies(noProxies?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .trustedCa(trustedCa?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [KubernetesClusterHttpProxyConfigArgs].
 */
@PulumiTagMarker
public class KubernetesClusterHttpProxyConfigArgsBuilder internal constructor() {
    private var httpProxy: Output? = null

    private var httpsProxy: Output? = null

    private var noProxies: Output>? = null

    private var trustedCa: Output? = null

    /**
     * @param value The proxy address to be used when communicating over HTTP.
     */
    @JvmName("iyhtojxmsiqbkcbv")
    public suspend fun httpProxy(`value`: Output) {
        this.httpProxy = value
    }

    /**
     * @param value The proxy address to be used when communicating over HTTPS.
     */
    @JvmName("pbwhvnrwqeewnopw")
    public suspend fun httpsProxy(`value`: Output) {
        this.httpsProxy = value
    }

    /**
     * @param value
     */
    @JvmName("mtfrrqlwusjowysb")
    public suspend fun noProxies(`value`: Output>) {
        this.noProxies = value
    }

    @JvmName("icdyqnlexcxworgw")
    public suspend fun noProxies(vararg values: Output) {
        this.noProxies = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("emakuekeuheuyxqb")
    public suspend fun noProxies(values: List>) {
        this.noProxies = Output.all(values)
    }

    /**
     * @param value The base64 encoded alternative CA certificate content in PEM format.
     */
    @JvmName("hciyjaiucskjeqhp")
    public suspend fun trustedCa(`value`: Output) {
        this.trustedCa = value
    }

    /**
     * @param value The proxy address to be used when communicating over HTTP.
     */
    @JvmName("qyiacffoeivmcyeq")
    public suspend fun httpProxy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpProxy = mapped
    }

    /**
     * @param value The proxy address to be used when communicating over HTTPS.
     */
    @JvmName("yubylnrrryeoyrll")
    public suspend fun httpsProxy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpsProxy = mapped
    }

    /**
     * @param value
     */
    @JvmName("wtcxxdmnegguwrhy")
    public suspend fun noProxies(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.noProxies = mapped
    }

    /**
     * @param values
     */
    @JvmName("qihocuxiuufggpds")
    public suspend fun noProxies(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.noProxies = mapped
    }

    /**
     * @param value The base64 encoded alternative CA certificate content in PEM format.
     */
    @JvmName("sekmowhedirhqmiw")
    public suspend fun trustedCa(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.trustedCa = mapped
    }

    internal fun build(): KubernetesClusterHttpProxyConfigArgs = KubernetesClusterHttpProxyConfigArgs(
        httpProxy = httpProxy,
        httpsProxy = httpsProxy,
        noProxies = noProxies,
        trustedCa = trustedCa,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy