
com.pulumi.azure.containerapp.kotlin.outputs.GetAppTemplateInitContainer.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerapp.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property args A list of extra arguments to pass to the container.
* @property commands A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
* @property cpu The amount of vCPU to allocate to the container. Possible values include `0.25`, `0.5`, `0.75`, `1.0`, `1.25`, `1.5`, `1.75`, and `2.0`.
* @property envs One or more `env` blocks as detailed below.
* @property ephemeralStorage The amount of ephemeral storage available to the Container App.
* @property image The image to use to create the container.
* @property memory The amount of memory to allocate to the container. Possible values include `0.5Gi`, `1Gi`, `1.5Gi`, `2Gi`, `2.5Gi`, `3Gi`, `3.5Gi`, and `4Gi`.
* @property name The name of the Container App.
* @property volumeMounts A `volume_mounts` block as detailed below.
*/
public data class GetAppTemplateInitContainer(
public val args: List,
public val commands: List,
public val cpu: Double,
public val envs: List,
public val ephemeralStorage: String,
public val image: String,
public val memory: String,
public val name: String,
public val volumeMounts: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.GetAppTemplateInitContainer): GetAppTemplateInitContainer = GetAppTemplateInitContainer(
args = javaType.args().map({ args0 -> args0 }),
commands = javaType.commands().map({ args0 -> args0 }),
cpu = javaType.cpu(),
envs = javaType.envs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerapp.kotlin.outputs.GetAppTemplateInitContainerEnv.Companion.toKotlin(args0)
})
}),
ephemeralStorage = javaType.ephemeralStorage(),
image = javaType.image(),
memory = javaType.memory(),
name = javaType.name(),
volumeMounts = javaType.volumeMounts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.containerapp.kotlin.outputs.GetAppTemplateInitContainerVolumeMount.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy