Batch v1alpha API - Class AllocationPolicy.Types.Accelerator (1.0.0-alpha31)

public sealed class AllocationPolicy.Types.Accelerator : IMessage<AllocationPolicy.Types.Accelerator>, IEquatable<AllocationPolicy.Types.Accelerator>, IDeepCloneable<AllocationPolicy.Types.Accelerator>, IBufferMessage, IMessage

Reference documentation and code samples for the Batch v1alpha API class AllocationPolicy.Types.Accelerator.

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

Inheritance

object > AllocationPolicy.Types.Accelerator

Namespace

Google.Cloud.Batch.V1Alpha

Assembly

Google.Cloud.Batch.V1Alpha.dll

Constructors

Accelerator()

public Accelerator()

Accelerator(Accelerator)

public Accelerator(AllocationPolicy.Types.Accelerator other)
Parameter
Name Description
other AllocationPolicyTypesAccelerator

Properties

Count

public long Count { get; set; }

The number of accelerators of this type.

Property Value
Type Description
long

DriverVersion

public string DriverVersion { get; set; }

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.

Property Value
Type Description
string

InstallGpuDrivers

[Obsolete]
public bool InstallGpuDrivers { get; set; }

Deprecated: please use instances[0].install_gpu_drivers instead.

Property Value
Type Description
bool

Type

public string Type { get; set; }

The accelerator type. For example, "nvidia-tesla-t4". See gcloud compute accelerator-types list.

Property Value
Type Description
string