ResourceLimitsArgs

data class ResourceLimitsArgs(val cpu: Output<Double>? = null, val memoryInGB: Output<Double>? = null) : ConvertibleToJava<ResourceLimitsArgs>

This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted.

Constructors

Link copied to clipboard
constructor(cpu: Output<Double>? = null, memoryInGB: Output<Double>? = null)

Properties

Link copied to clipboard
val cpu: Output<Double>? = null

CPU limits in cores. At present, only full cores are supported.

Link copied to clipboard
val memoryInGB: Output<Double>? = null

The memory limit in GB.

Functions

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