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

@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("okosgooofbaltrgt")
    public suspend fun httpProxy(`value`: Output) {
        this.httpProxy = value
    }

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

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

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

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

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

    /**
     * @param value The proxy address to be used when communicating over HTTP.
     */
    @JvmName("xpyadbjpcolfflfw")
    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("nlbyfueeqpoqbuvo")
    public suspend fun httpsProxy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpsProxy = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("uofokyiogfwbrhag")
    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("bgetlxrfircmltwb")
    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