Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.gcp.cloudrunv2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudrunv2.inputs.JobTemplateTemplateContainerArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
*
* @property args Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
* @property commands Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
* @property envs List of environment variables to set in the container.
* Structure is documented below.
* @property image URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
* @property name Name of the container specified as a DNS_LABEL.
* @property ports List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
* If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on
* Structure is documented below.
* @property resources Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
* Structure is documented below.
* @property volumeMounts Volume to mount into the container's filesystem.
* Structure is documented below.
* @property workingDir Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
*/
public data class JobTemplateTemplateContainerArgs(
public val args: Output>? = null,
public val commands: Output>? = null,
public val envs: Output>? = null,
public val image: Output,
public val name: Output? = null,
public val ports: Output>? = null,
public val resources: Output? = null,
public val volumeMounts: Output>? = null,
public val workingDir: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudrunv2.inputs.JobTemplateTemplateContainerArgs =
com.pulumi.gcp.cloudrunv2.inputs.JobTemplateTemplateContainerArgs.builder()
.args(args?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.commands(commands?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.envs(envs?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.image(image.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.ports(ports?.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()
})
})
}),
)
.workingDir(workingDir?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobTemplateTemplateContainerArgs].
*/
@PulumiTagMarker
public class JobTemplateTemplateContainerArgsBuilder internal constructor() {
private var args: Output>? = null
private var commands: Output>? = null
private var envs: Output>? = null
private var image: Output? = null
private var name: Output? = null
private var ports: Output>? = null
private var resources: Output? = null
private var volumeMounts: Output>? = null
private var workingDir: Output? = null
/**
* @param value Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
*/
@JvmName("nbrfkpfbrybncena")
public suspend fun args(`value`: Output>) {
this.args = value
}
@JvmName("kwcdwqocwdietoid")
public suspend fun args(vararg values: Output) {
this.args = Output.all(values.asList())
}
/**
* @param values Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
*/
@JvmName("sokljwvvpaxqntmo")
public suspend fun args(values: List