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

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

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

import com.pulumi.azure.batch.inputs.PoolStartTaskContainerRegistryArgs.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
 * @property registryServer
 * @property userAssignedIdentityId The User Assigned Identity to use for Container Registry access.
 * @property userName
 */
public data class PoolStartTaskContainerRegistryArgs(
    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.PoolStartTaskContainerRegistryArgs =
        com.pulumi.azure.batch.inputs.PoolStartTaskContainerRegistryArgs.builder()
            .password(password?.applyValue({ args0 -> args0 }))
            .registryServer(registryServer.applyValue({ args0 -> args0 }))
            .userAssignedIdentityId(userAssignedIdentityId?.applyValue({ args0 -> args0 }))
            .userName(userName?.applyValue({ args0 -> args0 })).build()
}

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

    private var registryServer: Output? = null

    private var userAssignedIdentityId: Output? = null

    private var userName: Output? = null

    /**
     * @param value
     */
    @JvmName("buclkcxhpeawnmye")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value
     */
    @JvmName("mcokmwglessmqabu")
    public suspend fun registryServer(`value`: Output) {
        this.registryServer = value
    }

    /**
     * @param value The User Assigned Identity to use for Container Registry access.
     */
    @JvmName("cbjqylbhqmdyivmg")
    public suspend fun userAssignedIdentityId(`value`: Output) {
        this.userAssignedIdentityId = value
    }

    /**
     * @param value
     */
    @JvmName("lbkeigrrtupihbfb")
    public suspend fun userName(`value`: Output) {
        this.userName = value
    }

    /**
     * @param value
     */
    @JvmName("vomyxstfnnlsijnx")
    public suspend fun password(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value
     */
    @JvmName("aotyxqonlpejqfmt")
    public suspend fun registryServer(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.registryServer = mapped
    }

    /**
     * @param value The User Assigned Identity to use for Container Registry access.
     */
    @JvmName("atycpxyukytdffrd")
    public suspend fun userAssignedIdentityId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userAssignedIdentityId = mapped
    }

    /**
     * @param value
     */
    @JvmName("fxcgfggaxcqaxvwf")
    public suspend fun userName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userName = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy