GetServiceTemplateSpecContainer constructor

const GetServiceTemplateSpecContainer({
  1. required Input<List<String>> args,
  2. required Input<List<String>> commands,
  3. required Input<List<GetServiceTemplateSpecContainerEnvFrom>> envFroms,
  4. required Input<List<GetServiceTemplateSpecContainerEnv>> envs,
  5. required Input<String> image,
  6. required Input<List<GetServiceTemplateSpecContainerLivenessProbe>> livenessProbes,
  7. required Input<String> name,
  8. required Input<List<GetServiceTemplateSpecContainerPort>> ports,
  9. required Input<List<GetServiceTemplateSpecContainerReadinessProbe>> readinessProbes,
  10. required Input<List<GetServiceTemplateSpecContainerResource>> resources,
  11. required Input<bool> sandboxLauncher,
  12. required Input<List<GetServiceTemplateSpecContainerStartupProbe>> startupProbes,
  13. required Input<List<GetServiceTemplateSpecContainerVolumeMount>> volumeMounts,
  14. required Input<String> workingDir,
})

Creates a new GetServiceTemplateSpecContainer. args Arguments to the entrypoint. commands Entrypoint array. Not executed within a shell. envFroms List of sources to populate environment variables in the container. envs List of environment variables to set in the container. image Docker image name. This is most often a reference to a container located livenessProbes Periodic probe of container liveness. Container will be restarted if the probe fails. name Name must be unique within a Google Cloud project and region. ports List of open ports in the container. readinessProbes Periodic probe of container readiness. resources Compute Resources required by this container. Used to set values such as max memory sandboxLauncher Indicates that this container can act as a sandbox supervisor and launch sandboxes. startupProbes Startup probe of application within the container. volumeMounts Volume to mount into the container's filesystem. workingDir Container's working directory.

Implementation

const GetServiceTemplateSpecContainer({
  required this.args,
  required this.commands,
  required this.envFroms,
  required this.envs,
  required this.image,
  required this.livenessProbes,
  required this.name,
  required this.ports,
  required this.readinessProbes,
  required this.resources,
  required this.sandboxLauncher,
  required this.startupProbes,
  required this.volumeMounts,
  required this.workingDir,
});