ContainerGroupInitContainerArgs

data class ContainerGroupInitContainerArgs(val args: Output<List<String>>? = null, val commands: Output<List<String>>? = null, val cpu: Output<Double>? = null, val environmentVars: Output<List<ContainerGroupInitContainerEnvironmentVarArgs>>? = null, val gpu: Output<Int>? = null, val image: Output<String>? = null, val imagePullPolicy: Output<String>? = null, val memory: Output<Double>? = null, val name: Output<String>? = null, val ports: Output<List<ContainerGroupInitContainerPortArgs>>? = null, val ready: Output<Boolean>? = null, val restartCount: Output<Int>? = null, val securityContexts: Output<List<ContainerGroupInitContainerSecurityContextArgs>>? = null, val volumeMounts: Output<List<ContainerGroupInitContainerVolumeMountArgs>>? = null, val workingDir: Output<String>? = null) : ConvertibleToJava<ContainerGroupInitContainerArgs>

Constructors

Link copied to clipboard
constructor(args: Output<List<String>>? = null, commands: Output<List<String>>? = null, cpu: Output<Double>? = null, environmentVars: Output<List<ContainerGroupInitContainerEnvironmentVarArgs>>? = null, gpu: Output<Int>? = null, image: Output<String>? = null, imagePullPolicy: Output<String>? = null, memory: Output<Double>? = null, name: Output<String>? = null, ports: Output<List<ContainerGroupInitContainerPortArgs>>? = null, ready: Output<Boolean>? = null, restartCount: Output<Int>? = null, securityContexts: Output<List<ContainerGroupInitContainerSecurityContextArgs>>? = null, volumeMounts: Output<List<ContainerGroupInitContainerVolumeMountArgs>>? = 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

The commands run by the init container.

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>? = null

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
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>? = null

The name of the mounted volume.

Link copied to clipboard

The structure of port. See ports 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(): ContainerGroupInitContainerArgs