![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.iotoperationsmq.kotlin.inputs.ContainerImageArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.iotoperationsmq.kotlin.inputs
import com.pulumi.azurenative.iotoperationsmq.inputs.ContainerImageArgs.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
/**
* Defines the Docker image details
* @property pullPolicy Image pull policy.
* @property pullSecrets Image pull secrets.
* @property repository The Docker image name.
* @property tag The Docker image tag.
*/
public data class ContainerImageArgs(
public val pullPolicy: Output? = null,
public val pullSecrets: Output? = null,
public val repository: Output,
public val tag: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.iotoperationsmq.inputs.ContainerImageArgs =
com.pulumi.azurenative.iotoperationsmq.inputs.ContainerImageArgs.builder()
.pullPolicy(pullPolicy?.applyValue({ args0 -> args0 }))
.pullSecrets(pullSecrets?.applyValue({ args0 -> args0 }))
.repository(repository.applyValue({ args0 -> args0 }))
.tag(tag.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ContainerImageArgs].
*/
@PulumiTagMarker
public class ContainerImageArgsBuilder internal constructor() {
private var pullPolicy: Output? = null
private var pullSecrets: Output? = null
private var repository: Output? = null
private var tag: Output? = null
/**
* @param value Image pull policy.
*/
@JvmName("bimhmowybxggkpym")
public suspend fun pullPolicy(`value`: Output) {
this.pullPolicy = value
}
/**
* @param value Image pull secrets.
*/
@JvmName("uykeqrvfrdemuwtg")
public suspend fun pullSecrets(`value`: Output) {
this.pullSecrets = value
}
/**
* @param value The Docker image name.
*/
@JvmName("cusfwfwfntvgghrk")
public suspend fun repository(`value`: Output) {
this.repository = value
}
/**
* @param value The Docker image tag.
*/
@JvmName("dwvipcohtanmnsce")
public suspend fun tag(`value`: Output) {
this.tag = value
}
/**
* @param value Image pull policy.
*/
@JvmName("tywjqkwjgcpbtcpf")
public suspend fun pullPolicy(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pullPolicy = mapped
}
/**
* @param value Image pull secrets.
*/
@JvmName("swmisatdfupjvoka")
public suspend fun pullSecrets(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pullSecrets = mapped
}
/**
* @param value The Docker image name.
*/
@JvmName("msmimhwwfjwptaey")
public suspend fun repository(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.repository = mapped
}
/**
* @param value The Docker image tag.
*/
@JvmName("anqywdpuvepcnuge")
public suspend fun tag(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tag = mapped
}
internal fun build(): ContainerImageArgs = ContainerImageArgs(
pullPolicy = pullPolicy,
pullSecrets = pullSecrets,
repository = repository ?: throw PulumiNullFieldException("repository"),
tag = tag ?: throw PulumiNullFieldException("tag"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy