Package com.pulumi.gcp.cloudrun.outputs
Class ServiceTemplateSpecContainer
- java.lang.Object
-
- com.pulumi.gcp.cloudrun.outputs.ServiceTemplateSpecContainer
-
public final class ServiceTemplateSpecContainer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceTemplateSpecContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<java.lang.String>
args()
static ServiceTemplateSpecContainer.Builder
builder()
static ServiceTemplateSpecContainer.Builder
builder(ServiceTemplateSpecContainer defaults)
java.util.List<java.lang.String>
commands()
java.util.List<ServiceTemplateSpecContainerEnvFrom>
envFroms()
Deprecated.Not supported by Cloud Run fully managedjava.util.List<ServiceTemplateSpecContainerEnv>
envs()
java.lang.String
image()
java.util.List<ServiceTemplateSpecContainerPort>
ports()
java.util.Optional<ServiceTemplateSpecContainerResources>
resources()
java.util.List<ServiceTemplateSpecContainerVolumeMount>
volumeMounts()
java.util.Optional<java.lang.String>
workingDir()
Deprecated.Not supported by Cloud Run fully managed
-
-
-
Method Detail
-
args
public java.util.List<java.lang.String> args()
- Returns:
- Arguments to the entrypoint. The docker image's CMD 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
-
commands
public java.util.List<java.lang.String> commands()
- Returns:
- 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
-
envFroms
@Deprecated public java.util.List<ServiceTemplateSpecContainerEnvFrom> envFroms()
Deprecated.Not supported by Cloud Run fully managed- Returns:
- - (Optional, Deprecated) 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. Structure is documented below.
-
envs
public java.util.List<ServiceTemplateSpecContainerEnv> envs()
- Returns:
- List of environment variables to set in the container. Structure is documented below.
-
image
public java.lang.String image()
- Returns:
- Docker image name. This is most often a reference to a container located in the container registry, such as gcr.io/cloudrun/hello More info: https://kubernetes.io/docs/concepts/containers/images
-
ports
public java.util.List<ServiceTemplateSpecContainerPort> ports()
- Returns:
- List of open ports in the container. More Info: https://cloud.google.com/run/docs/reference/rest/v1/RevisionSpec#ContainerPort Structure is documented below.
-
resources
public java.util.Optional<ServiceTemplateSpecContainerResources> resources()
- Returns:
- Compute Resources required by this container. Used to set values such as max memory More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#requests-and-limits Structure is documented below.
-
volumeMounts
public java.util.List<ServiceTemplateSpecContainerVolumeMount> volumeMounts()
- Returns:
- Volume to mount into the container's filesystem. Only supports SecretVolumeSources. Structure is documented below.
-
workingDir
@Deprecated public java.util.Optional<java.lang.String> workingDir()
Deprecated.Not supported by Cloud Run fully managed- Returns:
- - (Optional, Deprecated) Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
-
builder
public static ServiceTemplateSpecContainer.Builder builder()
-
builder
public static ServiceTemplateSpecContainer.Builder builder(ServiceTemplateSpecContainer defaults)
-
-