BuildResourceRequestsArgs

data class BuildResourceRequestsArgs(val cpu: Output<String>? = null, val memory: Output<String>? = null) : ConvertibleToJava<BuildResourceRequestsArgs>

Resource request payload of Build Resource.

Constructors

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

Properties

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

Optional Cpu allocated to the build resource. 1 core can be represented by 1 or 1000m. The default value is 1, this should not exceed build service agent pool cpu size.

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

Optional Memory allocated to the build resource. 1 GB can be represented by 1Gi or 1024Mi. The default value is 2Gi, this should not exceed build service agent pool memory size.

Functions

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