Container Group Container Args
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
The structure of environmentVars. See environment_vars
below.
Link copied to clipboard
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
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
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
The working directory of the container.