Google Cloud Run V2Container Args
data class GoogleCloudRunV2ContainerArgs(val args: Output<List<String>>? = null, val command: Output<List<String>>? = null, val dependsOn: Output<List<String>>? = null, val env: Output<List<GoogleCloudRunV2EnvVarArgs>>? = null, val image: Output<String>, val livenessProbe: Output<GoogleCloudRunV2ProbeArgs>? = null, val name: Output<String>? = null, val ports: Output<List<GoogleCloudRunV2ContainerPortArgs>>? = null, val resources: Output<GoogleCloudRunV2ResourceRequirementsArgs>? = null, val startupProbe: Output<GoogleCloudRunV2ProbeArgs>? = null, val volumeMounts: Output<List<GoogleCloudRunV2VolumeMountArgs>>? = null, val workingDir: Output<String>? = null) : ConvertibleToJava<GoogleCloudRunV2ContainerArgs>
A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime.
Constructors
Link copied to clipboard
fun GoogleCloudRunV2ContainerArgs(args: Output<List<String>>? = null, command: Output<List<String>>? = null, dependsOn: Output<List<String>>? = null, env: Output<List<GoogleCloudRunV2EnvVarArgs>>? = null, image: Output<String>, livenessProbe: Output<GoogleCloudRunV2ProbeArgs>? = null, name: Output<String>? = null, ports: Output<List<GoogleCloudRunV2ContainerPortArgs>>? = null, resources: Output<GoogleCloudRunV2ResourceRequirementsArgs>? = null, startupProbe: Output<GoogleCloudRunV2ProbeArgs>? = null, volumeMounts: Output<List<GoogleCloudRunV2VolumeMountArgs>>? = null, workingDir: Output<String>? = null)
Functions
Properties
Link copied to clipboard
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.