GetServiceTemplateSpecContainer constructor
- required Input<
List< args,String> > - required Input<
List< commands,String> > - required Input<
List< envFroms,GetServiceTemplateSpecContainerEnvFrom> > - required Input<
List< envs,GetServiceTemplateSpecContainerEnv> > - required Input<
String> image, - required Input<
List< livenessProbes,GetServiceTemplateSpecContainerLivenessProbe> > - required Input<
String> name, - required Input<
List< ports,GetServiceTemplateSpecContainerPort> > - required Input<
List< readinessProbes,GetServiceTemplateSpecContainerReadinessProbe> > - required Input<
List< resources,GetServiceTemplateSpecContainerResource> > - required Input<
bool> sandboxLauncher, - required Input<
List< startupProbes,GetServiceTemplateSpecContainerStartupProbe> > - required Input<
List< volumeMounts,GetServiceTemplateSpecContainerVolumeMount> > - 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,
});