Google Cloud Dataproc v1 API - Class AcceleratorConfig (5.10.0)

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

Reference documentation and code samples for the Google Cloud Dataproc v1 API class AcceleratorConfig.

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
Name Description
other AcceleratorConfig

Properties

AcceleratorCount

public int AcceleratorCount { get; set; }

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

Property Value
Type Description
int

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/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80
  • projects/[project_id]/zones/[zone]/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
Type Description
string