AcceleratorConfigArgs

data class AcceleratorConfigArgs(val acceleratorCount: Output<Int>? = null, val acceleratorType: Output<String>? = null) : ConvertibleToJava<AcceleratorConfigArgs>

A specification of the type and number of accelerator cards attached to the instance.

Constructors

Link copied to clipboard
fun AcceleratorConfigArgs(acceleratorCount: Output<Int>? = null, acceleratorType: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val acceleratorCount: Output<Int>? = null

The number of the guest accelerator cards exposed to this instance.

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

Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.