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

com.pulumi.azure.appservice.kotlin.inputs.SourceControlSlotGithubActionConfigurationContainerConfigurationArgs.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.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.SourceControlSlotGithubActionConfigurationContainerConfigurationArgs.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 imageName The image name for the build. Changing this forces a new resource to be created.
 * @property registryPassword The password used to upload the image to the container registry. Changing this forces a new resource to be created.
 * @property registryUrl The server URL for the container registry where the build will be hosted. Changing this forces a new resource to be created.
 * @property registryUsername The username used to upload the image to the container registry. Changing this forces a new resource to be created.
 */
public data class SourceControlSlotGithubActionConfigurationContainerConfigurationArgs(
    public val imageName: Output,
    public val registryPassword: Output? = null,
    public val registryUrl: Output,
    public val registryUsername: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appservice.inputs.SourceControlSlotGithubActionConfigurationContainerConfigurationArgs =
        com.pulumi.azure.appservice.inputs.SourceControlSlotGithubActionConfigurationContainerConfigurationArgs.builder()
            .imageName(imageName.applyValue({ args0 -> args0 }))
            .registryPassword(registryPassword?.applyValue({ args0 -> args0 }))
            .registryUrl(registryUrl.applyValue({ args0 -> args0 }))
            .registryUsername(registryUsername?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SourceControlSlotGithubActionConfigurationContainerConfigurationArgs].
 */
@PulumiTagMarker
public class SourceControlSlotGithubActionConfigurationContainerConfigurationArgsBuilder internal constructor() {
    private var imageName: Output? = null

    private var registryPassword: Output? = null

    private var registryUrl: Output? = null

    private var registryUsername: Output? = null

    /**
     * @param value The image name for the build. Changing this forces a new resource to be created.
     */
    @JvmName("scyrgealxvvjpvpo")
    public suspend fun imageName(`value`: Output) {
        this.imageName = value
    }

    /**
     * @param value The password used to upload the image to the container registry. Changing this forces a new resource to be created.
     */
    @JvmName("amgprvwibrluyymc")
    public suspend fun registryPassword(`value`: Output) {
        this.registryPassword = value
    }

    /**
     * @param value The server URL for the container registry where the build will be hosted. Changing this forces a new resource to be created.
     */
    @JvmName("vksxoclfovvbgbvq")
    public suspend fun registryUrl(`value`: Output) {
        this.registryUrl = value
    }

    /**
     * @param value The username used to upload the image to the container registry. Changing this forces a new resource to be created.
     */
    @JvmName("nntqvjmucfkuwtln")
    public suspend fun registryUsername(`value`: Output) {
        this.registryUsername = value
    }

    /**
     * @param value The image name for the build. Changing this forces a new resource to be created.
     */
    @JvmName("qudwgknybgxqpbvf")
    public suspend fun imageName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.imageName = mapped
    }

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

    /**
     * @param value The server URL for the container registry where the build will be hosted. Changing this forces a new resource to be created.
     */
    @JvmName("cxugfsqbdsphidbs")
    public suspend fun registryUrl(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.registryUrl = mapped
    }

    /**
     * @param value The username used to upload the image to the container registry. Changing this forces a new resource to be created.
     */
    @JvmName("mhemlfbftnffvobp")
    public suspend fun registryUsername(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.registryUsername = mapped
    }

    internal fun build(): SourceControlSlotGithubActionConfigurationContainerConfigurationArgs =
        SourceControlSlotGithubActionConfigurationContainerConfigurationArgs(
            imageName = imageName ?: throw PulumiNullFieldException("imageName"),
            registryPassword = registryPassword,
            registryUrl = registryUrl ?: throw PulumiNullFieldException("registryUrl"),
            registryUsername = registryUsername,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy