ServiceTemplateSandboxesTemplate constructor

const ServiceTemplateSandboxesTemplate({
  1. Input<List<String>?>? args,
  2. Input<List<String>?>? commands,
  3. Input<List<ServiceTemplateSandboxesTemplateEnv>?>? envs,
  4. required Input<String> image,
  5. required Input<String> name,
  6. Input<List<ServiceTemplateSandboxesTemplateVolumeMount>?>? volumeMounts,
  7. Input<String?>? workingDir,
})

Creates a new ServiceTemplateSandboxesTemplate. args Arguments to the entrypoint. The docker image's CMD is used if this is not provided. commands Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. envs List of environment variables to set in the sandbox. image Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed. name Name of the sandbox specified as a DNS_LABEL (RFC 1123). 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 ServiceTemplateSandboxesTemplate({
  this.args,
  this.commands,
  this.envs,
  required this.image,
  required this.name,
  this.volumeMounts,
  this.workingDir,
});