
com.pulumi.azure.appservice.kotlin.inputs.SourceControlSlotGithubActionConfigurationContainerConfigurationArgs.kt Maven / Gradle / Ivy
@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("dgqiuiemcerkpdvn")
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("tleituwojamvipoj")
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("nwppxwdypynfrsbv")
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("jjabaxepftaorjwt")
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("uihfixiijyuohjrf")
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("fknrxpgktoqdtahs")
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("phoemhextuprymfw")
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("ccttkfywmnlmdnuk")
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