GetWorkerPoolTemplateContainer class
Constructors
-
GetWorkerPoolTemplateContainer({required Input<
List< args, required Input<String> >List< commands, required Input<String> >List< dependsOns, required Input<String> >List< envs, required Input<GetWorkerPoolTemplateContainerEnv> >String> image, required Input<List< livenessProbes, required Input<GetWorkerPoolTemplateContainerLivenessProbe> >String> name, required Input<List< resources, required Input<GetWorkerPoolTemplateContainerResource> >List< startupProbes, required Input<GetWorkerPoolTemplateContainerStartupProbe> >List< volumeMounts, required Input<GetWorkerPoolTemplateContainerVolumeMount> >String> workingDir}) -
Creates a new GetWorkerPoolTemplateContainer.
argsArguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.commandsEntrypoint 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-shelldependsOnsNames of the containers that must start before this container.envsList of environment variables to set in the container.imageURL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/imageslivenessProbesPeriodic probe of container liveness. Container will be restarted if the probe fails.nameThe name of the Cloud Run v2 Worker Pool.resourcesCompute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resourcesstartupProbesStartup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.volumeMountsVolume to mount into the container's filesystem.workingDirContainer's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.const -
GetWorkerPoolTemplateContainer.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
args
→ Input<
List< String> > -
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run.
final
-
commands
→ Input<
List< String> > -
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
final
-
dependsOns
→ Input<
List< String> > -
Names of the containers that must start before this container.
final
-
envs
→ Input<
List< GetWorkerPoolTemplateContainerEnv> > -
List of environment variables to set in the container.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
image
→ Input<
String> -
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images
final
-
livenessProbes
→ Input<
List< GetWorkerPoolTemplateContainerLivenessProbe> > -
Periodic probe of container liveness. Container will be restarted if the probe fails.
final
-
name
→ Input<
String> -
The name of the Cloud Run v2 Worker Pool.
final
-
resources
→ Input<
List< GetWorkerPoolTemplateContainerResource> > -
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startupProbes
→ Input<
List< GetWorkerPoolTemplateContainerStartupProbe> > -
Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
final
-
volumeMounts
→ Input<
List< GetWorkerPoolTemplateContainerVolumeMount> > -
Volume to mount into the container's filesystem.
final
-
workingDir
→ Input<
String> -
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited