TemplateResponse

data class TemplateResponse(val containers: List<ContainerResponse>? = null, val initContainers: List<InitContainerResponse>? = null, val revisionSuffix: String? = null, val scale: ScaleResponse? = null, val serviceBinds: List<ServiceBindResponse>? = null, val terminationGracePeriodSeconds: Double? = null, val volumes: List<VolumeResponse>? = null)

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: List<ContainerResponse>? = null, initContainers: List<InitContainerResponse>? = null, revisionSuffix: String? = null, scale: ScaleResponse? = null, serviceBinds: List<ServiceBindResponse>? = null, terminationGracePeriodSeconds: Double? = null, volumes: List<VolumeResponse>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

List of container definitions for the Container App.

Link copied to clipboard

List of specialized containers that run before app containers.

Link copied to clipboard
val revisionSuffix: String? = null

User friendly suffix that is appended to the revision name

Link copied to clipboard
val scale: ScaleResponse? = null

Scaling properties for the Container App.

Link copied to clipboard

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

List of volume definitions for the Container App.