GetServiceTemplateSpecContainer class

Constructors

GetServiceTemplateSpecContainer({required Input<List<String>> args, required Input<List<String>> commands, required Input<List<GetServiceTemplateSpecContainerEnvFrom>> envFroms, required Input<List<GetServiceTemplateSpecContainerEnv>> envs, required Input<String> image, required Input<List<GetServiceTemplateSpecContainerLivenessProbe>> livenessProbes, required Input<String> name, required Input<List<GetServiceTemplateSpecContainerPort>> ports, required Input<List<GetServiceTemplateSpecContainerReadinessProbe>> readinessProbes, required Input<List<GetServiceTemplateSpecContainerResource>> resources, required Input<bool> sandboxLauncher, required Input<List<GetServiceTemplateSpecContainerStartupProbe>> startupProbes, required Input<List<GetServiceTemplateSpecContainerVolumeMount>> volumeMounts, 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.
const
GetServiceTemplateSpecContainer.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.
final
commands → Input<List<String>>
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
final
envFroms → Input<List<GetServiceTemplateSpecContainerEnvFrom>>
List of sources to populate environment variables in the container. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence.
final
envs → Input<List<GetServiceTemplateSpecContainerEnv>>
List of environment variables to set in the container.
final
hashCode → int
The hash code for this object.
no setterinherited
image → Input<String>
Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello
final
livenessProbes → Input<List<GetServiceTemplateSpecContainerLivenessProbe>>
Periodic probe of container liveness. Container will be restarted if the probe fails.
final
name → Input<String>
Name must be unique within a Google Cloud project and region. Is required when creating resources. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
final
ports → Input<List<GetServiceTemplateSpecContainerPort>>
List of open ports in the container.
final
readinessProbes → Input<List<GetServiceTemplateSpecContainerReadinessProbe>>
Periodic probe of container readiness.
final
resources → Input<List<GetServiceTemplateSpecContainerResource>>
Compute Resources required by this container. Used to set values such as max memory
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sandboxLauncher → Input<bool>
Indicates that this container can act as a sandbox supervisor and launch sandboxes.
final
startupProbes → Input<List<GetServiceTemplateSpecContainerStartupProbe>>
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<GetServiceTemplateSpecContainerVolumeMount>>
Volume to mount into the container's filesystem. Only supports SecretVolumeSources.
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