![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.JobTemplateArgs.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.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.JobTemplateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Container Apps Job versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created
* @property containers List of container definitions for the Container App.
* @property initContainers List of specialized containers that run before app containers.
* @property volumes List of volume definitions for the Container App.
*/
public data class JobTemplateArgs(
public val containers: Output>? = null,
public val initContainers: Output>? = null,
public val volumes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.JobTemplateArgs =
com.pulumi.azurenative.app.inputs.JobTemplateArgs.builder()
.containers(
containers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.initContainers(
initContainers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.volumes(
volumes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [JobTemplateArgs].
*/
@PulumiTagMarker
public class JobTemplateArgsBuilder internal constructor() {
private var containers: Output>? = null
private var initContainers: Output>? = null
private var volumes: Output>? = null
/**
* @param value List of container definitions for the Container App.
*/
@JvmName("sryudnqawkxpcfkv")
public suspend fun containers(`value`: Output>) {
this.containers = value
}
@JvmName("pkmjtwcahodbhdps")
public suspend fun containers(vararg values: Output) {
this.containers = Output.all(values.asList())
}
/**
* @param values List of container definitions for the Container App.
*/
@JvmName("otogrbalmkqlddgq")
public suspend fun containers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy