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

com.pulumi.gcp.container.kotlin.inputs.AttachedClusterProxyConfigArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.AttachedClusterProxyConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property kubernetesSecret The Kubernetes Secret resource that contains the HTTP(S) proxy configuration.
 * Structure is documented below.
 */
public data class AttachedClusterProxyConfigArgs(
    public val kubernetesSecret: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.AttachedClusterProxyConfigArgs =
        com.pulumi.gcp.container.inputs.AttachedClusterProxyConfigArgs.builder()
            .kubernetesSecret(
                kubernetesSecret?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AttachedClusterProxyConfigArgs].
 */
@PulumiTagMarker
public class AttachedClusterProxyConfigArgsBuilder internal constructor() {
    private var kubernetesSecret: Output? = null

    /**
     * @param value The Kubernetes Secret resource that contains the HTTP(S) proxy configuration.
     * Structure is documented below.
     */
    @JvmName("lwrixqunqvwwpdie")
    public suspend fun kubernetesSecret(`value`: Output) {
        this.kubernetesSecret = value
    }

    /**
     * @param value The Kubernetes Secret resource that contains the HTTP(S) proxy configuration.
     * Structure is documented below.
     */
    @JvmName("upqvlngovgelhddc")
    public suspend fun kubernetesSecret(`value`: AttachedClusterProxyConfigKubernetesSecretArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kubernetesSecret = mapped
    }

    /**
     * @param argument The Kubernetes Secret resource that contains the HTTP(S) proxy configuration.
     * Structure is documented below.
     */
    @JvmName("bfvvrqrbvayxmaqn")
    public suspend fun kubernetesSecret(argument: suspend AttachedClusterProxyConfigKubernetesSecretArgsBuilder.() -> Unit) {
        val toBeMapped = AttachedClusterProxyConfigKubernetesSecretArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.kubernetesSecret = mapped
    }

    internal fun build(): AttachedClusterProxyConfigArgs = AttachedClusterProxyConfigArgs(
        kubernetesSecret = kubernetesSecret,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy