GetJobTemplateTemplateContainer constructor

const GetJobTemplateTemplateContainer({
  1. required Input<List<String>> args,
  2. required Input<List<String>> commands,
  3. required Input<List<String>> dependsOns,
  4. required Input<List<GetJobTemplateTemplateContainerEnv>> envs,
  5. required Input<String> image,
  6. required Input<String> name,
  7. required Input<List<GetJobTemplateTemplateContainerPort>> ports,
  8. required Input<List<GetJobTemplateTemplateContainerResource>> resources,
  9. required Input<List<GetJobTemplateTemplateContainerStartupProbe>> startupProbes,
  10. required Input<List<GetJobTemplateTemplateContainerVolumeMount>> volumeMounts,
  11. required Input<String> workingDir,
})

Creates a new GetJobTemplateTemplateContainer. args Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run. commands Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell dependsOns Names of the containers that must start before this container. envs List of environment variables to set in the container. image URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images name The name of the Cloud Run v2 Job. ports 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. resources Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources startupProbes Startup probe of application within the container. volumeMounts Volume to mount into the container's filesystem. workingDir Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

Implementation

const GetJobTemplateTemplateContainer({
  required this.args,
  required this.commands,
  required this.dependsOns,
  required this.envs,
  required this.image,
  required this.name,
  required this.ports,
  required this.resources,
  required this.startupProbes,
  required this.volumeMounts,
  required this.workingDir,
});