ContainerArgs

data class ContainerArgs(val command: Output<List<String>>? = null, val environmentVariables: Output<List<EnvironmentVariableArgs>>? = null, val image: Output<String>, val livenessProbe: Output<ContainerProbeArgs>? = null, val name: Output<String>, val ports: Output<List<ContainerPortArgs>>? = null, val readinessProbe: Output<ContainerProbeArgs>? = null, val resources: Output<ResourceRequirementsArgs>, val volumeMounts: Output<List<VolumeMountArgs>>? = null) : ConvertibleToJava<ContainerArgs>

A container instance.

Constructors

Link copied to clipboard
constructor(command: Output<List<String>>? = null, environmentVariables: Output<List<EnvironmentVariableArgs>>? = null, image: Output<String>, livenessProbe: Output<ContainerProbeArgs>? = null, name: Output<String>, ports: Output<List<ContainerPortArgs>>? = null, readinessProbe: Output<ContainerProbeArgs>? = null, resources: Output<ResourceRequirementsArgs>, volumeMounts: Output<List<VolumeMountArgs>>? = null)

Properties

Link copied to clipboard
val command: Output<List<String>>? = null

The commands to execute within the container instance in exec form.

Link copied to clipboard

The environment variables to set in the container instance.

Link copied to clipboard
val image: Output<String>

The name of the image used to create the container instance.

Link copied to clipboard
val livenessProbe: Output<ContainerProbeArgs>? = null

The liveness probe.

Link copied to clipboard
val name: Output<String>

The user-provided name of the container instance.

Link copied to clipboard
val ports: Output<List<ContainerPortArgs>>? = null

The exposed ports on the container instance.

Link copied to clipboard
val readinessProbe: Output<ContainerProbeArgs>? = null

The readiness probe.

Link copied to clipboard

The resource requirements of the container instance.

Link copied to clipboard
val volumeMounts: Output<List<VolumeMountArgs>>? = null

The volume mounts available to the container instance.

Functions

Link copied to clipboard
open override fun toJava(): ContainerArgs