Accelerator class

Accelerator describes Compute Engine accelerators to be attached to the VM.

Constructors

Accelerator({Input<String>? count, Input<String>? driverVersion, Input<bool>? installGpuDrivers, Input<String>? type})
Creates a new Accelerator. count The number of accelerators of this type. driverVersion Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified. installGpuDrivers Deprecated: please use instances0.install_gpu_drivers instead. type The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
const
Accelerator.fromMap(Map<String, dynamic> map)
factory

Properties

count → Input<String>?
The number of accelerators of this type.
final
driverVersion → Input<String>?
Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
final
hashCode → int
The hash code for this object.
no setterinherited
installGpuDrivers → Input<bool>?
Deprecated: please use instances0.install_gpu_drivers instead.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String>?
The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited