Class ServiceTemplateSpecContainerArgs
Inherited Members
Namespace: Pulumi.Gcp.CloudRun.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ServiceTemplateSpecContainerArgs : ResourceArgs
Constructors
View SourceServiceTemplateSpecContainerArgs()
Declaration
public ServiceTemplateSpecContainerArgs()
Properties
View SourceArgs
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
Declaration
public InputList<string> Args { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
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
Declaration
public InputList<string> Commands { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
EnvFroms
(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.
Declaration
[Obsolete("Not supported by Cloud Run fully managed")]
public InputList<ServiceTemplateSpecContainerEnvFromArgs> EnvFroms { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ServiceTemplateSpecContainerEnvFromArgs> |
Envs
List of environment variables to set in the container. Structure is documented below.
Declaration
public InputList<ServiceTemplateSpecContainerEnvArgs> Envs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ServiceTemplateSpecContainerEnvArgs> |
Image
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
Declaration
public Input<string> Image { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Resources
Compute Resources required by this container. Used to set values such as max memory More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources Structure is documented below.
Declaration
public Input<ServiceTemplateSpecContainerResourcesArgs> Resources { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ServiceTemplateSpecContainerResourcesArgs> |
WorkingDir
(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.
Declaration
public Input<string> WorkingDir { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |