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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.RegistryRegionArmDetailsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.RegistryRegionArmDetailsArgs.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

/**
 * Details for each region the registry is in
 * @property acrDetails List of ACR accounts
 * @property location The location where the registry exists
 * @property storageAccountDetails List of storage accounts
 */
public data class RegistryRegionArmDetailsArgs(
    public val acrDetails: Output>? = null,
    public val location: Output? = null,
    public val storageAccountDetails: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.RegistryRegionArmDetailsArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.RegistryRegionArmDetailsArgs.builder()
            .acrDetails(
                acrDetails?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .location(location?.applyValue({ args0 -> args0 }))
            .storageAccountDetails(
                storageAccountDetails?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

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

    private var location: Output? = null

    private var storageAccountDetails: Output>? = null

    /**
     * @param value List of ACR accounts
     */
    @JvmName("ybaohffwcmkqdqld")
    public suspend fun acrDetails(`value`: Output>) {
        this.acrDetails = value
    }

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

    /**
     * @param values List of ACR accounts
     */
    @JvmName("jkmmqrjybemvqjpp")
    public suspend fun acrDetails(values: List>) {
        this.acrDetails = Output.all(values)
    }

    /**
     * @param value The location where the registry exists
     */
    @JvmName("wgkphdquwggvnpgy")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value List of storage accounts
     */
    @JvmName("tilgvewilsehgadr")
    public suspend fun storageAccountDetails(`value`: Output>) {
        this.storageAccountDetails = value
    }

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

    /**
     * @param values List of storage accounts
     */
    @JvmName("rlqerpqwphsdyigj")
    public suspend fun storageAccountDetails(values: List>) {
        this.storageAccountDetails = Output.all(values)
    }

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

    /**
     * @param argument List of ACR accounts
     */
    @JvmName("adviusdqibhfygxx")
    public suspend fun acrDetails(argument: List Unit>) {
        val toBeMapped = argument.toList().map { AcrDetailsArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.acrDetails = mapped
    }

    /**
     * @param argument List of ACR accounts
     */
    @JvmName("kacreaowigacoitk")
    public suspend fun acrDetails(vararg argument: suspend AcrDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { AcrDetailsArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.acrDetails = mapped
    }

    /**
     * @param argument List of ACR accounts
     */
    @JvmName("qyocdlteqikithga")
    public suspend fun acrDetails(argument: suspend AcrDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AcrDetailsArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.acrDetails = mapped
    }

    /**
     * @param values List of ACR accounts
     */
    @JvmName("qcwficyptdeksdko")
    public suspend fun acrDetails(vararg values: AcrDetailsArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.acrDetails = mapped
    }

    /**
     * @param value The location where the registry exists
     */
    @JvmName("raropnqbynandunp")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

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

    /**
     * @param argument List of storage accounts
     */
    @JvmName("jnfnagbhspkruryv")
    public suspend fun storageAccountDetails(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            StorageAccountDetailsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.storageAccountDetails = mapped
    }

    /**
     * @param argument List of storage accounts
     */
    @JvmName("tcaykotsoforbovx")
    public suspend fun storageAccountDetails(vararg argument: suspend StorageAccountDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            StorageAccountDetailsArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.storageAccountDetails = mapped
    }

    /**
     * @param argument List of storage accounts
     */
    @JvmName("lgvybgdokixfadjr")
    public suspend fun storageAccountDetails(argument: suspend StorageAccountDetailsArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(StorageAccountDetailsArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.storageAccountDetails = mapped
    }

    /**
     * @param values List of storage accounts
     */
    @JvmName("cyspmjorhfxnbqsk")
    public suspend fun storageAccountDetails(vararg values: StorageAccountDetailsArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.storageAccountDetails = mapped
    }

    internal fun build(): RegistryRegionArmDetailsArgs = RegistryRegionArmDetailsArgs(
        acrDetails = acrDetails,
        location = location,
        storageAccountDetails = storageAccountDetails,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy