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

com.pulumi.azurenative.healthcareapis.kotlin.inputs.ServiceAcrConfigurationInfoArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.healthcareapis.kotlin.inputs

import com.pulumi.azurenative.healthcareapis.inputs.ServiceAcrConfigurationInfoArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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

/**
 * Azure container registry configuration information
 * @property loginServers The list of the ACR login servers.
 * @property ociArtifacts The list of Open Container Initiative (OCI) artifacts.
 */
public data class ServiceAcrConfigurationInfoArgs(
    public val loginServers: Output>? = null,
    public val ociArtifacts: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.healthcareapis.inputs.ServiceAcrConfigurationInfoArgs =
        com.pulumi.azurenative.healthcareapis.inputs.ServiceAcrConfigurationInfoArgs.builder()
            .loginServers(loginServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .ociArtifacts(
                ociArtifacts?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var ociArtifacts: Output>? = null

    /**
     * @param value The list of the ACR login servers.
     */
    @JvmName("hxwukkbjmqdwxfvb")
    public suspend fun loginServers(`value`: Output>) {
        this.loginServers = value
    }

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

    /**
     * @param values The list of the ACR login servers.
     */
    @JvmName("yrtdbjjahotavtbv")
    public suspend fun loginServers(values: List>) {
        this.loginServers = Output.all(values)
    }

    /**
     * @param value The list of Open Container Initiative (OCI) artifacts.
     */
    @JvmName("aebjgjliaquswyun")
    public suspend fun ociArtifacts(`value`: Output>) {
        this.ociArtifacts = value
    }

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

    /**
     * @param values The list of Open Container Initiative (OCI) artifacts.
     */
    @JvmName("httjoklgccdcwgsu")
    public suspend fun ociArtifacts(values: List>) {
        this.ociArtifacts = Output.all(values)
    }

    /**
     * @param value The list of the ACR login servers.
     */
    @JvmName("srcxigjdlkpxeyvo")
    public suspend fun loginServers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loginServers = mapped
    }

    /**
     * @param values The list of the ACR login servers.
     */
    @JvmName("obqmgykvtrbwatwb")
    public suspend fun loginServers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.loginServers = mapped
    }

    /**
     * @param value The list of Open Container Initiative (OCI) artifacts.
     */
    @JvmName("fginoenlqcohpxbv")
    public suspend fun ociArtifacts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ociArtifacts = mapped
    }

    /**
     * @param argument The list of Open Container Initiative (OCI) artifacts.
     */
    @JvmName("twpvqymqswfgpjgl")
    public suspend fun ociArtifacts(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ServiceOciArtifactEntryArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.ociArtifacts = mapped
    }

    /**
     * @param argument The list of Open Container Initiative (OCI) artifacts.
     */
    @JvmName("elucedvdefbkfvxa")
    public suspend fun ociArtifacts(vararg argument: suspend ServiceOciArtifactEntryArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ServiceOciArtifactEntryArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.ociArtifacts = mapped
    }

    /**
     * @param argument The list of Open Container Initiative (OCI) artifacts.
     */
    @JvmName("nfdheglkhwbrynni")
    public suspend fun ociArtifacts(argument: suspend ServiceOciArtifactEntryArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ServiceOciArtifactEntryArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.ociArtifacts = mapped
    }

    /**
     * @param values The list of Open Container Initiative (OCI) artifacts.
     */
    @JvmName("rtcuxeaidgfdjrpf")
    public suspend fun ociArtifacts(vararg values: ServiceOciArtifactEntryArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ociArtifacts = mapped
    }

    internal fun build(): ServiceAcrConfigurationInfoArgs = ServiceAcrConfigurationInfoArgs(
        loginServers = loginServers,
        ociArtifacts = ociArtifacts,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy