public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class AcceleratorConfig.
AcceleratorConfig represents a Hardware Accelerator request.
Implements
IMessageAcceleratorConfig, IEquatableAcceleratorConfig, IDeepCloneableAcceleratorConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
AcceleratorConfig()
public AcceleratorConfig()
AcceleratorConfig(AcceleratorConfig)
public AcceleratorConfig(AcceleratorConfig other)
Parameter | |
---|---|
Name | Description |
other | AcceleratorConfig |
Properties
AcceleratorCount
public long AcceleratorCount { get; set; }
The number of the accelerator cards exposed to an instance.
Property Value | |
---|---|
Type | Description |
long |
AcceleratorType
public string AcceleratorType { get; set; }
The accelerator type resource name. List of supported accelerators here
Property Value | |
---|---|
Type | Description |
string |
GpuPartitionSize
public string GpuPartitionSize { get; set; }
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
Property Value | |
---|---|
Type | Description |
string |
GpuSharingConfig
public GPUSharingConfig GpuSharingConfig { get; set; }
The configuration for GPU sharing options.
Property Value | |
---|---|
Type | Description |
GPUSharingConfig |