com.pulumi.azure.containerapp.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-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.containerapp.kotlin.inputs
import com.pulumi.azure.containerapp.inputs.JobTemplateArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property containers A `container` block as defined below.
* @property initContainers A `init_container` block as defined below.
* @property volumes A `volume` block as defined below.
*/
public data class JobTemplateArgs(
public val containers: Output>,
public val initContainers: Output>? = null,
public val volumes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerapp.inputs.JobTemplateArgs =
com.pulumi.azure.containerapp.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 A `container` block as defined below.
*/
@JvmName("khpkgjwydaeggnjq")
public suspend fun containers(`value`: Output>) {
this.containers = value
}
@JvmName("ynqaoodbpjgaldbf")
public suspend fun containers(vararg values: Output) {
this.containers = Output.all(values.asList())
}
/**
* @param values A `container` block as defined below.
*/
@JvmName("gucldwhtjwujadns")
public suspend fun containers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy