ContainerGroupContainerArgs

data class ContainerGroupContainerArgs(val args: Output<List<String>>? = null, val commands: Output<List<String>>? = null, val cpu: Output<Double>? = null, val environmentVars: Output<List<ContainerGroupContainerEnvironmentVarArgs>>? = null, val gpu: Output<Int>? = null, val image: Output<String>, val imagePullPolicy: Output<String>? = null, val lifecyclePreStopHandlerExecs: Output<List<String>>? = null, val livenessProbes: Output<List<ContainerGroupContainerLivenessProbeArgs>>? = null, val memory: Output<Double>? = null, val name: Output<String>, val ports: Output<List<ContainerGroupContainerPortArgs>>? = null, val readinessProbes: Output<List<ContainerGroupContainerReadinessProbeArgs>>? = null, val ready: Output<Boolean>? = null, val restartCount: Output<Int>? = null, val securityContexts: Output<List<ContainerGroupContainerSecurityContextArgs>>? = null, val volumeMounts: Output<List<ContainerGroupContainerVolumeMountArgs>>? = null, val workingDir: Output<String>? = null) : ConvertibleToJava<ContainerGroupContainerArgs>

Constructors

Link copied to clipboard
constructor(args: Output<List<String>>? = null, commands: Output<List<String>>? = null, cpu: Output<Double>? = null, environmentVars: Output<List<ContainerGroupContainerEnvironmentVarArgs>>? = null, gpu: Output<Int>? = null, image: Output<String>, imagePullPolicy: Output<String>? = null, lifecyclePreStopHandlerExecs: Output<List<String>>? = null, livenessProbes: Output<List<ContainerGroupContainerLivenessProbeArgs>>? = null, memory: Output<Double>? = null, name: Output<String>, ports: Output<List<ContainerGroupContainerPortArgs>>? = null, readinessProbes: Output<List<ContainerGroupContainerReadinessProbeArgs>>? = null, ready: Output<Boolean>? = null, restartCount: Output<Int>? = null, securityContexts: Output<List<ContainerGroupContainerSecurityContextArgs>>? = null, volumeMounts: Output<List<ContainerGroupContainerVolumeMountArgs>>? = null, workingDir: Output<String>? = null)

Properties

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

The arguments passed to the commands.

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

Commands to be executed inside the container when performing health checks using the command line method.

Link copied to clipboard
val cpu: Output<Double>? = null

The amount of CPU resources allocated to the container. Default value: 0.

Link copied to clipboard

The structure of environmentVars. See environment_vars below.

Link copied to clipboard
val gpu: Output<Int>? = null

The number GPUs. Default value: 0.

Link copied to clipboard
val image: Output<String>

The image of the container.

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

The restart policy of the image. Default value: IfNotPresent. Valid values: Always, IfNotPresent, Never.

Link copied to clipboard

The commands to be executed in containers when you use the CLI to specify the preStop callback function.

Link copied to clipboard

The health check of the container. See liveness_probe below.

Link copied to clipboard
val memory: Output<Double>? = null

The amount of memory resources allocated to the container. Default value: 0.

Link copied to clipboard
val name: Output<String>

The name of the mounted volume.

Link copied to clipboard

The structure of port. See ports below.

Link copied to clipboard

The health check of the container. See readiness_probe below.

Link copied to clipboard
val ready: Output<Boolean>? = null

Indicates whether the container passed the readiness probe.

Link copied to clipboard
val restartCount: Output<Int>? = null

The number of times that the container restarted.

Link copied to clipboard

The security context of the container. See security_context below.

Link copied to clipboard

The structure of volumeMounts. See volume_mounts below.

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

The working directory of the container.

Functions

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