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

com.pulumi.azure.containerapp.kotlin.inputs.JobRegistryArgs.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.containerapp.kotlin.inputs

import com.pulumi.azure.containerapp.inputs.JobRegistryArgs.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 identity A Managed Identity to use to authenticate with Azure Container Registry.
 * @property passwordSecretName The name of the Secret that contains the registry login password.
 * @property server The URL of the Azure Container Registry server.
 * @property username The username to use to authenticate with Azure Container Registry.
 */
public data class JobRegistryArgs(
    public val identity: Output? = null,
    public val passwordSecretName: Output? = null,
    public val server: Output,
    public val username: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.containerapp.inputs.JobRegistryArgs =
        com.pulumi.azure.containerapp.inputs.JobRegistryArgs.builder()
            .identity(identity?.applyValue({ args0 -> args0 }))
            .passwordSecretName(passwordSecretName?.applyValue({ args0 -> args0 }))
            .server(server.applyValue({ args0 -> args0 }))
            .username(username?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobRegistryArgs].
 */
@PulumiTagMarker
public class JobRegistryArgsBuilder internal constructor() {
    private var identity: Output? = null

    private var passwordSecretName: Output? = null

    private var server: Output? = null

    private var username: Output? = null

    /**
     * @param value A Managed Identity to use to authenticate with Azure Container Registry.
     */
    @JvmName("taeyjwjlmdubbvmv")
    public suspend fun identity(`value`: Output) {
        this.identity = value
    }

    /**
     * @param value The name of the Secret that contains the registry login password.
     */
    @JvmName("cbokexqqhotdcmxm")
    public suspend fun passwordSecretName(`value`: Output) {
        this.passwordSecretName = value
    }

    /**
     * @param value The URL of the Azure Container Registry server.
     */
    @JvmName("lhnbmbjxudekxxrw")
    public suspend fun server(`value`: Output) {
        this.server = value
    }

    /**
     * @param value The username to use to authenticate with Azure Container Registry.
     */
    @JvmName("pvbgkkfhrxbesshg")
    public suspend fun username(`value`: Output) {
        this.username = value
    }

    /**
     * @param value A Managed Identity to use to authenticate with Azure Container Registry.
     */
    @JvmName("jlsdyamfvnjshaby")
    public suspend fun identity(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identity = mapped
    }

    /**
     * @param value The name of the Secret that contains the registry login password.
     */
    @JvmName("oihjhpfgwxdncpea")
    public suspend fun passwordSecretName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.passwordSecretName = mapped
    }

    /**
     * @param value The URL of the Azure Container Registry server.
     */
    @JvmName("egdungycbaltbmrp")
    public suspend fun server(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.server = mapped
    }

    /**
     * @param value The username to use to authenticate with Azure Container Registry.
     */
    @JvmName("ugmwrrrgbievuhcg")
    public suspend fun username(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.username = mapped
    }

    internal fun build(): JobRegistryArgs = JobRegistryArgs(
        identity = identity,
        passwordSecretName = passwordSecretName,
        server = server ?: throw PulumiNullFieldException("server"),
        username = username,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy