ResourceCommitmentArgs

data class ResourceCommitmentArgs(val acceleratorType: Output<String>? = null, val amount: Output<String>? = null, val type: Output<ResourceCommitmentType>? = null) : ConvertibleToJava<ResourceCommitmentArgs>

Commitment for a particular resource (a Commitment is composed of one or more of these).

Constructors

Link copied to clipboard
fun ResourceCommitmentArgs(acceleratorType: Output<String>? = null, amount: Output<String>? = null, type: Output<ResourceCommitmentType>? = null)

Functions

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

Properties

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

Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.

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

The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.

Link copied to clipboard
val type: Output<ResourceCommitmentType>? = null

Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.