![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appservice.kotlin.inputs.SourceControlGithubActionConfigurationContainerConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.SourceControlGithubActionConfigurationContainerConfigurationArgs.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 SourceControlGithubActionConfigurationContainerConfigurationArgs(
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.SourceControlGithubActionConfigurationContainerConfigurationArgs =
com.pulumi.azure.appservice.inputs.SourceControlGithubActionConfigurationContainerConfigurationArgs.builder()
.imageName(imageName.applyValue({ args0 -> args0 }))
.registryPassword(registryPassword?.applyValue({ args0 -> args0 }))
.registryUrl(registryUrl.applyValue({ args0 -> args0 }))
.registryUsername(registryUsername?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SourceControlGithubActionConfigurationContainerConfigurationArgs].
*/
@PulumiTagMarker
public class SourceControlGithubActionConfigurationContainerConfigurationArgsBuilder 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("rxdrjtgluvqbrmqo")
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("aiproldwcaefvwvb")
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("gueetismqvvkyqjl")
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("dbspcecxkgiwyaor")
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("dgchsixtorxhfssm")
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("nwtxukrfytdonlph")
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("uvvlyduegkjsiaxv")
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("etucbejumyqlxcdj")
public suspend fun registryUsername(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.registryUsername = mapped
}
internal fun build(): SourceControlGithubActionConfigurationContainerConfigurationArgs =
SourceControlGithubActionConfigurationContainerConfigurationArgs(
imageName = imageName ?: throw PulumiNullFieldException("imageName"),
registryPassword = registryPassword,
registryUrl = registryUrl ?: throw PulumiNullFieldException("registryUrl"),
registryUsername = registryUsername,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy