GetServiceTemplateContainer class

Constructors

GetServiceTemplateContainer({required Input<List<String>> args, required Input<String> baseImageUri, required Input<List<GetServiceTemplateContainerBuildInfo>> buildInfos, required Input<List<String>> commands, required Input<List<String>> dependsOns, required Input<List<GetServiceTemplateContainerEnv>> envs, required Input<String> image, required Input<List<GetServiceTemplateContainerLivenessProbe>> livenessProbes, required Input<String> name, required Input<List<GetServiceTemplateContainerPort>> ports, required Input<List<GetServiceTemplateContainerReadinessProbe>> readinessProbes, required Input<List<GetServiceTemplateContainerResource>> resources, required Input<bool> sandboxLauncher, required Input<List<GetServiceTemplateContainerSourceCode>> sourceCodes, required Input<List<GetServiceTemplateContainerStartupProbe>> startupProbes, required Input<List<GetServiceTemplateContainerVolumeMount>> volumeMounts, required Input<String> workingDir})
Creates a new GetServiceTemplateContainer. args Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run. baseImageUri Base image for this container. If set, it indicates that the service is enrolled into automatic base image update. buildInfos The build info of the container image. commands 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 dependsOns Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy. envs List of environment variables to set in the container. image URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images livenessProbes Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes name The name of the Cloud Run v2 Service. ports List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. readinessProbes Periodic probe of container readiness. resources Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources sandboxLauncher Indicates that this container can act as a sandbox supervisor and launch sandboxes. sourceCodes Location of the source. startupProbes 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes 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.
const
GetServiceTemplateContainer.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
baseImageUri → Input<String>
Base image for this container. If set, it indicates that the service is enrolled into automatic base image update.
final
buildInfos → Input<List<GetServiceTemplateContainerBuildInfo>>
The build info of the container image.
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>>
Containers which should be started before this container. If specified the container will wait to start until all containers with the listed names are healthy.
final
envs → Input<List<GetServiceTemplateContainerEnv>>
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<GetServiceTemplateContainerLivenessProbe>>
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
final
name → Input<String>
The name of the Cloud Run v2 Service.
final
ports → Input<List<GetServiceTemplateContainerPort>>
List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
final
readinessProbes → Input<List<GetServiceTemplateContainerReadinessProbe>>
Periodic probe of container readiness.
final
resources → Input<List<GetServiceTemplateContainerResource>>
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
sandboxLauncher → Input<bool>
Indicates that this container can act as a sandbox supervisor and launch sandboxes.
final
sourceCodes → Input<List<GetServiceTemplateContainerSourceCode>>
Location of the source.
final
startupProbes → Input<List<GetServiceTemplateContainerStartupProbe>>
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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
final
volumeMounts → Input<List<GetServiceTemplateContainerVolumeMount>>
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