Interface CloudRunV2ServiceTemplateContainers
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudRunV2ServiceTemplateContainers.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:17.992Z") @Stability(Stable) public interface CloudRunV2ServiceTemplateContainers extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudRunV2ServiceTemplateContainers.BuilderA builder forCloudRunV2ServiceTemplateContainersstatic classCloudRunV2ServiceTemplateContainers.Jsii$ProxyAn implementation forCloudRunV2ServiceTemplateContainers
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CloudRunV2ServiceTemplateContainers.Builderbuilder()default List<String>getArgs()Arguments to the entrypoint.default List<String>getCommand()Entrypoint array.default List<String>getDependsOn()Containers which should be started before this container.default ObjectgetEnv()env block.StringgetImage()URL of the Container image in Google Container Registry or Google Artifact Registry.default CloudRunV2ServiceTemplateContainersLivenessProbegetLivenessProbe()liveness_probe block.default StringgetName()Name of the container specified as a DNS_LABEL.default CloudRunV2ServiceTemplateContainersPortsgetPorts()ports block.default CloudRunV2ServiceTemplateContainersResourcesgetResources()resources block.default CloudRunV2ServiceTemplateContainersStartupProbegetStartupProbe()startup_probe block.default ObjectgetVolumeMounts()volume_mounts block.default StringgetWorkingDir()Container's working directory.
-
-
-
Method Detail
-
getImage
@Stability(Stable) @NotNull String getImage()
URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#image CloudRunV2Service#image}
-
getArgs
@Stability(Stable) @Nullable default List<String> getArgs()
Arguments to the entrypoint.The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#args CloudRunV2Service#args}
-
getCommand
@Stability(Stable) @Nullable default List<String> getCommand()
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 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#command CloudRunV2Service#command}
-
getDependsOn
@Stability(Stable) @Nullable default List<String> getDependsOn()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#depends_on CloudRunV2Service#depends_on}
-
getEnv
@Stability(Stable) @Nullable default Object getEnv()
env block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#env CloudRunV2Service#env}
-
getLivenessProbe
@Stability(Stable) @Nullable default CloudRunV2ServiceTemplateContainersLivenessProbe getLivenessProbe()
liveness_probe block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#liveness_probe CloudRunV2Service#liveness_probe}
-
getName
@Stability(Stable) @Nullable default String getName()
Name of the container specified as a DNS_LABEL.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#name CloudRunV2Service#name}
-
getPorts
@Stability(Stable) @Nullable default CloudRunV2ServiceTemplateContainersPorts getPorts()
ports block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#ports CloudRunV2Service#ports}
-
getResources
@Stability(Stable) @Nullable default CloudRunV2ServiceTemplateContainersResources getResources()
resources block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#resources CloudRunV2Service#resources}
-
getStartupProbe
@Stability(Stable) @Nullable default CloudRunV2ServiceTemplateContainersStartupProbe getStartupProbe()
startup_probe block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#startup_probe CloudRunV2Service#startup_probe}
-
getVolumeMounts
@Stability(Stable) @Nullable default Object getVolumeMounts()
volume_mounts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#volume_mounts CloudRunV2Service#volume_mounts}
-
getWorkingDir
@Stability(Stable) @Nullable default String getWorkingDir()
Container's working directory.If not specified, the container runtime's default will be used, which might be configured in the container image. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#working_dir CloudRunV2Service#working_dir}
-
builder
@Stability(Stable) static CloudRunV2ServiceTemplateContainers.Builder builder()
-
-