Skip to main content

ComputeContainerApp

Resource ComputeContainerApp in pulumi-bunnynet.
17 min read

Resource ComputeContainerApp in pulumi-bunnynet.

Pulumi type: bunnynet:index/computeContainerApp:ComputeContainerApp.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
autoscalingMaxnumbernoThe maximum number of instances that will be provisioned per active region.
autoscalingMinnumbernoThe minimum number of instances that will be provisioned per active region.
containersComputeContainerAppContainer (input)[]noDefines a container for the application.
namestringnoThe name of the application.
regionsAllowedsstring[]yesThe regions that will be dynamically provisionable based on the user latency.
regionsMaxAllowednumbernoThe maximum amount of regions to be deployed at any given time.
regionsRequiredsstring[]yesThe regions that will be statically provisioned and will always be running and available to users.
versionnumberno
volumesComputeContainerAppVolume (input)[]noDefines a persistent volume to be used by the application.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
autoscalingMaxnumbernoThe maximum number of instances that will be provisioned per active region.
autoscalingMinnumbernoThe minimum number of instances that will be provisioned per active region.
containersComputeContainerAppContainer (output)[]noDefines a container for the application.
namestringnoThe name of the application.
regionsAllowedsstring[]noThe regions that will be dynamically provisionable based on the user latency.
regionsMaxAllowednumbernoThe maximum amount of regions to be deployed at any given time.
regionsRequiredsstring[]noThe regions that will be statically provisioned and will always be running and available to users.
versionnumberno
volumesComputeContainerAppVolume (output)[]noDefines a persistent volume to be used by the application.

ComputeContainerAppContainer (input)#

Input object ComputeContainerAppContainer. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
argumentsstringnoThe arguments that will be added to the container entry point when starting the image.
commandstringnoA custom startup command that will execute once the container is launched.
endpointsComputeContainerAppContainerEndpoint (input)[]noDefines a public endpoint for the application.
envsComputeContainerAppContainerEnv (input)[]noDefines an environment variable for the container
idstringnoThe unique identifier for the container.
imageDigeststringnoThe image digest.
imageNamestringyesThe image name within the registry, without the domain prefix (i.e.: my-app).
imageNamespacestringyesThe image namespace within the registry, without the domain prefix (i.e.: my-org).
imagePullPolicystringnoOptions: Always, IfNotPresent
imageRegistrynumberyesThe image registry for the container.
imageTagstringyesThe image tag (i.e.: 2.9-alpine).
livenessProbesComputeContainerAppContainerLivenessProbe (input)[]noChecks that the application is actively running without issues. It the check fails, the container will be automatically restarted
namestringyesThe name of the container.
readinessProbesComputeContainerAppContainerReadinessProbe (input)[]noChecks if the application is fully prepared to handle incoming requests. No requests will be routed to the application until this check is successful.
startupProbesComputeContainerAppContainerStartupProbe (input)[]noChecks if the application has successfully started. No requests will be routed to the application until this check is successful.
volumemountsComputeContainerAppContainerVolumemount (input)[]noMounts a volume within a container
workingDirstringnoThe working directory of the container runtime.

ComputeContainerAppContainerEndpoint (input)#

Input object ComputeContainerAppContainerEndpoint. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
cdnsComputeContainerAppContainerEndpointCdn (input)[]noConfigurations for CDN endpoint.
idstringnoThe ID of the endpoint.
namestringyesThe name of the endpoint.
portsComputeContainerAppContainerEndpointPort (input)[]noEndpoint port configuration.
typestringyesOptions: Anycast, CDN, InternalIP

ComputeContainerAppContainerEndpointCdn (input)#

Input object ComputeContainerAppContainerEndpointCdn. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
originSslbooleannoIndicates whether the container will handle TLS termination.
pullzoneIdnumbernoThe ID of the pullzone associated with the endpoint.
stickySessionsComputeContainerAppContainerEndpointCdnStickySession (input)[]noIndicates whether sticky sessions is enabled.

ComputeContainerAppContainerEndpointCdnStickySession (input)#

Input object ComputeContainerAppContainerEndpointCdnStickySession. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
headersstring[]yesIncoming request headers used to select a pod for sticky sessions.

ComputeContainerAppContainerEndpointPort (input)#

Input object ComputeContainerAppContainerEndpointPort. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
containernumberyesThe container port number.
exposednumbernoThe exposed port number.
protocolsstring[]noOptions: SCTP, TCP, UDP

ComputeContainerAppContainerEnv (input)#

Input object ComputeContainerAppContainerEnv. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
namestringyesThe name of the environment variable.
valuestringyesThe value of the environment variable.

ComputeContainerAppContainerLivenessProbe (input)#

Input object ComputeContainerAppContainerLivenessProbe. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
failureThresholdnumbernoThe number of failed probes to consider the container unhealthy.
grpcsComputeContainerAppContainerLivenessProbeGrpc (input)[]nogRPC-specific configurations.
httpsComputeContainerAppContainerLivenessProbeHttp (input)[]noHTTP-specific configurations.
initialDelaynumbernoThe amount of time in seconds after the container is started to wait before the first probe is sent.
periodnumbernoThe amount of time in seconds between each probe.
portnumberyesThe port within the container the probe will connect to.
successThresholdnumbernoThe number of successful probes to consider the container healthy.
timeoutnumbernoThe amount of time in seconds the probe will wait for a response before considering it a failure.
typestringyesOptions: grpc, http, tcp

ComputeContainerAppContainerLivenessProbeGrpc (input)#

Input object ComputeContainerAppContainerLivenessProbeGrpc. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
servicestringyesThe gRPC service name.

ComputeContainerAppContainerLivenessProbeHttp (input)#

Input object ComputeContainerAppContainerLivenessProbeHttp. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
expectedStatusnumbernoThe expected HTTP response status code.
pathstringyesThe HTTP path to be requested.

ComputeContainerAppContainerReadinessProbe (input)#

Input object ComputeContainerAppContainerReadinessProbe. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
failureThresholdnumbernoThe number of failed probes to consider the container unhealthy.
grpcsComputeContainerAppContainerReadinessProbeGrpc (input)[]nogRPC-specific configurations.
httpsComputeContainerAppContainerReadinessProbeHttp (input)[]noHTTP-specific configurations.
initialDelaynumbernoThe amount of time in seconds after the container is started to wait before the first probe is sent.
periodnumbernoThe amount of time in seconds between each probe.
portnumberyesThe port within the container the probe will connect to.
successThresholdnumbernoThe number of successful probes to consider the container healthy.
timeoutnumbernoThe amount of time in seconds the probe will wait for a response before considering it a failure.
typestringyesOptions: grpc, http, tcp

ComputeContainerAppContainerReadinessProbeGrpc (input)#

Input object ComputeContainerAppContainerReadinessProbeGrpc. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
servicestringyesThe gRPC service name.

ComputeContainerAppContainerReadinessProbeHttp (input)#

Input object ComputeContainerAppContainerReadinessProbeHttp. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
expectedStatusnumbernoThe expected HTTP response status code.
pathstringyesThe HTTP path to be requested.

ComputeContainerAppContainerStartupProbe (input)#

Input object ComputeContainerAppContainerStartupProbe. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
failureThresholdnumbernoThe number of failed probes to consider the container unhealthy.
grpcsComputeContainerAppContainerStartupProbeGrpc (input)[]nogRPC-specific configurations.
httpsComputeContainerAppContainerStartupProbeHttp (input)[]noHTTP-specific configurations.
initialDelaynumbernoThe amount of time in seconds after the container is started to wait before the first probe is sent.
periodnumbernoThe amount of time in seconds between each probe.
portnumberyesThe port within the container the probe will connect to.
successThresholdnumbernoThe number of successful probes to consider the container healthy.
timeoutnumbernoThe amount of time in seconds the probe will wait for a response before considering it a failure.
typestringyesOptions: grpc, http, tcp

ComputeContainerAppContainerStartupProbeGrpc (input)#

Input object ComputeContainerAppContainerStartupProbeGrpc. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
servicestringyesThe gRPC service name.

ComputeContainerAppContainerStartupProbeHttp (input)#

Input object ComputeContainerAppContainerStartupProbeHttp. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
expectedStatusnumbernoThe expected HTTP response status code.
pathstringyesThe HTTP path to be requested.

ComputeContainerAppContainerVolumemount (input)#

Input object ComputeContainerAppContainerVolumemount. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
namestringyesThe name of the volume.
pathstringyesThe path within the container where the volume will be mounted.

ComputeContainerAppVolume (input)#

Input object ComputeContainerAppVolume. Fields below belong to this object, not to the parent.

PropertyTypeRequiredDescription
namestringyesThe name of the volume.
sizenumberyesThe size of the volume, in Gigabytes (10^9 bytes).

ComputeContainerAppContainer (output)#

Output object ComputeContainerAppContainer. Fields below belong to this object.

PropertyTypeAlways presentDescription
argumentsstringnoThe arguments that will be added to the container entry point when starting the image.
commandstringnoA custom startup command that will execute once the container is launched.
endpointsComputeContainerAppContainerEndpoint (output)[]noDefines a public endpoint for the application.
envsComputeContainerAppContainerEnv (output)[]noDefines an environment variable for the container
idstringyesThe unique identifier for the container.
imageDigeststringyesThe image digest.
imageNamestringyesThe image name within the registry, without the domain prefix (i.e.: my-app).
imageNamespacestringyesThe image namespace within the registry, without the domain prefix (i.e.: my-org).
imagePullPolicystringyesOptions: Always, IfNotPresent
imageRegistrynumberyesThe image registry for the container.
imageTagstringyesThe image tag (i.e.: 2.9-alpine).
livenessProbesComputeContainerAppContainerLivenessProbe (output)[]noChecks that the application is actively running without issues. It the check fails, the container will be automatically restarted
namestringyesThe name of the container.
readinessProbesComputeContainerAppContainerReadinessProbe (output)[]noChecks if the application is fully prepared to handle incoming requests. No requests will be routed to the application until this check is successful.
startupProbesComputeContainerAppContainerStartupProbe (output)[]noChecks if the application has successfully started. No requests will be routed to the application until this check is successful.
volumemountsComputeContainerAppContainerVolumemount (output)[]noMounts a volume within a container
workingDirstringnoThe working directory of the container runtime.

ComputeContainerAppContainerEndpoint (output)#

Output object ComputeContainerAppContainerEndpoint. Fields below belong to this object.

PropertyTypeAlways presentDescription
cdnsComputeContainerAppContainerEndpointCdn (output)[]noConfigurations for CDN endpoint.
idstringyesThe ID of the endpoint.
namestringyesThe name of the endpoint.
portsComputeContainerAppContainerEndpointPort (output)[]noEndpoint port configuration.
typestringyesOptions: Anycast, CDN, InternalIP

ComputeContainerAppContainerEndpointCdn (output)#

Output object ComputeContainerAppContainerEndpointCdn. Fields below belong to this object.

PropertyTypeAlways presentDescription
originSslbooleanyesIndicates whether the container will handle TLS termination.
pullzoneIdnumberyesThe ID of the pullzone associated with the endpoint.
stickySessionsComputeContainerAppContainerEndpointCdnStickySession (output)[]noIndicates whether sticky sessions is enabled.

ComputeContainerAppContainerEndpointCdnStickySession (output)#

Output object ComputeContainerAppContainerEndpointCdnStickySession. Fields below belong to this object.

PropertyTypeAlways presentDescription
headersstring[]yesIncoming request headers used to select a pod for sticky sessions.

ComputeContainerAppContainerEndpointPort (output)#

Output object ComputeContainerAppContainerEndpointPort. Fields below belong to this object.

PropertyTypeAlways presentDescription
containernumberyesThe container port number.
exposednumbernoThe exposed port number.
protocolsstring[]noOptions: SCTP, TCP, UDP

ComputeContainerAppContainerEnv (output)#

Output object ComputeContainerAppContainerEnv. Fields below belong to this object.

PropertyTypeAlways presentDescription
namestringyesThe name of the environment variable.
valuestringyesThe value of the environment variable.

ComputeContainerAppContainerLivenessProbe (output)#

Output object ComputeContainerAppContainerLivenessProbe. Fields below belong to this object.

PropertyTypeAlways presentDescription
failureThresholdnumberyesThe number of failed probes to consider the container unhealthy.
grpcsComputeContainerAppContainerLivenessProbeGrpc (output)[]nogRPC-specific configurations.
httpsComputeContainerAppContainerLivenessProbeHttp (output)[]noHTTP-specific configurations.
initialDelaynumberyesThe amount of time in seconds after the container is started to wait before the first probe is sent.
periodnumberyesThe amount of time in seconds between each probe.
portnumberyesThe port within the container the probe will connect to.
successThresholdnumberyesThe number of successful probes to consider the container healthy.
timeoutnumberyesThe amount of time in seconds the probe will wait for a response before considering it a failure.
typestringyesOptions: grpc, http, tcp

ComputeContainerAppContainerLivenessProbeGrpc (output)#

Output object ComputeContainerAppContainerLivenessProbeGrpc. Fields below belong to this object.

PropertyTypeAlways presentDescription
servicestringyesThe gRPC service name.

ComputeContainerAppContainerLivenessProbeHttp (output)#

Output object ComputeContainerAppContainerLivenessProbeHttp. Fields below belong to this object.

PropertyTypeAlways presentDescription
expectedStatusnumberyesThe expected HTTP response status code.
pathstringyesThe HTTP path to be requested.

ComputeContainerAppContainerReadinessProbe (output)#

Output object ComputeContainerAppContainerReadinessProbe. Fields below belong to this object.

PropertyTypeAlways presentDescription
failureThresholdnumberyesThe number of failed probes to consider the container unhealthy.
grpcsComputeContainerAppContainerReadinessProbeGrpc (output)[]nogRPC-specific configurations.
httpsComputeContainerAppContainerReadinessProbeHttp (output)[]noHTTP-specific configurations.
initialDelaynumberyesThe amount of time in seconds after the container is started to wait before the first probe is sent.
periodnumberyesThe amount of time in seconds between each probe.
portnumberyesThe port within the container the probe will connect to.
successThresholdnumberyesThe number of successful probes to consider the container healthy.
timeoutnumberyesThe amount of time in seconds the probe will wait for a response before considering it a failure.
typestringyesOptions: grpc, http, tcp

ComputeContainerAppContainerReadinessProbeGrpc (output)#

Output object ComputeContainerAppContainerReadinessProbeGrpc. Fields below belong to this object.

PropertyTypeAlways presentDescription
servicestringyesThe gRPC service name.

ComputeContainerAppContainerReadinessProbeHttp (output)#

Output object ComputeContainerAppContainerReadinessProbeHttp. Fields below belong to this object.

PropertyTypeAlways presentDescription
expectedStatusnumberyesThe expected HTTP response status code.
pathstringyesThe HTTP path to be requested.

ComputeContainerAppContainerStartupProbe (output)#

Output object ComputeContainerAppContainerStartupProbe. Fields below belong to this object.

PropertyTypeAlways presentDescription
failureThresholdnumberyesThe number of failed probes to consider the container unhealthy.
grpcsComputeContainerAppContainerStartupProbeGrpc (output)[]nogRPC-specific configurations.
httpsComputeContainerAppContainerStartupProbeHttp (output)[]noHTTP-specific configurations.
initialDelaynumberyesThe amount of time in seconds after the container is started to wait before the first probe is sent.
periodnumberyesThe amount of time in seconds between each probe.
portnumberyesThe port within the container the probe will connect to.
successThresholdnumberyesThe number of successful probes to consider the container healthy.
timeoutnumberyesThe amount of time in seconds the probe will wait for a response before considering it a failure.
typestringyesOptions: grpc, http, tcp

ComputeContainerAppContainerStartupProbeGrpc (output)#

Output object ComputeContainerAppContainerStartupProbeGrpc. Fields below belong to this object.

PropertyTypeAlways presentDescription
servicestringyesThe gRPC service name.

ComputeContainerAppContainerStartupProbeHttp (output)#

Output object ComputeContainerAppContainerStartupProbeHttp. Fields below belong to this object.

PropertyTypeAlways presentDescription
expectedStatusnumberyesThe expected HTTP response status code.
pathstringyesThe HTTP path to be requested.

ComputeContainerAppContainerVolumemount (output)#

Output object ComputeContainerAppContainerVolumemount. Fields below belong to this object.

PropertyTypeAlways presentDescription
namestringyesThe name of the volume.
pathstringyesThe path within the container where the volume will be mounted.

ComputeContainerAppVolume (output)#

Output object ComputeContainerAppVolume. Fields below belong to this object.

PropertyTypeAlways presentDescription
namestringyesThe name of the volume.
sizenumberyesThe size of the volume, in Gigabytes (10^9 bytes).