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.
Implements
IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
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 |
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 | |
---|---|
Type | Description |
String |