public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class AcceleratorConfig.
A specification of the type and number of accelerator cards attached to the instance.
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference documentation for the `AcceleratorConfig` class within the Google Compute Engine v1 API for .NET, spanning versions from 1.0.0 to the latest 3.6.0."],["The `AcceleratorConfig` class is used to define the type and number of accelerator cards attached to a compute instance, and it implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class offers two constructors: a default `AcceleratorConfig()` and an `AcceleratorConfig(AcceleratorConfig other)` for creating a copy of an existing instance, and has properties to get and set the accelerator count and type."],["The class includes two properties: `AcceleratorCount` which gets or sets the number of the guest accelerator cards exposed, and `AcceleratorType` which gets or sets the url of the accelerator type."],["The class has properties that indicate whether the `AcceleratorCount` and `AcceleratorType` fields have been set via the `HasAcceleratorCount` and `HasAcceleratorType` properties."]]],[]]