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

com.pulumi.azure.batch.kotlin.inputs.PoolContainerConfigurationContainerRegistryArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.batch.kotlin.inputs

import com.pulumi.azure.batch.inputs.PoolContainerConfigurationContainerRegistryArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property password The password to log into the registry server. Changing this forces a new resource to be created.
 * @property registryServer The container registry URL. Changing this forces a new resource to be created.
 * @property userAssignedIdentityId The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
 * @property userName The user name to log into the registry server. Changing this forces a new resource to be created.
 */
public data class PoolContainerConfigurationContainerRegistryArgs(
    public val password: Output? = null,
    public val registryServer: Output,
    public val userAssignedIdentityId: Output? = null,
    public val userName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.batch.inputs.PoolContainerConfigurationContainerRegistryArgs =
        com.pulumi.azure.batch.inputs.PoolContainerConfigurationContainerRegistryArgs.builder()
            .password(password?.applyValue({ args0 -> args0 }))
            .registryServer(registryServer.applyValue({ args0 -> args0 }))
            .userAssignedIdentityId(userAssignedIdentityId?.applyValue({ args0 -> args0 }))
            .userName(userName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PoolContainerConfigurationContainerRegistryArgs].
 */
@PulumiTagMarker
public class PoolContainerConfigurationContainerRegistryArgsBuilder internal constructor() {
    private var password: Output? = null

    private var registryServer: Output? = null

    private var userAssignedIdentityId: Output? = null

    private var userName: Output? = null

    /**
     * @param value The password to log into the registry server. Changing this forces a new resource to be created.
     */
    @JvmName("tgllwfstovciwnbm")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value The container registry URL. Changing this forces a new resource to be created.
     */
    @JvmName("sefmobxnxocvgilx")
    public suspend fun registryServer(`value`: Output) {
        this.registryServer = value
    }

    /**
     * @param value The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
     */
    @JvmName("rnruoqvtiucpwrio")
    public suspend fun userAssignedIdentityId(`value`: Output) {
        this.userAssignedIdentityId = value
    }

    /**
     * @param value The user name to log into the registry server. Changing this forces a new resource to be created.
     */
    @JvmName("qfweckforkcojwij")
    public suspend fun userName(`value`: Output) {
        this.userName = value
    }

    /**
     * @param value The password to log into the registry server. Changing this forces a new resource to be created.
     */
    @JvmName("yxpphfndygrcmgav")
    public suspend fun password(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value The container registry URL. Changing this forces a new resource to be created.
     */
    @JvmName("vgrqthnxkyvdfuek")
    public suspend fun registryServer(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.registryServer = mapped
    }

    /**
     * @param value The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password. Changing this forces a new resource to be created.
     */
    @JvmName("ldlpngxjwsgqecld")
    public suspend fun userAssignedIdentityId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userAssignedIdentityId = mapped
    }

    /**
     * @param value The user name to log into the registry server. Changing this forces a new resource to be created.
     */
    @JvmName("jketqtsacnvpolhu")
    public suspend fun userName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userName = mapped
    }

    internal fun build(): PoolContainerConfigurationContainerRegistryArgs =
        PoolContainerConfigurationContainerRegistryArgs(
            password = password,
            registryServer = registryServer ?: throw PulumiNullFieldException("registryServer"),
            userAssignedIdentityId = userAssignedIdentityId,
            userName = userName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy