Show / Hide Table of Contents

Class ServiceTemplateSpecContainerArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ServiceTemplateSpecContainerArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.CloudRun.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ServiceTemplateSpecContainerArgs : ResourceArgs

Constructors

View Source

ServiceTemplateSpecContainerArgs()

Declaration
public ServiceTemplateSpecContainerArgs()

Properties

View Source

Args

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.