![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.ContainerArgs.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.ContainerArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Container App container definition
* @property args Container start command arguments.
* @property command Container start command.
* @property env Container environment variables.
* @property image Container image tag.
* @property name Custom container name.
* @property probes List of probes for the container.
* @property resources Container resource requirements.
* @property volumeMounts Container volume mounts.
*/
public data class ContainerArgs(
public val args: Output>? = null,
public val command: Output>? = null,
public val env: Output>? = null,
public val image: Output? = null,
public val name: Output? = null,
public val probes: Output>? = null,
public val resources: Output? = null,
public val volumeMounts: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.ContainerArgs =
com.pulumi.azurenative.app.inputs.ContainerArgs.builder()
.args(args?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.command(command?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.env(env?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.image(image?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.probes(probes?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.resources(resources?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.volumeMounts(
volumeMounts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ContainerArgs].
*/
@PulumiTagMarker
public class ContainerArgsBuilder internal constructor() {
private var args: Output>? = null
private var command: Output>? = null
private var env: Output>? = null
private var image: Output? = null
private var name: Output? = null
private var probes: Output>? = null
private var resources: Output? = null
private var volumeMounts: Output>? = null
/**
* @param value Container start command arguments.
*/
@JvmName("kwaeqkhsiuipbwxh")
public suspend fun args(`value`: Output>) {
this.args = value
}
@JvmName("ysjuwfisifpeleqr")
public suspend fun args(vararg values: Output) {
this.args = Output.all(values.asList())
}
/**
* @param values Container start command arguments.
*/
@JvmName("sgabpleiaboffotj")
public suspend fun args(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy