TemplateArgs

data class TemplateArgs(val containers: Output<List<ContainerArgs>>? = null, val initContainers: Output<List<InitContainerArgs>>? = null, val revisionSuffix: Output<String>? = null, val scale: Output<ScaleArgs>? = null, val serviceBinds: Output<List<ServiceBindArgs>>? = null, val terminationGracePeriodSeconds: Output<Double>? = null, val volumes: Output<List<VolumeArgs>>? = null) : ConvertibleToJava<TemplateArgs>

Container App versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created

Constructors

Link copied to clipboard
constructor(containers: Output<List<ContainerArgs>>? = null, initContainers: Output<List<InitContainerArgs>>? = null, revisionSuffix: Output<String>? = null, scale: Output<ScaleArgs>? = null, serviceBinds: Output<List<ServiceBindArgs>>? = null, terminationGracePeriodSeconds: Output<Double>? = null, volumes: Output<List<VolumeArgs>>? = null)

Properties

Link copied to clipboard
val containers: Output<List<ContainerArgs>>? = null

List of container definitions for the Container App.

Link copied to clipboard
val initContainers: Output<List<InitContainerArgs>>? = null

List of specialized containers that run before app containers.

Link copied to clipboard
val revisionSuffix: Output<String>? = null

User friendly suffix that is appended to the revision name

Link copied to clipboard
val scale: Output<ScaleArgs>? = null

Scaling properties for the Container App.

Link copied to clipboard
val serviceBinds: Output<List<ServiceBindArgs>>? = null

List of container app services bound to the app

Link copied to clipboard

Optional duration in seconds the Container App Instance needs to terminate gracefully. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

Link copied to clipboard
val volumes: Output<List<VolumeArgs>>? = null

List of volume definitions for the Container App.

Functions

Link copied to clipboard
open override fun toJava(): TemplateArgs