Class AcceleratorConfig (3.3.0)

public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage

Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine.

Inheritance

Object > AcceleratorConfig

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

AcceleratorConfig()

public AcceleratorConfig()

AcceleratorConfig(AcceleratorConfig)

public AcceleratorConfig(AcceleratorConfig other)
Parameter
NameDescription
otherAcceleratorConfig

Properties

AcceleratorCount

public int AcceleratorCount { get; set; }

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

Property Value
TypeDescription
Int32

AcceleratorTypeUri

public string AcceleratorTypeUri { get; set; }

Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes.

Examples:

  • https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
  • projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
  • nvidia-tesla-k80

Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.

Property Value
TypeDescription
String