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

com.pulumi.gcp.container.kotlin.inputs.NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgs.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.13.1.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.NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property fqdns List of fully-qualified-domain-names. IPv4s and port specification are supported.
 * @property gcpSecretManagerCertificateConfig Parameters for configuring a certificate hosted in GCP SecretManager.
 */
public data class
NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgs(
    public val fqdns: Output>,
    public val gcpSecretManagerCertificateConfig: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgs =
        com.pulumi.gcp.container.inputs.NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgs.builder()
            .fqdns(fqdns.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .gcpSecretManagerCertificateConfig(
                gcpSecretManagerCertificateConfig.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            ).build()
}

/**
 * Builder for [NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgs].
 */
@PulumiTagMarker
public class
NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgsBuilder
internal constructor() {
    private var fqdns: Output>? = null

    private var gcpSecretManagerCertificateConfig:
        Output? =
        null

    /**
     * @param value List of fully-qualified-domain-names. IPv4s and port specification are supported.
     */
    @JvmName("hghryehojsfiypwc")
    public suspend fun fqdns(`value`: Output>) {
        this.fqdns = value
    }

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

    /**
     * @param values List of fully-qualified-domain-names. IPv4s and port specification are supported.
     */
    @JvmName("lwetiijgxlpnahnk")
    public suspend fun fqdns(values: List>) {
        this.fqdns = Output.all(values)
    }

    /**
     * @param value Parameters for configuring a certificate hosted in GCP SecretManager.
     */
    @JvmName("hlbugarpuqlqicib")
    public suspend fun gcpSecretManagerCertificateConfig(`value`: Output) {
        this.gcpSecretManagerCertificateConfig = value
    }

    /**
     * @param value List of fully-qualified-domain-names. IPv4s and port specification are supported.
     */
    @JvmName("hfxqgnagaijpdasr")
    public suspend fun fqdns(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fqdns = mapped
    }

    /**
     * @param values List of fully-qualified-domain-names. IPv4s and port specification are supported.
     */
    @JvmName("huxesonhgcberayh")
    public suspend fun fqdns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fqdns = mapped
    }

    /**
     * @param value Parameters for configuring a certificate hosted in GCP SecretManager.
     */
    @JvmName("klieqfcorxtvxysg")
    public suspend fun gcpSecretManagerCertificateConfig(`value`: NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigGcpSecretManagerCertificateConfigArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.gcpSecretManagerCertificateConfig = mapped
    }

    /**
     * @param argument Parameters for configuring a certificate hosted in GCP SecretManager.
     */
    @JvmName("gljdrfjfonnllrnf")
    public suspend fun gcpSecretManagerCertificateConfig(argument: suspend NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigGcpSecretManagerCertificateConfigArgsBuilder.() -> Unit) {
        val toBeMapped =
            NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigGcpSecretManagerCertificateConfigArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.gcpSecretManagerCertificateConfig = mapped
    }

    internal fun build(): NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgs =
        NodePoolNodeConfigContainerdConfigPrivateRegistryAccessConfigCertificateAuthorityDomainConfigArgs(
            fqdns = fqdns ?: throw PulumiNullFieldException("fqdns"),
            gcpSecretManagerCertificateConfig = gcpSecretManagerCertificateConfig ?: throw
                PulumiNullFieldException("gcpSecretManagerCertificateConfig"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy